Name
xdr_inline_peek —
Allow read-ahead in the XDR data stream
Synopsis
__be32 * xdr_inline_peek ( | struct xdr_stream * xdr, |
| size_t nbytes) ; |
Arguments
xdr
pointer to xdr_stream struct
nbytes
number of bytes of data to decode
Description
Check if the input buffer is long enough to enable us to decode
'nbytes' more bytes of data starting at the current position.
If so return the current pointer without updating the current
pointer position.