tlv_decoder 0.0.5
tlv_decoder: ^0.0.5 copied to clipboard
TLV (Type-Length-Value) encoder and decoder for Dart and Flutter with BER/DER length support.
0.0.5 #
- Fix length encoding for values of 128 octets or more (GitHub issue #1): lengths 128–255 now use the
0x81 LLlong form and larger lengths use0x82/0x83/0x84per BER/DER, instead of producing invalid bytes. - Fix
decodeto report the value length inTLV.length(previously the length-field byte count). - Add length-field validation with clear
FormatExceptionmessages for truncated and indefinite-length input. - Add
TLV.toString,==andhashCode. - Add API documentation and a full test suite.
- Support Dart 3 and update
flutter_lints.
0.0.4 #
- Fix get bytes length.
0.0.3 #
- Change README.md.
0.0.2 #
- Add example.
- Fix import TLV model.
0.0.1 #
- Initial release.