Skip to main content

encode_signed_to_sink

Function encode_signed_to_sink 

Source
pub fn encode_signed_to_sink<S: EncodeSink + ?Sized>(
    sink: &mut S,
    value: i32,
) -> Result<usize, SinkFull>
Expand description

Append a signed integer in the minimum two’s-complement width without a tag.

Uses one atomic write, with the scalar sink contract.