Esempio n. 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);
        }
Esempio n. 2
0
        private static async Task WriteByte(short id, sbyte value)
        {
            await _thrift.WriteFieldBeginAsync(new TField(null, TType.Byte, id));

            await _thrift.WriteByteAsync(value);
        }