keqv library

Simplest key-value pair Codec for converting between Map and String.

Classes

EscapedCharCodec
Escape all control characters to human readable String based on JsonCodec as well as denote String type when parsable.
KEqVCodec
A Codec for handling simpliest file data format: key=value.

Enums

Quoting
Determine quoting symbol when the String can be used for num.parse and bool.parse.

Constants

keqv → const KEqVCodec
A constant KEqVCodec with equivalent default preference from KEqVCodec.new.

Typedefs

Compressor = Codec<List<int>, List<int>>
A Codec responsable for compressing byte data.
KEqVBinarizer = Codec<Map<String, dynamic>, List<int>>
Convert KEqVCodec encoded content from String to bytes using Encoding and vice versa.

Exceptions / Errors

InvalidValueTypeError
A subclass of TypeError that the given Map contains invalid values type when encoding.