Skip to main content

encode_app_date_to_sink

Function encode_app_date_to_sink 

Source
pub fn encode_app_date_to_sink<S: EncodeSink + ?Sized>(
    sink: &mut S,
    date: &Date,
) -> Result<usize, SinkFull>
Expand description

Append an application-tagged Date preserving its four fields without validation.

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