thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fogbit <>
Subject read/consume question
Date Tue, 08 Oct 2013 08:03:43 GMT

There is "read" method, we generally we it for deserialization from
transport via a protocol. What does it returns? From what i read from the
sources, it returns actual amount of bytes red from a transport. Am i right?

If i am, can i use this number for TTransport::consume method? I have to
make a sort of "manual" reading from a buffer like:

  1) read data
  2) move buffer pointer

I tried this, but it raises the

Thank you!

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message