Attempts to read a packet frame from a buffer.
Returns frame information if a complete packet is available, or indicates if more data is needed or an error occurred.
The buffer to read from
Starting offset in the buffer
Maximum allowed packet size (default: spec max)
Frame result indicating complete, incomplete, or error
Attempts to read a packet frame from a buffer.
Returns frame information if a complete packet is available, or indicates if more data is needed or an error occurred.