Skip to main content

encode_date

Function encode_date 

Source
pub const fn encode_date(date: &Date) -> DateBuffer
Available on crate feature time_0_3 only.
Expand description

Encodes a Date value into LEB128 variable length format, and writes it to the buffer.