code: public byte[] readBytes() throws IOException {
          Buffer buffer;
  
          try (InputStream src = newInputStream()) {
              buffer = getWorld().getBuffer();
              synchronized (buffer) {
                  return buffer.readBytes(src);
              }
          }
      }
docs: Reads all bytes of the node.
  
  Default implementation that works for all nodes: reads the file in chunks and builds the result in memory.
  Derived classes should override it if they can provide a more efficient implementation, e.g. by determining
  the length first if getting the length is cheap.