Module: Tins::FileBinary::Constants
- Defined in:
- lib/tins/file_binary.rb
Overview
Constants used for binary detection logic
Constant Summary collapse
- SEEK_SET =
Seek constant for absolute positioning
::File::SEEK_SET
- ZERO_RE =
Regular expression matching null bytes (zero bytes)
+"\x00"
- BINARY_RE =
Regular expression matching binary bytes (high-order bits set)
+"\x01-\x1f\x7f-\xff"