selfEncoderEqualsBytes function

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

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

Implementation

Matcher selfEncoderEqualsBytes(Iterable<int> expected,
    {DebugHexEncoder format}) {
  return new _SelfEncoderEquals(new RawData(expected.toList()), format: format);
}