decode method

Image decode(
  1. InputBuffer p
)

Implementation

Image decode(InputBuffer p) {
  image = Image(width, height);
  for (var tileY = 0, ti = 0; tileY < tilesY; ++tileY) {
    for (var tileX = 0; tileX < tilesX; ++tileX, ++ti) {
      _decodeTile(p, tileX, tileY);
    }
  }
  return image!;
}