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.Objectarray()intarrayOffset()IntBufferasReadOnlyBuffer()intcapacity()IntBufferclear()IntBuffercompact()IntBufferduplicate()IntBufferflip()intget()intget(int index)IntBufferget(int[] dst)IntBufferget(int[] dst, int offset, int length)intgetArrayOffset()intgetElement(int index)booleanhasArray()booleanhasRemaining()booleanisDirect()booleanisReadOnly()intlimit()IntBufferlimit(int newLimit)IntBuffermark()intposition()IntBufferposition(int newPosition)IntBufferput(int b)IntBufferput(int[] src)IntBufferput(int[] src, int offset, int length)IntBufferput(int index, int b)IntBufferput(IntBuffer src)voidputElement(int index, int value)intremaining()IntBufferreset()IntBufferrewind()IntBufferslice()
-
-
-
Method Detail
-
hasRemaining
public boolean hasRemaining()
- Specified by:
hasRemainingin interfaceBuffer
-
isReadOnly
public boolean isReadOnly()
- Specified by:
isReadOnlyin interfaceBuffer
-
arrayOffset
public int arrayOffset()
- Specified by:
arrayOffsetin interfaceBuffer
-
asReadOnlyBuffer
public IntBuffer asReadOnlyBuffer()
- Specified by:
asReadOnlyBufferin interfaceIntBuffer
-
getElement
public int getElement(int index)
- Specified by:
getElementin interfaceIntBuffer
-
putElement
public void putElement(int index, int value)- Specified by:
putElementin 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:
getArrayOffsetin 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)
-
-