| 94 | } |
| 95 | } |
| 96 | void close () { |
| 97 | if ( !reading && bytesAt ) { |
| 98 | DEBUG_BIN_DATA("close at %i bytes\n\n", bytesWritten); |
| 99 | bytesAt = context->reallocate(bytesAt, bytesAllocated, bytesWritten, debugInfo); |
| 100 | } |
| 101 | } |
| 102 | // data structures |
| 103 | virtual void beforeStructure ( char *, StructInfo * si ) override { |
| 104 | verify_hash(si->hash); |
no test coverage detected