pro_binary 2.2.0
pro_binary: ^2.2.0 copied to clipboard
Efficient binary serialization library for Dart. Encodes and decodes various data types.
2.2.0 #
test: Added integration tests for new error handling features deps: Update internal dependencies to latest versions
2.1.0 #
- feat: Added detailed error messages with context (offset, available bytes)
- feat: Added
toBytes()method inBinaryWriter(returns buffer without reset) - feat: Added
reset()method inBinaryWriter(resets without returning data) - feat: Added
allowMalformedparameter toreadStringinBinaryReader - improvement: Increased performance of read/write operations
- improvement: Optimized internal buffer management in
BinaryWriter - improvement: Added validation for all boundary conditions
- test: Added new tests for boundary checks and new methods
- docs: Updated documentation with better examples and error handling
2.0.0 #
- Update dependencies
- sdk: ^3.6.0
1.1.1 #
- fix: warnings
1.1.0 #
-
fix: Increased test coverage, providing more comprehensive validation for edge cases.
-
performance: Optimized buffer management to reduce memory reallocations and improve efficiency.
-
docs: Updated documentation to cover new properties and methods, including additional examples.
-
Writer:
- feat: Added
bytesWrittenproperty to track the total number of bytes written to the buffer. - feat: Introduced
initialBufferSizeparameter in the constructor, allowing configuration of the initial buffer size for optimized memory usage. - improvement: Enhanced memory management, with the buffer now resizing by doubling in size when capacity is reached to reduce frequent resizing.
- feat: Added
-
Reader:
- feat: Added
bytesReadproperty to monitor the total number of bytes read from the buffer. - feat: Introduced
resetmethod, allowing users to reset the reading position to the start of the buffer for convenient re-reading.
- feat: Added
1.0.2 #
- docs: Updated documentation.
1.0.1 #
- docs: Updated documentation.
- feat: Added
exampledirectory with basic usage examples.
1.0.0 #
- Initial release.