Packageorg.purepdf.io
Classpublic class ByteArrayInputStream
InheritanceByteArrayInputStream Inheritance Object
Implements InputStream



Public Properties
 PropertyDefined By
  available : int
[read-only]
ByteArrayInputStream
  bytearray : ByteArray
[read-only]
ByteArrayInputStream
  position : int
[read-only]
ByteArrayInputStream
  size : int
[read-only]
ByteArrayInputStream
Protected Properties
 PropertyDefined By
  buf : ByteArray
ByteArrayInputStream
  count : int
ByteArrayInputStream
  mark : int = 0
ByteArrayInputStream
  pos : int
ByteArrayInputStream
Public Methods
 MethodDefined By
  
ByteArrayInputStream(ins:ByteArray, offset:int = 0, lenght:int = 0)
ByteArrayInputStream
  
readBytes(b:ByteArray, off:int, len:int):int
ByteArrayInputStream
  
ByteArrayInputStream
  
skip(n:Number):Number
ByteArrayInputStream
Property Detail
availableproperty
available:int  [read-only]


Implementation
    public function get available():int
bufproperty 
protected var buf:ByteArray

bytearrayproperty 
bytearray:ByteArray  [read-only]


Implementation
    public function get bytearray():ByteArray
countproperty 
protected var count:int

markproperty 
protected var mark:int = 0

posproperty 
protected var pos:int

positionproperty 
position:int  [read-only]


Implementation
    public function get position():int
sizeproperty 
size:int  [read-only]


Implementation
    public function get size():int
Constructor Detail
ByteArrayInputStream()Constructor
public function ByteArrayInputStream(ins:ByteArray, offset:int = 0, lenght:int = 0)



Parameters
ins:ByteArray
 
offset:int (default = 0)
 
lenght:int (default = 0)
Method Detail
readBytes()method
public function readBytes(b:ByteArray, off:int, len:int):int

Parameters

b:ByteArray
 
off:int
 
len:int

Returns
int
readUnsignedByte()method 
public function readUnsignedByte():int

Returns
int
skip()method 
public function skip(n:Number):Number

Parameters

n:Number

Returns
Number