Name

xdr_inline_decode — Retrieve non-page XDR data to decode

Synopsis

uint32_t * xdr_inline_decode (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, then update the current pointer position.