pub fn stream<T: Wire>(bytes: &[u8]) -> (Vec<(Range<usize>, T)>, Option<usize>)Expand description
The values of T written one after another in bytes with no count
before them, as a file appended to value by value holds them, each with
the range of bytes it was read from; and, when the rest does not read as
one, the byte it starts at: a tail a write did not finish, bytes that
are not a T, or a T that reads no bytes and so cannot go on.