示例#1
0
 public void WriteFixedPointDecimal(FixedPointDecimal fp)
 {
     WriteInt64(fp.ToRaw());
 }
示例#2
0
文件: Protobuf.cs 项目: rc153/LTF
 public static void Encode(byte[] buffer, ref uint offset, FixedPointDecimal value, byte field_number)
 {
     EncodeFieldAndType(buffer, ref offset, 0, field_number);
     Varint.EncodeInt64(buffer, ref offset, value.ToRaw());
 }