public class StreamUtil extends Object
Modifier and Type | Method and Description |
---|---|
static void |
skipBytes(InputStream stream,
Integer n)
Skips over and discards N bytes of data from the input stream.
|
public static void skipBytes(InputStream stream, Integer n) throws IOException
stream
- the stream to skipn
- bytes to skipIOException
java.io.FileInputStream#skip(long)}
Copyright © 2023 The Apache Software Foundation. All rights reserved.