public override void WriteTo(BinaryWriter writer, object value) { Array array = (Array)value; CompressedUIntReaderWriter.WriteTo(writer, (uint)array.Length); foreach (object value2 in array) { this.singleValueHandler.WriteTo(writer, value2); } }
public override void WriteTo(BinaryWriter writer, object value) { CompressedUIntReaderWriter.WriteTo(writer, (uint)((int)value)); }
protected static void WriteBytes(BinaryWriter writer, byte[] bytes) { CompressedUIntReaderWriter.WriteTo(writer, (uint)bytes.Length); writer.Write(bytes); }