* @throws AvroIOException if the buffer is closed. */
()
| 88 | * @throws AvroIOException if the buffer is closed. |
| 89 | */ |
| 90 | private function checkClosed() |
| 91 | { |
| 92 | if ($this->isClosed()) { |
| 93 | throw new AvroIOException('Buffer is closed'); |
| 94 | } |
| 95 | } |
| 96 | |
| 97 | /** |
| 98 | * @returns boolean true if this buffer is closed and false |