pub fn decode(data: &[u8]) -> Result<Vec<u8>, CodecError>
Decode raw bytes (validates length header).