Packageorg.purepdf.io
Classpublic class OutputStreamCounter
InheritanceOutputStreamCounter Inheritance Object
Implements IOutputStream



Protected Properties
 PropertyDefined By
  counter : int = 0
OutputStreamCounter
  out : ByteArray
OutputStreamCounter
Public Methods
 MethodDefined By
  
OutputStreamCounter($out:ByteArray)
OutputStreamCounter
  
OutputStreamCounter
  
getInternalBuffer():ByteArray
OutputStreamCounter
  
OutputStreamCounter
  
OutputStreamCounter
  
writeByteArray(value:ByteArray, off:int = 0, len:int = 0):void
OutputStreamCounter
  
writeBytes(value:Bytes, off:int = 0, len:int = 0):void
OutputStreamCounter
  
writeInt(value:int):void
OutputStreamCounter
Property Detail
counterproperty
protected var counter:int = 0

outproperty 
protected var out:ByteArray

Constructor Detail
OutputStreamCounter()Constructor
public function OutputStreamCounter($out:ByteArray)



Parameters
$out:ByteArray
Method Detail
getCounter()method
public function getCounter():int

Returns
int
getInternalBuffer()method 
public function getInternalBuffer():ByteArray

Returns
ByteArray
resetCounter()method 
public function resetCounter():void

toBytes()method 
public function toBytes():Bytes

Returns
Bytes
writeByteArray()method 
public function writeByteArray(value:ByteArray, off:int = 0, len:int = 0):void

Parameters

value:ByteArray
 
off:int (default = 0)
 
len:int (default = 0)

writeBytes()method 
public function writeBytes(value:Bytes, off:int = 0, len:int = 0):void

Parameters

value:Bytes
 
off:int (default = 0)
 
len:int (default = 0)

writeInt()method 
public function writeInt(value:int):void

Parameters

value:int