decode

Feed the next chunk of bytes off the wire. Returns the frames this chunk completed, in order (possibly empty). Throws FrameTooLargeException before allocating the payload if a decoded length prefix is negative or exceeds maxFrameSize.