Skip to content

Pascal function to detect the type of line break in a file.

License

Notifications You must be signed in to change notification settings

jonasraoni/get-break-type

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Get Break Type

Pascal function to detect the type of line break in a file. It will return a "TBreakType", which can be:

  • btBinary: Probably a binary file
  • btWindows: CR/LF detected
  • btMacintosh: CR detected
  • btUnix: LF detected
  • btUnknown: Unknown line break given the MaxDataToRead limit

About

Pascal function to detect the type of line break in a file.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages