ByteBuffer

package java.nio

extends Buffer

implements Comparable<ByteBuffer>

extended by MappedByteBuffer

Available on java

Static methods

staticallocate(param1:Int):ByteBuffer

staticallocateDirect(param1:Int):ByteBuffer

staticwrap(param1:NativeArray<Int8>):ByteBuffer

staticwrap(param1:NativeArray<Int8>, param2:Int, param3:Int):ByteBuffer

Methods

asCharBuffer():CharBuffer

asDoubleBuffer():DoubleBuffer

asFloatBuffer():FloatBuffer

asIntBuffer():IntBuffer

asLongBuffer():LongBuffer

asReadOnlyBuffer():ByteBuffer

asShortBuffer():ShortBuffer

compact():ByteBuffer

compareTo(param1:Dynamic):Int

compareTo(param1:ByteBuffer):Int

duplicate():ByteBuffer

equals(param1:Dynamic):Bool

get(param1:NativeArray<Int8>):ByteBuffer

get():Int8

get(param1:Int):Int8

get(param1:NativeArray<Int8>, param2:Int, param3:Int):ByteBuffer

getChar(param1:Int):Char16

getChar():Char16

getDouble(param1:Int):Float

getDouble():Float

getFloat(param1:Int):Single

getFloat():Single

getInt(param1:Int):Int

getInt():Int

getLong(param1:Int):Int64

getLong():Int64

getShort(param1:Int):Int16

getShort():Int16

hashCode():Int

finalorder(param1:ByteOrder):ByteBuffer

finalorder():ByteOrder

finalput(param1:NativeArray<Int8>):ByteBuffer

put(param1:Int8):ByteBuffer

put(param1:Int, param2:Int8):ByteBuffer

put(param1:ByteBuffer):ByteBuffer

put(param1:NativeArray<Int8>, param2:Int, param3:Int):ByteBuffer

putChar(param1:Int, param2:Char16):ByteBuffer

putChar(param1:Char16):ByteBuffer

putDouble(param1:Int, param2:Float):ByteBuffer

putDouble(param1:Float):ByteBuffer

putFloat(param1:Int, param2:Single):ByteBuffer

putFloat(param1:Single):ByteBuffer

putInt(param1:Int, param2:Int):ByteBuffer

putInt(param1:Int):ByteBuffer

putLong(param1:Int, param2:Int64):ByteBuffer

putLong(param1:Int64):ByteBuffer

putShort(param1:Int, param2:Int16):ByteBuffer

putShort(param1:Int16):ByteBuffer

slice():ByteBuffer

toString():String

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/java/nio/ByteBuffer.html