示例#1
0
        private static async Task WriteByte(short id, sbyte value)
        {
            await _thrift.WriteFieldBeginAsync(new TField(null, TType.Byte, id), System.Threading.CancellationToken.None);

            await _thrift.WriteByteAsync(value, System.Threading.CancellationToken.None);
        }
示例#2
0
        private static async Task WriteByte(short id, sbyte value)
        {
            await _thrift.WriteFieldBeginAsync(new TField(null, TType.Byte, id));

            await _thrift.WriteByteAsync(value);
        }