Attempt to read up to dlen bytes from BIO b into data.
Declared in <openssl/bio.h>
int
BIO_read_ex(
BIO* b,
void* data,
size_t dlen,
size_t* readbytes);
1 if any data was successfully read, or 0 otherwise.
| 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. |