File tom/archiving


class tom.StreamEncoder

Inherits

State supers
Encoder

instance tom.StreamEncoder

variables

OutputStream stream;
The stream to which we write.

methods

id
  initWithStream OutputStream s;
Undocumented.

protected State
  replacementObjectFor State object;
Undocumented.


class tom.StreamDecoder

Inherits

State supers
Decoder

instance tom.StreamDecoder

variables

InputStream stream;
The stream from which we read.

methods

id
  initWithStream InputStream s;
Designated initializer.


class tom.BinaryStreamEncoder

Inherits

State supers
StreamEncoder, BinaryEncoder

instance tom.BinaryStreamEncoder

methods

id
  initWithStream OutputStream s;
Designated initializer.

void
  finishEncodingRoot All object;
Finish the graph.

protected void
  writeByte byte b;
Undocumented.

protected void
  writeBytes (int, int) (start, length)
        from ByteArray r;
Undocumented.

protected void
  writeBytes (pointer, int) (address, length);
Undocumented.


class tom.BinaryStreamDecoder

Inherits

State supers
StreamDecoder, BinaryDecoder, C

instance tom.BinaryStreamDecoder

methods

id
  initWithStream InputStream s;
Designated initializer.

protected byte
  readByte;
Undocumented.

protected void
  readBytes int num
         to pointer address;
Undocumented.


class tom.TextStreamEncoder

Inherits

State supers
StreamEncoder

instance tom.TextStreamEncoder

methods

void
  startEncodingRoot All object;
Output the top of the graph.

void
  finishEncodingRoot All object;
Finish the graph.

class (State)
  startEncoding State object;
Output the start of the object.

void
  finishEncoding State object;
Finish the output of the object.

protected int
  identityForClass class (State) a_class;
Identify this class on the output stream, reporting its coding version.

void
  encodeNilObject;
Output (), which is the notation for the nil object.

void
  encodeReference int v;
Undocumented.

void
  encode boolean v;
Undocumented.

void
  encode byte v;
Undocumented.

void
  encode char v;
Undocumented.

void
  encode int v;
Undocumented.

void
  encode long v;
Undocumented.

void
  encode float v;
Undocumented.

void
  encode double v;
Undocumented.

void
  encode selector v;
Undocumented.

void
  encodeBytes (int, int) (start, length)
         from ByteArray r;
Undocumented.


class tom.TextStreamDecoder

This class is unimplemented.

Inherits

State supers
StreamDecoder, XLTokens

instance tom.TextStreamDecoder

variables

XL lexer;
The lexer actually doing the reading from our stream.
int token;
The current token, cached so we know when we are starting up, in which case the token is XLT_EPSILON.

methods

id
  initWithStream InputStream s;
Designated initializer of our super.

id
  initWithLexer XL l;
Designated initializer.

_builtin_.Any
  decode;
Undocumented.

byte
  decode;
Undocumented.

boolean
  decode;
Undocumented.

char
  decode;
Undocumented.

int
  decode;
Undocumented.

long
  decode;
Undocumented.

float
  decode;
Undocumented.

double
  decode;
Undocumented.

(pointer, int) (contents, length)
  decodeBytes;
Undocumented.

protected void
  declareClass;
Undocumented.

protected int
  nextToken;
Undocumented.

protected _builtin_.Any
  readReference;
Undocumented.

protected void
  skipList;
Read tokens up to and including the first top-level close parenthesis.

protected void
  termSymbol String name;
Undocumented.

protected void
  termToken int t;
Undocumented.


Generated by tm 1.01.