An open API service indexing awesome lists of open source software.

https://github.com/jonasraoni/get-break-type

Pascal function to detect the type of line break in a file.
https://github.com/jonasraoni/get-break-type

binary-check delphi line-break line-breaking pascal

Last synced: 8 days ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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