8.11. File tom/ByteArray

class tom.ByteArray

Like the CharArray, the ByteArray is a particular kind of Array, which is here for abstraction purposes, but which is never actually used, since the ByteString holds the same kind of state, but provides much more functionality.

inherits

State supers: Array

instance tom.ByteArray

methods


protected id
  initWithEnumerator Enumerator e;

Undocumented.


Any
  at int index;

Undocumented.


byte
  at int index;

Undocumented.


char
  at int index;

Undocumented.


int
  at int index;

Undocumented.


long
  at int index;

Undocumented.


float
  at int index;

Undocumented.


double
  at int index;

Undocumented.


int
  elementByteSize;

Undocumented.


int
  hash;

Undocumented.


(pointer, int)
  pointerToElements (int, int) (start, len);

Undocumented.


int
  writeRange (int, int) (start, len)
        into MutableByteArray destination
          at int position;

Undocumented.


void
  encodeUsingCoder Encoder coder;

Undocumented.


void
  initWithCoder Decoder coder;

Undocumented.


class (State)
  mutableCopyClass;

Return the MutableByteArray class.