From 294a6a9ca37f1200f406bc1d43e56fcf8bc6f503 Mon Sep 17 00:00:00 2001 From: ed Date: Thu, 6 Sep 2018 09:33:05 +0100 Subject: [PATCH] Corrected the documentation for InputStream::skipNextBytes() --- modules/juce_core/streams/juce_InputStream.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/juce_core/streams/juce_InputStream.h b/modules/juce_core/streams/juce_InputStream.h index c36b8d06a8..d2c8b200d4 100644 --- a/modules/juce_core/streams/juce_InputStream.h +++ b/modules/juce_core/streams/juce_InputStream.h @@ -243,9 +243,10 @@ public: /** Reads and discards a number of bytes from the stream. - The base class implementation will try to do this efficiently by moving the - position along by numBytesToSkip, but if this fails it will fall back to reading - the data until the requisite number of bytes have been done. + Some input streams might implement this more efficiently, but the base + class will just keep reading data until the requisite number of bytes + have been done. For large skips it may be quicker to call setPosition() + with the required position. */ virtual void skipNextBytes (int64 numBytesToSkip);