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.
- Host: GitHub
- URL: https://github.com/jonasraoni/get-break-type
- Owner: jonasraoni
- License: mit
- Created: 2017-11-03T18:15:36.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-03T18:39:20.000Z (about 8 years ago)
- Last Synced: 2025-01-25T14:43:11.924Z (12 months ago)
- Topics: binary-check, delphi, line-break, line-breaking, pascal
- Language: Pascal
- Size: 1000 Bytes
- Stars: 2
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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