com.threerings.delta
Class BareArrayMask
java.lang.Object
com.threerings.io.ArrayMask
com.threerings.delta.BareArrayMask
public class BareArrayMask
- extends com.threerings.io.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. |
|
Method Summary |
void |
readFrom(com.threerings.io.ObjectInputStream in)
|
void |
writeTo(com.threerings.io.ObjectOutputStream out)
|
| Methods inherited from class com.threerings.io.ArrayMask |
isSet, set |
BareArrayMask
public BareArrayMask(int length)
- Creates a new array mask with the supplied length.
writeTo
public void writeTo(com.threerings.io.ObjectOutputStream out)
throws IOException
- Overrides:
writeTo in class com.threerings.io.ArrayMask
- Throws:
IOException
readFrom
public void readFrom(com.threerings.io.ObjectInputStream in)
throws IOException
- Overrides:
readFrom in class com.threerings.io.ArrayMask
- Throws:
IOException
Copyright © 2011. All Rights Reserved.