Interface ByteBuffer
-
- All Superinterfaces:
Buffer
- All Known Implementing Classes:
EaglerArrayByteBuffer
public interface ByteBuffer extends Buffer
Copyright (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
arrayOffset()
FloatBuffer
asFloatBuffer()
IntBuffer
asIntBuffer()
ByteBuffer
asReadOnlyBuffer()
ShortBuffer
asShortBuffer()
ByteBuffer
clear()
ByteBuffer
compact()
ByteBuffer
duplicate()
ByteBuffer
flip()
byte
get()
ByteBuffer
get(byte[] dst)
ByteBuffer
get(byte[] dst, int offset, int length)
byte
get(int index)
char
getChar()
char
getChar(int index)
float
getFloat()
float
getFloat(int index)
int
getInt()
int
getInt(int index)
long
getLong()
long
getLong(int index)
short
getShort()
short
getShort(int index)
ByteBuffer
limit(int newLimit)
ByteBuffer
mark()
ByteBuffer
position(int newPosition)
ByteBuffer
put(byte b)
ByteBuffer
put(byte[] src)
ByteBuffer
put(byte[] src, int offset, int length)
ByteBuffer
put(int index, byte b)
ByteBuffer
put(ByteBuffer src)
ByteBuffer
putChar(char value)
ByteBuffer
putChar(int index, char value)
ByteBuffer
putFloat(float value)
ByteBuffer
putFloat(int index, float value)
ByteBuffer
putInt(int value)
ByteBuffer
putInt(int index, int value)
ByteBuffer
putLong(int index, long value)
ByteBuffer
putLong(long value)
ByteBuffer
putShort(int index, short value)
ByteBuffer
putShort(short value)
ByteBuffer
reset()
ByteBuffer
rewind()
ByteBuffer
slice()
-
Methods inherited from interface net.lax1dude.eaglercraft.v1_8.internal.buffer.Buffer
array, capacity, hasArray, hasRemaining, isDirect, isReadOnly, limit, position, remaining
-
-
-
-
Method Detail
-
slice
ByteBuffer slice()
-
duplicate
ByteBuffer duplicate()
-
asReadOnlyBuffer
ByteBuffer asReadOnlyBuffer()
-
get
byte get()
-
put
ByteBuffer put(byte b)
-
get
byte get(int index)
-
put
ByteBuffer put(int index, byte b)
-
get
ByteBuffer get(byte[] dst, int offset, int length)
-
get
ByteBuffer get(byte[] dst)
-
put
ByteBuffer put(ByteBuffer src)
-
put
ByteBuffer put(byte[] src, int offset, int length)
-
put
ByteBuffer put(byte[] src)
-
arrayOffset
int arrayOffset()
- Specified by:
arrayOffset
in interfaceBuffer
-
compact
ByteBuffer compact()
-
getChar
char getChar()
-
putChar
ByteBuffer putChar(char value)
-
getChar
char getChar(int index)
-
putChar
ByteBuffer putChar(int index, char value)
-
getShort
short getShort()
-
putShort
ByteBuffer putShort(short value)
-
getShort
short getShort(int index)
-
putShort
ByteBuffer putShort(int index, short value)
-
asShortBuffer
ShortBuffer asShortBuffer()
-
getInt
int getInt()
-
putInt
ByteBuffer putInt(int value)
-
getInt
int getInt(int index)
-
putInt
ByteBuffer putInt(int index, int value)
-
asIntBuffer
IntBuffer asIntBuffer()
-
getLong
long getLong()
-
putLong
ByteBuffer putLong(long value)
-
getLong
long getLong(int index)
-
putLong
ByteBuffer putLong(int index, long value)
-
getFloat
float getFloat()
-
putFloat
ByteBuffer putFloat(float value)
-
getFloat
float getFloat(int index)
-
putFloat
ByteBuffer putFloat(int index, float value)
-
asFloatBuffer
FloatBuffer asFloatBuffer()
-
mark
ByteBuffer mark()
-
reset
ByteBuffer reset()
-
clear
ByteBuffer clear()
-
flip
ByteBuffer flip()
-
rewind
ByteBuffer rewind()
-
limit
ByteBuffer limit(int newLimit)
-
position
ByteBuffer position(int newPosition)
-
-