Re: Context around TType in Java

2022-10-13 Thread Yuxuan Wang
My guess would be that ENUM is just a wrong TType that's not really used in the code. Over the wire we just write/read enums as i32s. And you might have already noticed that it's not in the spec. On Thu, Oct 13, 2022 at 1:19 AM Jiayu Liu wrote: > Hi thrift-dev, > > I would like to know more abo

Context around TType in Java

2022-10-13 Thread Jiayu Liu
Hi thrift-dev, I would like to know more about the context of TType in Java, specifically when ENUM was introduced in [1] in 2009, it is placed with value 16 (binary protocol) but in swift [2] it is utf8, in delphi [3] uuid, in C# [4] uuid, and per spec [5] uuid. Using 16 for uuid will possibly b