public final class DataInputUtil
extends java.lang.Object
Constructor | Description |
---|---|
DataInputUtil() |
Modifier and Type | Method | Description |
---|---|---|
static void |
skipFully(java.io.DataInput in,
int skippedBytes) |
Skips requested number of bytes,
throws EOFException if there is too few bytes in the DataInput.
|
public static void skipFully(java.io.DataInput in, int skippedBytes) throws java.io.IOException
in
- DataInput to be skipped.skippedBytes
- number of bytes to skip. if skippedBytes <= zero, do nothing.java.io.EOFException
- if EOF meets before requested number of bytes are skipped.java.io.IOException
- if IOException occurs. It doesn't contain EOFException.java.lang.NullPointerException
- if the param 'in' equals null.Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.