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

Name

Description

b

Destination BIO.

data

Bytes to write.

dlen

Number of bytes to write (must fit in int).

Created with MrDocs