public Write ( Stream output ) : void | ||
output | Stream | The stream to write to. |
return | 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);
}