예제 #1
0
        private static async Task WriteInt32(short id, int value)
        {
            await _thrift.WriteFieldBeginAsync(new TField(null, TType.I32, id), System.Threading.CancellationToken.None);

            await _thrift.WriteI32Async(value, System.Threading.CancellationToken.None);
        }
예제 #2
0
        private static async Task WriteInt32(short id, int value)
        {
            await _thrift.WriteFieldBeginAsync(new TField(null, TType.I32, id));

            await _thrift.WriteI32Async(value);
        }