Java org.apache.hadoop.io DataInputBuffer fields, constructors, methods, implement or subclass

Example usage for Java org.apache.hadoop.io DataInputBuffer fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.hadoop.io DataInputBuffer.

The text is from its open source code.

Constructor

DataInputBuffer()
Constructs a new empty buffer.

Method

byte[]getData()
intgetLength()
Returns the index one greater than the last valid character in the input stream buffer.
intgetPosition()
Returns the current position in the input.
voidreset(byte[] input, int length)
Resets the data that the buffer reads.
voidreset(byte[] input, int start, int length)
Resets the data that the buffer reads.