com.threerings.delta
Class BareArrayMask
java.lang.Object
com.threerings.io.ArrayMask
com.threerings.delta.BareArrayMask
public class BareArrayMask
- extends ArrayMask
Extends ArrayMask to avoid writing the (redundant) mask length when streaming.
|
Constructor Summary |
BareArrayMask(int length)
Creates a new array mask with the supplied length. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BareArrayMask
public BareArrayMask(int length)
- Creates a new array mask with the supplied length.
writeTo
public void writeTo(ObjectOutputStream out)
throws IOException
- Overrides:
writeTo in class ArrayMask
- Throws:
IOException
readFrom
public void readFrom(ObjectInputStream in)
throws IOException
- Overrides:
readFrom in class ArrayMask
- Throws:
IOException