BIO_write

Write dlen bytes from data to a BIO.

Synopsis

Declared in <openssl/bio.h>

int
BIO_write(
    BIO* b,
    void const* data,
    int dlen);

Return Value

Number of bytes written, or a negative value on error (see BIO_should_retry).

Parameters

NameDescription
bDestination BIO.
dataBytes to write.
dlenNumber of bytes to write (must fit in int).