Attempt to read up to dlen bytes from BIO b into data.

Synopsis

Declared in <openssl/bio.h>

int
BIO_read_ex(
    BIO* b,
    void* data,
    size_t dlen,
    size_t* readbytes);

Return Value

1 if any data was successfully read, or 0 otherwise.

Parameters

Name

Description

b

BIO to read from.

data

Destination buffer for the bytes read.

dlen

Maximum number of bytes to read.

readbytes

On success, receives the number of bytes actually read.

Created with MrDocs