Releases: JaredClemence/binn
1.1.4-alpha
Corrected problem that occurs when reading large objects written in Binn format, which converts a count of "\x00" to a count of "\x80" plus the next 3 data bytes.
1.1.3-alpha: - Made decisions to assist in storing and reading empty strings.
Dropped the handling of 4-byte size values when first bit is '0' instead of '1'.
This change corrected the handling of empty strings.
1.1.2-alpha
Big changes have been made to the way in which the data is read and written in BinnFormat.
- All linear behaviors have been encapsulated in new objects.
- Exceptions have been added to alert the user when keys are too large or two small.
- Tests have been added to handle larger key and data sizes.
1.1.1-alpha: - Removed references to var_dump and die();
Corrected error in the interpretation of size values of 0x30 which are equivalent to the ascii character "0".
1.1
Includes updates that prevent error when stdClass object as an array.
Initial release
Binn provides a convenient specification that writes and reads native PHP elements like strings, integers, floats, stdClass objects and arrays into Binn formatted byte arrays. This implementation sorts container keys so the binary output is the same every time.
NOTE: This version DOES NOT allow a user to create a structured binary output where the user can define which keys and elements appear in specific order.