com.threerings.delta
Class BareArrayMask

java.lang.Object
  extended by com.threerings.io.ArrayMask
      extended by 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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BareArrayMask

public BareArrayMask(int length)
Creates a new array mask with the supplied length.

Method Detail

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.