public interface DataInputPlus
extends java.io.DataInput
| Modifier and Type | Interface and Description | 
|---|---|
| static class  | DataInputPlus.DataInputStreamPlusWrapper around an InputStream that provides no buffering but can decode varints | 
| Modifier and Type | Method and Description | 
|---|---|
| default long | readUnsignedVInt()Think hard before opting for an unsigned encoding. | 
| default long | readVInt() | 
| int | skipBytes(int n)Always skips the requested number of bytes, unless EOF is reached | 
| default void | skipBytesFully(int n) | 
default long readVInt()
               throws java.io.IOException
java.io.IOExceptiondefault long readUnsignedVInt()
                       throws java.io.IOException
java.io.IOExceptionint skipBytes(int n)
       throws java.io.IOException
skipBytes in interface java.io.DataInputn - number of bytes to skipjava.io.IOExceptiondefault void skipBytesFully(int n)
                     throws java.io.IOException
java.io.IOExceptionCopyright © 2018 The Apache Software Foundation