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