decode(%param)
Resolve the given writer and reader_schema to decode the data provided by the reader.
writer_schema
The schema that was used to encode the data provided by the
reader
reader_schema
The schema we want to use to decode the data.
reader
An object implementing a straightforward interface.
read($buf, $nbytes)
andseek($nbytes, $whence)
are expected. Typically a IO::String object or a IO::File object. It is expected that this calls will block the decoder, if not enough data is available for read.