byteListEquals function

Matcher byteListEquals(
  1. Iterable<int> expected, {
  2. DebugHexEncoder? format,
})

Returns a matcher that matches integers with the bytes. Uses DebugHexEncoder for describing problems.

Implementation

Matcher byteListEquals(Iterable<int> expected, { DebugHexEncoder? format}) {
  return new _ByteListEquals(expected.toList(), format: format);
}