示例#1
0
 public override void Read(Library.Collections.BitStream stream, out Int64 value, MySerializeInfo info)
 {
     if (info.IsVariant)
     {
         value = (Int64)stream.ReadUInt64Variant();
     }
     else if (info.IsVariantSigned)
     {
         value = stream.ReadInt64Variant();
     }
     else
     {
         value = stream.ReadInt64();
     }
 }