takeGuarded method

Uint8List takeGuarded(
  1. int declared, {
  2. int cap = uMaxTagAllocation,
})

Implementation

Uint8List takeGuarded(int declared, {int cap = uMaxTagAllocation}) => take(guardedLength(declared, cap: cap));