Packagestarling.memory
Classpublic class FastByteArray
InheritanceFastByteArray Inheritance Object



Public Properties
 PropertyDefined By
  heap : ByteArray
[read-only]
FastByteArray
  length : uint
FastByteArray
  offset : uint
[read-only]
FastByteArray
Protected Properties
 PropertyDefined By
  _bytes : ByteArray
FastByteArray
  _length : uint
FastByteArray
  _offset : uint
FastByteArray
Public Methods
 MethodDefined By
  
FastByteArray
  
clear():void
FastByteArray
  
create(length:int):FastByteArray
[static]
FastByteArray
  
dispose():void
FastByteArray
  
getHeapAddress(addr:uint = 0):uint
FastByteArray
  
resize(newLength:uint):void
FastByteArray
  
switchMemory(fastByteArray1:FastByteArray, fastByteArray2:FastByteArray):void
[static]
FastByteArray
Protected Methods
 MethodDefined By
  
reset(out:FastByteArray, length:int):void
[static]
FastByteArray
Property Detail
_bytesproperty
protected var _bytes:ByteArray

_lengthproperty 
protected var _length:uint

_offsetproperty 
protected var _offset:uint

heapproperty 
heap:ByteArray  [read-only]


Implementation
    public function get heap():ByteArray
lengthproperty 
length:uint


Implementation
    public function get length():uint
    public function set length(value:uint):void
offsetproperty 
offset:uint  [read-only]


Implementation
    public function get offset():uint
Constructor Detail
FastByteArray()Constructor
public function FastByteArray()



Method Detail
clear()method
public final function clear():void

create()method 
public static function create(length:int):FastByteArray

Parameters

length:int

Returns
FastByteArray
dispose()method 
public final function dispose():void

getHeapAddress()method 
public final function getHeapAddress(addr:uint = 0):uint

Parameters

addr:uint (default = 0)

Returns
uint
reset()method 
protected static function reset(out:FastByteArray, length:int):void

Parameters

out:FastByteArray
 
length:int

resize()method 
public final function resize(newLength:uint):void

Parameters

newLength:uint

switchMemory()method 
public static function switchMemory(fastByteArray1:FastByteArray, fastByteArray2:FastByteArray):void

Parameters

fastByteArray1:FastByteArray
 
fastByteArray2:FastByteArray