WriteChunk() 개인적인 메소드

private WriteChunk ( Stream os ) : void
os Stream
리턴 void
예제 #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);
        }
예제 #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 );
 }