public byte[] ToBytes() { var buffer = new List <byte>(Data.Length + 6); buffer.AddRange(BitConverter.GetBytes(CharacterId)); buffer.AddRange(BitConverter.GetBytes(Reserved)); buffer.AddRange(Data); return(ShockwaveFlash.ConstructTagData(Header.Tag, buffer.ToArray())); }
public byte[] ToBytes() { return(ShockwaveFlash.ConstructTagData(Header.Tag, Data, _forceLong)); }