Package com.intellij.util.io
Class FileByteBuffer
- java.lang.Object
-
- com.intellij.util.io.FileByteBuffer
-
public class FileByteBuffer extends Object
-
-
Constructor Summary
Constructors Constructor Description FileByteBuffer(RandomAccessFile file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte
get()
FileByteBuffer
get(byte[] dst, int offset, int length)
byte
get(int index)
char
getChar()
char
getChar(int index)
int
getInt()
int
getInt(int index)
long
getLong()
long
getLong(int index)
short
getShort()
short
getShort(int index)
void
position(int index)
FileByteBuffer
put(byte b)
void
put(byte[] src, int offset, int length)
FileByteBuffer
put(int index, byte b)
FileByteBuffer
putChar(char value)
FileByteBuffer
putChar(int index, char value)
FileByteBuffer
putInt(int value)
FileByteBuffer
putInt(int index, int value)
FileByteBuffer
putLong(int index, long value)
FileByteBuffer
putLong(long value)
FileByteBuffer
putShort(int index, short value)
FileByteBuffer
putShort(short value)
-
-
-
Constructor Detail
-
FileByteBuffer
public FileByteBuffer(RandomAccessFile file)
-
-
Method Detail
-
get
public byte get()
-
put
public FileByteBuffer put(byte b)
-
get
public byte get(int index)
-
put
public FileByteBuffer put(int index, byte b)
-
getChar
public char getChar()
-
putChar
public FileByteBuffer putChar(char value)
-
getChar
public char getChar(int index)
-
putChar
public FileByteBuffer putChar(int index, char value)
-
getShort
public short getShort()
-
putShort
public FileByteBuffer putShort(short value)
-
getShort
public short getShort(int index)
-
putShort
public FileByteBuffer putShort(int index, short value)
-
getInt
public int getInt()
-
putInt
public FileByteBuffer putInt(int value)
-
getInt
public int getInt(int index)
-
putInt
public FileByteBuffer putInt(int index, int value)
-
getLong
public long getLong()
-
putLong
public FileByteBuffer putLong(long value)
-
getLong
public long getLong(int index)
-
putLong
public FileByteBuffer putLong(int index, long value)
-
position
public void position(int index)
-
put
public void put(byte[] src, int offset, int length)
-
get
public FileByteBuffer get(byte[] dst, int offset, int length)
-
-