nn::ssl::Connection::Peek Member Function

Syntax

nn::Result Peek(
     u8 * pDataBuf,
     size_t dataBufSize,
     size_t * pReadSizeCourier = NULL
);

Arguments

Name Description
out pDataBuf Buffer storing the data.
in dataBufSize Size of pDataBuf.
out pReadSizeCourier Buffer storing the size of data already read. (May be omitted if the size of data already read is not needed.)

Return Values

Returns the processing result.

Description

Reads ahead in data received via SSL without changing the data's state.

Revision History

2010/06/14
Initial version.

CONFIDENTIAL