public override void Write( Stream output )
{
this.WriteTagHeader(output);
byte[] id = BitConverter.GetBytes( this._buttonID );
output.Write( id, 0, 2 );
for ( int i = 0; i < this._characters.Count; i++ )
{
this._characters[ i ].Write( output, this.Version );
}
output.WriteByte( 0 ); // character end flag
for ( int i = 0; i < this._code.Count; i++ )
{
this._code[ i ].Write( output );
}
output.WriteByte( 0 ); // action end flag
}