unsafe fn read_lengthed_datum<'a>(
    data: &'a [u8],
    offset: &mut usize,
    tag: Tag
) -> Datum<'a>
Expand description

Read a data whose length is encoded in the row before its contents.

Updates offset to point to the first byte after the end of the read region.


This function is safe if the datum’s length and contents were previously written by push_lengthed_bytes, and it was only written with a String tag if it was indeed UTF-8.