haxe.io.Bytes

type
class
subclasses
native.utils.ByteArray
available in
cpp, flash, neko, js, nme

Static Methods

alloc(length : Int) : Bytes

ofData(b : BytesData) : Bytes

ofString(s : String) : Bytes

Constructor

new(length : Int, b : BytesData)

Instance Variables

length(default,null) : Int

Instance Methods

blit(pos : Int, src : Bytes, srcpos : Int, len : Int) : Void

compare(other : Bytes) : Int

inline get(pos : Int) : Int

inline getData() : BytesData

readString(pos : Int, len : Int) : String

inline set(pos : Int, v : Int) : Void

sub(pos : Int, len : Int) : Bytes

toHex() : String

toString() : String