flash.utils.ByteArray

type
class
implements
IDataInput
IDataOutput
available in
flash

Static Variables

defaultObjectEncoding : UInt

Constructor

new()

Instance Variables

bytesAvailable(default,null) : UInt

endian : Endian

length : UInt

objectEncoding : UInt

position : UInt

Instance Methods

clear() : Void

metadata
:require
flash10

compress(?algorithm : CompressionAlgorithm) : Void

deflate() : Void

metadata
:require
flash10

inflate() : Void

metadata
:require
flash10

readBoolean() : Bool

readByte() : Int

readBytes(bytes : ByteArray, ?offset : UInt, ?length : UInt) : Void

readDouble() : Float

readFloat() : Float

readInt() : Int

readMultiByte(length : UInt, charSet : String) : String

readObject() : Dynamic

readShort() : Int

readUTF() : String

readUTFBytes(length : UInt) : String

readUnsignedByte() : UInt

readUnsignedInt() : UInt

readUnsignedShort() : UInt

toString() : String

uncompress(?algorithm : CompressionAlgorithm) : Void

writeBoolean(value : Bool) : Void

writeByte(value : Int) : Void

writeBytes(bytes : ByteArray, ?offset : UInt, ?length : UInt) : Void

writeDouble(value : Float) : Void

writeFloat(value : Float) : Void

writeInt(value : Int) : Void

writeMultiByte(value : String, charSet : String) : Void

writeObject(object : Dynamic) : Void

writeShort(value : Int) : Void

writeUTF(value : String) : Void

writeUTFBytes(value : String) : Void

writeUnsignedInt(value : UInt) : Void