Skip to main content

encode_app_signed_to_sink

Function encode_app_signed_to_sink 

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

Append an application-tagged Signed with its minimum-width contents.

Stages the whole value for one write, with the scalar sink contract.