docs: public static HeapBytes allocate(int size) {
      if (size > MAX_SIZE) {
        throw new IllegalArgumentException("size cannot for HeapBytes cannot be greater than " + MAX_SIZE);
      }
      return new HeapBytes(ByteBuffer.allocate((int) size));
    }