Home
last modified time | relevance | path

Searched refs:amountToSkip (Results 1 – 1 of 1) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/
DCodedInputStream.cs1247 private void SkipImpl(int amountToSkip) in SkipImpl() argument
1252 input.Position += amountToSkip; in SkipImpl()
1253 if (input.Position != previousPosition + amountToSkip) in SkipImpl()
1260 byte[] skipBuffer = new byte[Math.Min(1024, amountToSkip)]; in SkipImpl()
1261 while (amountToSkip > 0) in SkipImpl()
1263 … int bytesRead = input.Read(skipBuffer, 0, Math.Min(skipBuffer.Length, amountToSkip)); in SkipImpl()
1268 amountToSkip -= bytesRead; in SkipImpl()