class Encoder
package llama
MsgPack format encoder.
Constructor
new(output:Output)
Parameters:
output | Instance to write the encoded MsgPack data.
Property |
---|
Variables
compactFloat:Bool = true
Whether to check if Float can fit within 32-bits.
Set to false to reduce a few CPU cycles at the cost of slightly larger output size.
Methods
dynamiccustomEncoder(encoder:Encoder, object:Any):Void
A callback which will be called when an object cannot be encoded by the encoder itself.