com.caucho.quercus.lib
Class UnserializeReader
java.lang.Object
com.caucho.quercus.lib.UnserializeReader
public final class UnserializeReader
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnserializeReader
public UnserializeReader(StringValue s)
throws java.io.IOException
- Throws:
java.io.IOException
UnserializeReader
public UnserializeReader(java.lang.String s)
throws java.io.IOException
- Throws:
java.io.IOException
useReference
protected boolean useReference()
unserialize
public Value unserialize(Env env)
throws java.io.IOException
- Throws:
java.io.IOException
createReference
public Value createReference(Value value)
unserializeKey
public Value unserializeKey(Env env)
throws java.io.IOException
- Throws:
java.io.IOException
expect
public final void expect(int expectCh)
throws java.io.IOException
- Throws:
java.io.IOException
readInt
public final long readInt()
isValidString
public final boolean isValidString(int len)
readString
public final java.lang.String readString(int len)
readStringValue
public final StringValue readStringValue(Env env,
int len)
readUnicodeValue
public final StringValue readUnicodeValue(Env env,
int len)
read
public final int read()
read
public final int read(char[] buffer,
int offset,
int length)
unread
public final void unread()