Expand description
Encoding of LogMsges as a binary stream, e.g. to store in an .rrd file, or send over network.
Structs§
- Droppable
Encoder - An
Encoderthat properly closes the stream on drop. - Encoder
- Encode a stream of
LogMsginto an.rrdfile.
Enums§
- Encode
Error - On failure to encode or serialize a
LogMsg.
Functions§
- encode
- Returns the size in bytes of the encoded data.
- encode_
as_ bytes - encode_
as_ bytes_ local - encode_
ref - Returns the size in bytes of the encoded data.
- encode_
ref_ as_ bytes_ local - encode_
to_ bytes - local_
encoder - local_
raw_ encoder