Skip to main content

Module v1

Module v1 

Source

Functionsยง

to_encoded_byte_len
Returns the number of bytes the V1 payload for traces would occupy.
to_vec
Serializes traces into a Vec<u8> using the V1 msgpack format.
to_vec_with_capacity
Serializes traces into a Vec<u8> with a pre-allocated capacity.
write_to_slice
Serializes traces into a slice using the V1 msgpack format.