[][src]Function capnp::serialize::read_message_from_words

pub fn read_message_from_words<'a>(
    slice: &'a [Word],
    options: ReaderOptions
) -> Result<Reader<SliceSegments<'a>>>

Reads a serialized message from a flat slice of words. The slice is allowed to extend beyond the end of the message. If you need to access the data beyond the end of the message, use read_message_from_flat_slice() instead.