public override int GetBodySize() { int size = 0; size += sizeof(int); size += IsVariableLength ? ShockwaveWriter.GetVarIntSize(Length) : sizeof(int); return(size); }
public override int GetBodySize() { int size = 0; size += ShockwaveWriter.GetVarIntSize(Id); size += ShockwaveWriter.GetVarIntSize(Offset); size += ShockwaveWriter.GetVarIntSize(Length); size += ShockwaveWriter.GetVarIntSize(DecompressedLength); size += ShockwaveWriter.GetVarIntSize(CompressionType); size += sizeof(int); return(size); }