flutter_flutter/sky/engine/core/loader/ImageDecoder.dart
2015-10-01 13:16:30 -07:00

18 lines
480 B
Dart

// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
part of dart.sky;
class ImageDecoder extends _ImageDecoder {
ImageDecoder.consume(int h, ImageDecoderCallback callback)
: super(callback) {
this._initWithConsumer(h);
}
ImageDecoder.fromList(Uint8List list, ImageDecoderCallback callback)
: super(callback) {
this._initWithList(list);
}
}