/// <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); }
internal void CheckNoSpaceLeft() { WriteBufferHelper.CheckNoSpaceLeft(ref state); }