com.threerings.nexus.io
Class Streamers.Streamer_Byte

java.lang.Object
  extended by com.threerings.nexus.io.Streamers.Streamer_Byte
All Implemented Interfaces:
Streamer<Byte>
Enclosing class:
Streamers

public static class Streamers.Streamer_Byte
extends Object
implements Streamer<Byte>

A streamer for Byte.


Constructor Summary
Streamers.Streamer_Byte()
           
 
Method Summary
 Class<?> getObjectClass()
          Returns the concrete class handled by this streamer.
 Byte readObject(Streamable.Input in)
          Instantiates an instance of the appropriate type using data read from the supplied input.
 void writeObject(Streamable.Output out, Byte value)
          Writes the supplied instance to the supplied output.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Streamers.Streamer_Byte

public Streamers.Streamer_Byte()
Method Detail

getObjectClass

public Class<?> getObjectClass()
Description copied from interface: Streamer
Returns the concrete class handled by this streamer.

Specified by:
getObjectClass in interface Streamer<Byte>

writeObject

public void writeObject(Streamable.Output out,
                        Byte value)
Description copied from interface: Streamer
Writes the supplied instance to the supplied output.

Specified by:
writeObject in interface Streamer<Byte>

readObject

public Byte readObject(Streamable.Input in)
Description copied from interface: Streamer
Instantiates an instance of the appropriate type using data read from the supplied input.

Specified by:
readObject in interface Streamer<Byte>


Copyright © 2013. All Rights Reserved.