thrift read protocol; fix repetition level size in little endian
thrift input/output format support