W3cubDocs

/Haxe Java

ByteBuffer

package java.nio

extends Buffer

implements Comparable<ByteBuffer>

extended by MappedByteBuffer

@:abstract@:libType@:javaNative@:native("java.nio.ByteBuffer")@:javaCanonical("java.nio","ByteBuffer") Available on java

Methods

@:overload asCharBuffer ():CharBuffer

@:overload asDoubleBuffer ():DoubleBuffer

@:overload asFloatBuffer ():FloatBuffer

@:overload asIntBuffer ():IntBuffer

@:overload asLongBuffer ():LongBuffer

@:overload asReadOnlyBuffer ():ByteBuffer

@:overload asShortBuffer ():ShortBuffer

@:overload compact ():ByteBuffer

@:overload compareTo (param1:Dynamic):Int

@:overload compareTo (param1:ByteBuffer):Int

@:overload duplicate ():ByteBuffer

@:overload equals (param1:Dynamic):Bool

@:overload get (param1:NativeArray<Int8>):ByteBuffer

@:overload get ():Int8

@:overload get (param1:Int):Int8

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

@:overload getChar (param1:Int):Char16

@:overload getChar ():Char16

@:overload getDouble (param1:Int):Float

@:overload getDouble ():Float

@:overload getFloat (param1:Int):Single

@:overload getFloat ():Single

@:overload getInt (param1:Int):Int

@:overload getInt ():Int

@:overload getLong (param1:Int):Int64

@:overload getLong ():Int64

@:overload getShort (param1:Int):Int16

@:overload getShort ():Int16

@:overload hashCode ():Int

@:overload @:final order (param1:ByteOrder):ByteBuffer

@:overload @:final order ():ByteOrder

@:overload @:final put (param1:NativeArray<Int8>):ByteBuffer

@:overload put (param1:Int8):ByteBuffer

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

@:overload put (param1:ByteBuffer):ByteBuffer

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

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

@:overload putChar (param1:Char16):ByteBuffer

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

@:overload putDouble (param1:Float):ByteBuffer

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

@:overload putFloat (param1:Single):ByteBuffer

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

@:overload putInt (param1:Int):ByteBuffer

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

@:overload putLong (param1:Int64):ByteBuffer

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

@:overload putShort (param1:Int16):ByteBuffer

@:overload slice ():ByteBuffer

@:overload toString ():String

Static methods

@:overload static allocate (param1:Int):ByteBuffer

@:overload static allocateDirect (param1:Int):ByteBuffer

@:overload static wrap (param1:NativeArray<Int8>):ByteBuffer

@:overload static wrap (param1:NativeArray<Int8>, param2:Int, param3:Int):ByteBuffer

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