Class EaglerArrayIntBuffer
- java.lang.Object
-
- net.lax1dude.eaglercraft.v1_8.internal.buffer.EaglerArrayIntBuffer
-
public class EaglerArrayIntBuffer extends java.lang.Object implements IntBuffer
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 Concrete Methods Modifier and Type Method Description java.lang.Object
array()
int
arrayOffset()
IntBuffer
asReadOnlyBuffer()
int
capacity()
IntBuffer
clear()
IntBuffer
compact()
IntBuffer
duplicate()
IntBuffer
flip()
int
get()
int
get(int index)
IntBuffer
get(int[] dst)
IntBuffer
get(int[] dst, int offset, int length)
int
getArrayOffset()
int
getElement(int index)
boolean
hasArray()
boolean
hasRemaining()
boolean
isDirect()
boolean
isReadOnly()
int
limit()
IntBuffer
limit(int newLimit)
IntBuffer
mark()
int
position()
IntBuffer
position(int newPosition)
IntBuffer
put(int b)
IntBuffer
put(int[] src)
IntBuffer
put(int[] src, int offset, int length)
IntBuffer
put(int index, int b)
IntBuffer
put(IntBuffer src)
void
putElement(int index, int value)
int
remaining()
IntBuffer
reset()
IntBuffer
rewind()
IntBuffer
slice()
-
-
-
Method Detail
-
hasRemaining
public boolean hasRemaining()
- Specified by:
hasRemaining
in interfaceBuffer
-
isReadOnly
public boolean isReadOnly()
- Specified by:
isReadOnly
in interfaceBuffer
-
arrayOffset
public int arrayOffset()
- Specified by:
arrayOffset
in interfaceBuffer
-
asReadOnlyBuffer
public IntBuffer asReadOnlyBuffer()
- Specified by:
asReadOnlyBuffer
in interfaceIntBuffer
-
getElement
public int getElement(int index)
- Specified by:
getElement
in interfaceIntBuffer
-
putElement
public void putElement(int index, int value)
- Specified by:
putElement
in interfaceIntBuffer
-
get
public IntBuffer get(int[] dst, int offset, int length)
-
put
public IntBuffer put(int[] src, int offset, int length)
-
getArrayOffset
public int getArrayOffset()
- Specified by:
getArrayOffset
in interfaceIntBuffer
-
isDirect
public boolean isDirect()
-
mark
public IntBuffer mark()
-
reset
public IntBuffer reset()
-
clear
public IntBuffer clear()
-
flip
public IntBuffer flip()
-
rewind
public IntBuffer rewind()
-
limit
public IntBuffer limit(int newLimit)
-
-