MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / close

Method close

src/simulate/bin_serializer.cpp:96–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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);

Callers 1

_builtin_binary_saveFunction · 0.45

Calls 1

reallocateMethod · 0.45

Tested by

no test coverage detected