* @param AvroIO $io * @param AvroSchema $schema * @returns AvroDataIOReader */
($io, $schema)
| 184 | * @returns AvroDataIOReader |
| 185 | */ |
| 186 | protected static function openReader($io, $schema) |
| 187 | { |
| 188 | $reader = new AvroIODatumReader(null, $schema); |
| 189 | return new AvroDataIOReader($io, $reader); |
| 190 | } |
| 191 | |
| 192 | /** |
| 193 | * @param string $codec |