コード例 #1
0
 public checksumReader(io.ReadCloser rc = default, hash.Hash32 hash = default, ulong nread = default, ref ptr <File> f = default, io.Reader desr = default, error err = default)
 {
     this.rc    = rc;
     this.hash  = hash;
     this.nread = nread;
     this.f     = f;
     this.desr  = desr;
     this.err   = err;
 }
コード例 #2
0
 public decoder(io.Reader r = default, image.Image img = default, hash.Hash32 crc = default, long width = default, long height = default, long depth = default, color.Palette palette = default, long cb = default, long stage = default, uint idatLength = default, array <byte> tmp = default, long interlace = default, bool useTransparent = default, array <byte> transparent = default)
 {
     this.r              = r;
     this.img            = img;
     this.crc            = crc;
     this.width          = width;
     this.height         = height;
     this.depth          = depth;
     this.palette        = palette;
     this.cb             = cb;
     this.stage          = stage;
     this.idatLength     = idatLength;
     this.tmp            = tmp;
     this.interlace      = interlace;
     this.useTransparent = useTransparent;
     this.transparent    = transparent;
 }
コード例 #3
0
 public fileWriter(ref header header = default, io.Writer zipw = default, ref ptr <countWriter> rawCount = default, io.WriteCloser comp = default, ref ptr <countWriter> compCount = default, hash.Hash32 crc32 = default, bool closed = default)
 {
     this.m_headerRef = new ptr <header>(ref header);
     this.zipw        = zipw;
     this.rawCount    = rawCount;
     this.comp        = comp;
     this.compCount   = compCount;
     this.crc32       = crc32;
     this.closed      = closed;
 }
コード例 #4
0
 public Writer(io.Writer w = default, long level = default, slice <byte> dict = default, ref ptr <flate.Writer> compressor = default, hash.Hash32 digest = default, error err = default, array <byte> scratch = default, bool wroteHeader = default)
 {
     this.w           = w;
     this.level       = level;
     this.dict        = dict;
     this.compressor  = compressor;
     this.digest      = digest;
     this.err         = err;
     this.scratch     = scratch;
     this.wroteHeader = wroteHeader;
 }
コード例 #5
0
 public reader(flate.Reader r = default, io.ReadCloser decompressor = default, hash.Hash32 digest = default, error err = default, array <byte> scratch = default)
 {
     this.r            = r;
     this.decompressor = decompressor;
     this.digest       = digest;
     this.err          = err;
     this.scratch      = scratch;
 }