public void SkipRawBytesBug() { byte[] rawBytes = new byte[] { 1, 2 }; CodedInputStream input = CodedInputStream.CreateInstance(rawBytes); int limit = input.PushLimit(1); input.SkipRawBytes(1); input.PopLimit(limit); Assert.AreEqual(2, input.ReadRawByte()); }