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 intarrayOffset()FloatBufferasFloatBuffer()IntBufferasIntBuffer()ByteBufferasReadOnlyBuffer()ShortBufferasShortBuffer()ByteBufferclear()ByteBuffercompact()ByteBufferduplicate()ByteBufferflip()byteget()ByteBufferget(byte[] dst)ByteBufferget(byte[] dst, int offset, int length)byteget(int index)chargetChar()chargetChar(int index)floatgetFloat()floatgetFloat(int index)intgetInt()intgetInt(int index)longgetLong()longgetLong(int index)shortgetShort()shortgetShort(int index)ByteBufferlimit(int newLimit)ByteBuffermark()ByteBufferposition(int newPosition)ByteBufferput(byte b)ByteBufferput(byte[] src)ByteBufferput(byte[] src, int offset, int length)ByteBufferput(int index, byte b)ByteBufferput(ByteBuffer src)ByteBufferputChar(char value)ByteBufferputChar(int index, char value)ByteBufferputFloat(float value)ByteBufferputFloat(int index, float value)ByteBufferputInt(int value)ByteBufferputInt(int index, int value)ByteBufferputLong(int index, long value)ByteBufferputLong(long value)ByteBufferputShort(int index, short value)ByteBufferputShort(short value)ByteBufferreset()ByteBufferrewind()ByteBufferslice()-
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:
arrayOffsetin 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)
-
-