Consume up to num bytes from a memory BIO, returning an internal pointer.
Number of bytes made available at *buf, or a negative value on error.
| Name | Description |
|---|---|
| bio | Memory BIO to read from. |
| buf | Receives a pointer into the BIO's internal buffer (valid until the next modify). |
| num | Maximum number of bytes to consume. |