pub fn encode(
version: CrateVersion,
options: EncodingOptions,
messages: impl Iterator<Item = Result<LogMsg, ChunkError>>,
write: &mut impl Write
) -> Result<u64, EncodeError>
Expand description
Returns the size in bytes of the encoded data.