Module: PropertyList::BinaryMarkers
- Included in:
- BinaryGenerator, BinaryParser
- Defined in:
- lib/property-list/binary_markers.rb
Constant Summary collapse
- MARKER_NULL =
These marker bytes are prefixed to objects in a binary property list to indicate the type of the object.
0b0000_0000
- MARKER_FALSE =
v1?+ only
0b0000_1000
- MARKER_TRUE =
0b0000_1001
- MARKER_NO_BASE_URL =
followed by string, v1?+ only
0b0000_1100
- MARKER_WITH_BASE_URL =
followed by string, v1?+ only
0b0000_1101
- MARKER_UUID =
16 byte uuid, v1?+ only
0b0000_1110
- MARKER_FILL =
fill byte
0b0000_1111
- MARKER_INT =
0nnn
0b0001_0000
- MARKER_REAL =
0nnn
0b0010_0000
- MARKER_DATE =
follows 8 byte big endian float
0b0011_0011
- MARKER_DATA =
- int
0b0100_0000
- MARKER_ASCII_STRING =
- int
0b0101_0000
- MARKER_UTF16BE_STRING =
- int
0b0110_0000
- MARKER_UTF8_STRING =
[int], v1?+ only
0b0111_0000
- MARKER_UID =
nnnn, followed by nnnn+1 bytes
0b1000_0000
- MARKER_ARRAY =
0b1001_xxxx # unused
0b1010_0000
- MARKER_ORD_SET =
v1?+ only
0b1011_0000
- MARKER_SET =
v1?+ only
0b1100_0000
- MARKER_DICT =
0b1101_0000
- TIME_INTERVAL_SINCE_1970 =
POSIX uses a reference time of 1970-01-01T00:00:00Z; Cocoa’s reference time is in 2001. This interval is for converting between the two.
978307200.0