Пример #1
0
 @Override
 public void close() throws IOException {
   core.close();
 }
Пример #2
0
 /**
  * Makes sure that TON file is ended properly, and closes the stream.
  *
  * @throws IOException if an IO error occurred
  * @throws TonFormatException if invalid TON data appeared while parsing
  * @throws RuntimeException if called before a complete TON value was read
  */
 public void endFile() throws IOException {
   core.endFile();
 }