You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 17, 2026. It is now read-only.
MinitTLV let you convert your UTF-8 String into a Type-Length-Value byte array and reciprocally.
The result is as short as possible without compression.
The type and length have a dynamically resolved size (1, 2 or 4 bytes) using the 0x00 reserved byte for extension.
The value field is of variable size (up to 232-1).
Additionally you can compress and/or encrypt serialized data.
Method
Description
getWriter
Create a new instance of Serializer (using your own Converter or not).
getReader
Create a new instance of Parser (using your own Converter or not).
getCipher
Create a new instance of Crypto.
getCompacter
Create a new instance of Compressor.
Serializer
Method
Description
write
Write a Type-Length-Value for the given type and value..
serialize
..and store them as 1, 2 or 4-bytes.
Parser
Method
Description
read
Read the Type-Length-Value bytes..
parse
..and extract value (for the given 1, 2 or 4-bytes type).