public final class DataInputUtil
extends java.lang.Object
| Constructor and Description |
|---|
DataInputUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
skipFully(java.io.DataInput in,
int skippedBytes)
Skips requested number of bytes,
throws java.io.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.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.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.