Class ByteStreamsUtils

java.lang.Object
org.gridgain.internal.sql.copy.s3.ByteStreamsUtils

public class ByteStreamsUtils extends Object
Byte streams utilities. skipFully() method is similar to the one from Guava.
  • Constructor Details

    • ByteStreamsUtils

      public ByteStreamsUtils()
  • Method Details

    • skipFully

      public static void skipFully(InputStream in, long n) throws IOException
      Skips bytes from the input stream until exactly n bytes have been skipped or the end of the stream is.
      Throws:
      IOException