fn read_length(bytes: &[u8]) -> Result<(usize, usize), ServiceError>
Reads an A-XDR length octet, returning the length and the octets consumed.