sodium_pad method

int sodium_pad(
  1. Pointer<Size> padded_buflen_p,
  2. Pointer<UnsignedChar> buf,
  3. int unpadded_buflen,
  4. int blocksize,
  5. int max_buflen,
)

Implementation

int sodium_pad(
  ffi.Pointer<ffi.Size> padded_buflen_p,
  ffi.Pointer<ffi.UnsignedChar> buf,
  int unpadded_buflen,
  int blocksize,
  int max_buflen,
) {
  return _sodium_pad(
    padded_buflen_p,
    buf,
    unpadded_buflen,
    blocksize,
    max_buflen,
  );
}