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