fill method

  1. @override
BuBytes fill({
  1. required int length,
})
override

Fills length random bytes and returns them; throws CryptoException on native failure.

Implementation

@override
BuBytes fill({required int length}) {
  return api.fill(length: length).unwrapOrThrowCryptoError();
}