ByteArray constructor

ByteArray(
  1. Iterable<int> data
)

Implementation

ByteArray(Iterable<int> data)
    : assert(data.every((e) => e < 256), 'All elements should be less than 256'),
      _data = data.toList();