/** * @param AvroIO $io object from which to read. */ public function __construct($io) { Avro::check_platform(); $this->io = $io; }