pub fn packet_channels(packet: &[u8]) -> Result<Channels>
Get channel count encoded by the packet.
Returns InvalidPacket if the packet is malformed.
InvalidPacket