Recurity.Swf.Pix15.Write C# (CSharp) 메소드

Write() 공개 메소드

Writes this object back to a stream.
public Write ( Stream output ) : void
output Stream The stream to write to.
리턴 void
        public override void Write(Stream output)
        {
            BitStream bits = new BitStream(output);

            bits.WriteBits(1, 0); //reserved
            bits.WriteBits(5, this._Red);
            bits.WriteBits(5, this._Green);
            bits.WriteBits(5, this._Blue);
        }