Class ByteEntity

    • Constructor Detail

      • ByteEntity

        public ByteEntity​(ByteBuffer buffer)
        Create a new entity. The buffer is not duplicated, so it is important to ensure that its position and limit are not modified after this entity is created.
      • ByteEntity

        public ByteEntity​(byte[] bytes)