pub fn read_string(buf: &mut Buffer, out: &mut [u8]) -> Result<usize>
Read an AMF0 string into a byte buffer.