Optional
The frame, or null if there was not enough data in the input
The number of bytes consumed from the input
The frame, or null if there was not enough data in the input