BIO_hexdump function

  1. @RecordUse.new()
  2. @Native<Int Function(Pointer<BIO>, Pointer<Uint8>, Size, UnsignedInt)>(ffi.Pointer<BIO>, ffi.Pointer<ffi.Uint8>, ffi.Size, ffi.UnsignedInt)>(symbol: 'bssl_dart_BIO_hexdump')
int BIO_hexdump(
  1. Pointer<BIO> bio,
  2. Pointer<Uint8> data,
  3. int len,
  4. int indent,
)

BIO_hexdump writes a hex dump of |data| to |bio|. Each line will be indented by |indent| spaces. It returns one on success and zero otherwise.

Implementation

@meta.RecordUse()
@ffi.Native<
  ffi.Int Function(
    ffi.Pointer<BIO>,
    ffi.Pointer<ffi.Uint8>,
    ffi.Size,
    ffi.UnsignedInt,
  )
>(symbol: 'bssl_dart_BIO_hexdump')
external int BIO_hexdump(
  ffi.Pointer<BIO> bio,
  ffi.Pointer<ffi.Uint8> data,
  int len,
  int indent,
);