Skip to main content

many_dates_bytes

Function many_dates_bytes 

Source
pub fn many_dates_bytes<'a>(
    values: impl Iterator<Item = &'a [u8]>,
    format: Format,
) -> Result<Vec<DateTime>, ParseError>
Expand description

Read all the dates from raw header values according to the format

Like many_dates, but accepts raw bytes. A value that is not valid UTF-8 produces a ParseError: every Smithy protocol encodes timestamps as ASCII, so such a value is always malformed.