Read up to dlen bytes from BIO b into data.
Number of bytes read, 0 on EOF/no data, or a negative value on error (see BIO_should_retry).
| Name | Description |
|---|---|
| b | Source BIO. |
| data | Destination buffer. |
| dlen | Maximum number of bytes to read (must be non-negative and fit in int). |