pub fn restore_bytes(buf: &[u8]) -> Result<(usize, Vec<u8>, &[u8])>
Attempt to restore a variable size bytes from a buffer.
Will read the length, the bytes amount (word-aligned), and return the remainder buffer.