anchor.diff:      }
     }
   
  -  void _parseSof(List<int> data) {
  +  void _parseSof() {
       subscription.cancel();
  -
  +    final data = _sofBuffer;
       final bits = data[0];
       final height = data[1] << 8 | data[2];
       final width = data[3] << 8 | data[4];
   
  -    int format;
  +    var format = -1;
       if (data[5] == 3) {
         format = gl.RGB;
       } else if (data[5] == 1) {
  
positive.code: 
    bool _hasTrns = false;
  
    final List<int> _headerChunkData = new List<int>(13); // IHDR length
  
    @override
    void add(List<int> data) {
  
negative.code: 
          case LENGTH_END:
            _segmentLength += byte;
            if (_segmentLength < 2) {
              throw const InvalidDataFormatException(
                  'Invalid JPEG marker segment length.');
            }
            if (isSOF(_type)) {
              _sofBuffer = new Uint8List(_segmentLength - 2);
            }
            _state = SEGMENT;
            break;
  