Re: [protobuf] Does PrococolBuf support the buffer function when try to read the information from the inputstream?

2010-12-29 Thread Evan Jones
On Dec 27, 2010, at 4:43 , 飞 杨 wrote: Does PrococolBuf support the above buffer function? if does, what the code would be like... I think what you are asking is to have a streaming protocol, where one connection or file contains multiple protocol buffers? http://code.google.com/apis/protoc

[protobuf] Does PrococolBuf support the buffer function when try to read the information from the inputstream?

2010-12-28 Thread 飞 杨
Dear sir, As you know, in a typical network application, at the sever side, there should be a buffer accumulating the incoming bytes from the client on behalf of the frame cut. Currently, i know the following code which seems to do the similar action like the frame cut: FileInputStream fis = n