Function lewton::header::read_header_comment
source · pub fn read_header_comment(
packet: &[u8]
) -> Result<CommentHeader, HeaderReadError>
Expand description
Reading the Comment header
You should call this function with the second packet in the stream.
The function does not check whether the comment field names consist
of characters 0x20
through 0x7D
(0x3D
excluded), as the vorbis
spec requires.