EVP_EncodeBlock function

  1. @RecordUse.new()
  2. @Native<Size Function(Pointer<Uint8>, Pointer<Uint8>, Size)>(ffi.Pointer<ffi.Uint8>, ffi.Pointer<ffi.Uint8>, ffi.Size)>(symbol: 'bssl_dart_EVP_EncodeBlock')
int EVP_EncodeBlock(
  1. Pointer<Uint8> dst,
  2. Pointer<Uint8> src,
  3. int src_len
)

EVP_EncodeBlock encodes src_len bytes from src and writes the result to dst with a trailing NUL. It returns the number of bytes written, not including this trailing NUL.

Implementation

@meta.RecordUse()
@ffi.Native<
  ffi.Size Function(ffi.Pointer<ffi.Uint8>, ffi.Pointer<ffi.Uint8>, ffi.Size)
>(symbol: 'bssl_dart_EVP_EncodeBlock')
external int EVP_EncodeBlock(
  ffi.Pointer<ffi.Uint8> dst,
  ffi.Pointer<ffi.Uint8> src,
  int src_len,
);