haXe API Documentation
Back | Index
extern class java.nio.ByteBuffer
extends Buffer
Available in java
function array() : haxe.io.BytesData
function arrayOffset() : Int
function compact() : ByteBuffer
function compareTo(obj : Dynamic) : Int
function duplicate() : ByteBuffer
function get() : java.Int8
function getChar() : java.Char16
function getDouble() : Float
function getFloat() : Single
function getInt() : Int
function getLong() : haxe.Int64
function getShort() : java.Int16
function hasArray() : Bool
function isDirect() : Bool
function order() : ByteOrder
function put(b : java.Int8) : ByteBuffer
function putChar(value : java.Char16) : ByteBuffer
function putDouble(value : Float) : ByteBuffer
function putFloat(value : Single) : ByteBuffer
function putInt(value : Int) : ByteBuffer
function putLong(value : haxe.Int64) : ByteBuffer
function putShort(value : java.Int16) : ByteBuffer
static function allocate(capacity : Int) : ByteBuffer
static function allocateDirect(capacity : Int) : ByteBuffer
static function wrap(arr : haxe.io.BytesData) : ByteBuffer
Back | Index