ByteArray Class Reference
[ECMAScript/QtScript - Native Objects]

Qt ByteArray type. More...

Inheritance diagram for ByteArray:

Object List of all members.

Properties

Number length
Number size

Constructors

 ByteArray (ByteArray byteArray)
 ByteArray (String str)
 ByteArray ()

Methods

String charAt (Number index)

Detailed Description

Qt ByteArray type.

This is the DAZ Script counterpart of the QByteArray type used in the DAZ Studio SDK.


Constructor & Destructor Documentation

ByteArray::ByteArray (  ) 

Default Constructor.

ByteArray::ByteArray ( String  str  ) 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters:
str The string to copy into the byte array Creates a byte array containing the ascii representation of the string.

ByteArray::ByteArray ( ByteArray  byteArray  ) 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters:
byteArray The byte array to copy Copy Constructor.


Member Function Documentation

String ByteArray::charAt ( Number  index  ) 

Parameters:
index The index of the byte to return
Returns:
The character at the given index in the array of bytes


Member Data Documentation

Number ByteArray::length

The number of bytes in the array

Number ByteArray::size

The number of bytes in the array


Generated on Thu Sep 24 12:21:10 2009

Copyright © 2002 - 2009 DAZ 3D, Inc.