コード例 #1
0
ファイル: CompactBinaryWriter.cs プロジェクト: rc153/LTF
 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());
 }