[#BIO_nread] = BIO_nread :mrdocs: Consume up to `num` bytes from a memory BIO, returning an internal pointer. == Synopsis Declared in `<openssl/bio.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int BIO_nread( xref:BIO.adoc[BIO]* bio, char** buf, int num); ---- == Return Value Number of bytes made available at *`buf,` or a negative value on error. == Parameters [cols="1,4"] |=== | 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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#