Skip to main content

to_encoded_byte_len

Function to_encoded_byte_len 

Source
pub fn to_encoded_byte_len<T: TraceData, S: AsRef<[Span<T>]>>(
    traces: &[S],
    metadata: &TracerMetadata,
) -> u32
Expand description

Returns the number of bytes the V1 payload for traces would occupy.