OutputStream stream;
id initWithStream OutputStream s;
protected State replacementObjectFor State object;
InputStream stream;
id initWithStream InputStream s;
id initWithStream OutputStream s;
void finishEncodingRoot All object;
protected void writeByte byte b;
protected void writeBytes (int, int) (start, length) from ByteArray r;
protected void writeBytes (pointer, int) (address, length);
id initWithStream InputStream s;
protected byte readByte;
protected void readBytes int num to pointer address;
void startEncodingRoot All object;
void finishEncodingRoot All object;
class (State) startEncoding State object;
object
.
void finishEncoding State object;
object
.
protected int identityForClass class (State) a_class;
stream
, reporting its coding
version.
void encodeNilObject;
()
, which is the notation for the nil
object.
void encodeReference int v;
void encode boolean v;
void encode byte v;
void encode char v;
void encode int v;
void encode long v;
void encode float v;
void encode double v;
void encode selector v;
void encodeBytes (int, int) (start, length) from ByteArray r;