code: public Packet decode(ByteBuffer bytes) {
          return processPacket(Memories.wrap(bytes, memoryProperties.getCheckBounds()));
      }
docs: Decode buffer.
  @param bytes direct byte buffer.
  @return returns {@link Packet}.