readFrame
Reads bits from ByteReadChannel and converts into a WebSocket Frame.
Parameters
maxFrameSize
maximum frame size that could be read
lastOpcode
last read opcode
Reads bits from ByteReadChannel and converts into a WebSocket Frame.
maximum frame size that could be read
last read opcode