cryptoGenerichashUpdate static method

void cryptoGenerichashUpdate(
  1. Pointer<Uint8> state,
  2. Uint8List i
)

Implementation

static void cryptoGenerichashUpdate(Pointer<Uint8> state, Uint8List i) {
  final _in = i.toPointer();

  try {
    _cryptoGenerichash
        .crypto_generichash_update(state, _in, i.length)
        .mustSucceed('crypto_generichash_update');
  } finally {
    calloc.free(_in);
  }
}