C# Class bc.flash.utils.AsByteArray

Inheritance: bc.flash.AsObject
Show file Open project: weeeBox/oldies-bc-as3converter Class Usage Examples

Public Methods

Method Description
clear ( ) : void
getBytesAvailable ( ) : uint
getDefaultObjectEncoding ( ) : uint
getEndian ( ) : String
getLength ( ) : uint
getObjectEncoding ( ) : uint
getPosition ( ) : uint
readBoolean ( ) : bool
readByte ( ) : int
readBytes ( AsByteArray bytes ) : void
readBytes ( AsByteArray bytes, uint offset ) : void
readBytes ( AsByteArray bytes, uint offset, uint length ) : void
readDouble ( ) : float
readFloat ( ) : float
readInt ( ) : int
readMultiByte ( uint length, String charSet ) : String
readObject ( ) : AsObject
readShort ( ) : int
readUTF ( ) : String
readUTFBytes ( uint length ) : String
readUnsignedByte ( ) : uint
readUnsignedInt ( ) : uint
readUnsignedShort ( ) : uint
setDefaultObjectEncoding ( uint version ) : void
setEndian ( String type ) : void
setLength ( uint _value ) : void
setObjectEncoding ( uint version ) : void
setPosition ( uint offset ) : void
toString ( ) : String
writeBoolean ( bool _value ) : void
writeByte ( int _value ) : void
writeBytes ( AsByteArray bytes ) : void
writeBytes ( AsByteArray bytes, uint offset ) : void
writeBytes ( AsByteArray bytes, uint offset, uint length ) : void
writeDouble ( float _value ) : void
writeFloat ( float _value ) : void
writeInt ( int _value ) : void
writeMultiByte ( String _value, String charSet ) : void
writeObject ( AsObject _object ) : void
writeShort ( int _value ) : void
writeUTF ( String _value ) : void
writeUTFBytes ( String _value ) : void
writeUnsignedInt ( uint _value ) : void

Method Details

clear() public method

public clear ( ) : void
return void

getBytesAvailable() public method

public getBytesAvailable ( ) : uint
return uint

getDefaultObjectEncoding() public static method

public static getDefaultObjectEncoding ( ) : uint
return uint

getEndian() public method

public getEndian ( ) : String
return String

getLength() public method

public getLength ( ) : uint
return uint

getObjectEncoding() public method

public getObjectEncoding ( ) : uint
return uint

getPosition() public method

public getPosition ( ) : uint
return uint

readBoolean() public method

public readBoolean ( ) : bool
return bool

readByte() public method

public readByte ( ) : int
return int

readBytes() public method

public readBytes ( AsByteArray bytes ) : void
bytes AsByteArray
return void

readBytes() public method

public readBytes ( AsByteArray bytes, uint offset ) : void
bytes AsByteArray
offset uint
return void

readBytes() public method

public readBytes ( AsByteArray bytes, uint offset, uint length ) : void
bytes AsByteArray
offset uint
length uint
return void

readDouble() public method

public readDouble ( ) : float
return float

readFloat() public method

public readFloat ( ) : float
return float

readInt() public method

public readInt ( ) : int
return int

readMultiByte() public method

public readMultiByte ( uint length, String charSet ) : String
length uint
charSet String
return String

readObject() public method

public readObject ( ) : AsObject
return bc.flash.AsObject

readShort() public method

public readShort ( ) : int
return int

readUTF() public method

public readUTF ( ) : String
return String

readUTFBytes() public method

public readUTFBytes ( uint length ) : String
length uint
return String

readUnsignedByte() public method

public readUnsignedByte ( ) : uint
return uint

readUnsignedInt() public method

public readUnsignedInt ( ) : uint
return uint

readUnsignedShort() public method

public readUnsignedShort ( ) : uint
return uint

setDefaultObjectEncoding() public static method

public static setDefaultObjectEncoding ( uint version ) : void
version uint
return void

setEndian() public method

public setEndian ( String type ) : void
type String
return void

setLength() public method

public setLength ( uint _value ) : void
_value uint
return void

setObjectEncoding() public method

public setObjectEncoding ( uint version ) : void
version uint
return void

setPosition() public method

public setPosition ( uint offset ) : void
offset uint
return void

toString() public method

public toString ( ) : String
return String

writeBoolean() public method

public writeBoolean ( bool _value ) : void
_value bool
return void

writeByte() public method

public writeByte ( int _value ) : void
_value int
return void

writeBytes() public method

public writeBytes ( AsByteArray bytes ) : void
bytes AsByteArray
return void

writeBytes() public method

public writeBytes ( AsByteArray bytes, uint offset ) : void
bytes AsByteArray
offset uint
return void

writeBytes() public method

public writeBytes ( AsByteArray bytes, uint offset, uint length ) : void
bytes AsByteArray
offset uint
length uint
return void

writeDouble() public method

public writeDouble ( float _value ) : void
_value float
return void

writeFloat() public method

public writeFloat ( float _value ) : void
_value float
return void

writeInt() public method

public writeInt ( int _value ) : void
_value int
return void

writeMultiByte() public method

public writeMultiByte ( String _value, String charSet ) : void
_value String
charSet String
return void

writeObject() public method

public writeObject ( AsObject _object ) : void
_object bc.flash.AsObject
return void

writeShort() public method

public writeShort ( int _value ) : void
_value int
return void

writeUTF() public method

public writeUTF ( String _value ) : void
_value String
return void

writeUTFBytes() public method

public writeUTFBytes ( String _value ) : void
_value String
return void

writeUnsignedInt() public method

public writeUnsignedInt ( uint _value ) : void
_value uint
return void