Package org.signal.libsignal.media
Interface TrustedSkipInputStream
-
- All Implemented Interfaces:
@CalledFromNative() public interface TrustedSkipInputStream
Implemented by InputStreams that guarantee that their
skipmethods always skip the full amount unless EOF is reached (or an exception is thrown).
-
-
Method Summary
Modifier and Type Method Description abstract longskip(long amount)static InputStreammakeTrusted(InputStream inputStream)Wraps inputStreamsuch that it has a trustedskipmethod, unless it already implements TrustedSkipInputStream.-
-
Method Detail
-
skip
abstract long skip(long amount)
-
makeTrusted
static InputStream makeTrusted(InputStream inputStream)
Wraps
inputStreamsuch that it has a trustedskipmethod, unless it already implements TrustedSkipInputStream.
-
-
-
-