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

    A file handle, or an object implementing a similar interface, like IO::File. Specifically, it must support read($buf, $nbytes) and seek($nbytes, $whence). These calls will block the decoder if not enough data is available for read.