Function protobuf::rt::value_size [−][src]
pub fn value_size<T: ProtobufVarint>(
field_number: u32,
value: T,
wt: WireType
) -> u32
Integer value size when encoded as specified wire type.
pub fn value_size<T: ProtobufVarint>(
field_number: u32,
value: T,
wt: WireType
) -> u32
Integer value size when encoded as specified wire type.