bytes function

Uint8List bytes(
  1. int length
)

Creates an arbitrarily large buffer filled with randomness.

Implementation

Uint8List bytes(int length) => ffi.randomBytes(length: BigInt.from(length));