public override void Write(Library.Collections.BitStream stream, ref Int64 value, MySerializeInfo info) { if (info.IsVariant) { stream.WriteVariant((UInt64)value); } else if (info.IsVariantSigned) { stream.WriteVariantSigned(value); } else { stream.WriteInt64(value); } }