예제 #1
0
 public virtual void ReceiveData(IBuffered channel)
 {
     while (channel.BytesWaiting > 0)
     {
         ProcessReceivedCharacter((char)channel.ReadByte());
     }
 }
예제 #2
0
 public ProtobufSplitter(Stream inputstream)
 {
     _CodedInputStream = new Google.Protobuf.CodedInputStream(inputstream, true);
     _BufferedStream   = inputstream as IBuffered;
 }