WriteChunk() private method

private WriteChunk ( Stream os ) : void
os Stream
return void
Exemplo n.º 1
0
        internal void write(Stream os)
        {
            ChunkRaw c = CreateRawChunk();

            if (c == null)
            {
                throw new PngjException("null chunk ! creation failed for " + this);
            }
            c.WriteChunk(os);
        }
Exemplo n.º 2
0
 protected override void FlushBuffer( byte [] b, int len )
 {
     ChunkRaw c = new ChunkRaw ( len, Hjg.Pngcs.Chunks.ChunkHelper.b_IDAT, false );
     c.Data = b;
     c.WriteChunk ( outputStream );
 }