Exemplo n.º 1
0
 /// <summary>
 /// Verifies that SpaceLeft returns zero. It's common to create a byte array
 /// that is exactly big enough to hold a message, then write to it with
 /// a CodedOutputStream. Calling CheckNoSpaceLeft after writing verifies that
 /// the message was actually as big as expected, which can help finding bugs.
 /// </summary>
 public void CheckNoSpaceLeft()
 {
     WriteBufferHelper.CheckNoSpaceLeft(ref state);
 }
Exemplo n.º 2
0
 internal void CheckNoSpaceLeft()
 {
     WriteBufferHelper.CheckNoSpaceLeft(ref state);
 }