docs: public static ByteBuffer create(Path path, int maxSize) throws IOException
      {
          try (FileChannel fc = FileChannel.open(path, READ, WRITE, CREATE))
          {
              return fc.map(FileChannel.MapMode.READ_WRITE, 0, maxSize);
          }
      }