BIO_read function
BIO_read attempts to read |len| bytes into |data|. It returns the number of bytes read, zero on EOF, or a negative number on error.
Implementation
@meta.RecordUse()
@ffi.Native<ffi.Int Function(ffi.Pointer<BIO>, ffi.Pointer<ffi.Void>, ffi.Int)>(
symbol: 'bssl_dart_BIO_read',
)
external int BIO_read(
ffi.Pointer<BIO> bio,
ffi.Pointer<ffi.Void> data,
int len,
);