org.msgpack.template
Class ByteTemplate

java.lang.Object
  extended by org.msgpack.template.AbstractTemplate<Byte>
      extended by org.msgpack.template.ByteTemplate
All Implemented Interfaces:
Template<Byte>

public class ByteTemplate
extends AbstractTemplate<Byte>


Method Summary
static ByteTemplate getInstance()
           
 Byte read(Unpacker u, Byte to, boolean required)
           
 void write(Packer pk, Byte target, boolean required)
           
 
Methods inherited from class org.msgpack.template.AbstractTemplate
read, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

write

public void write(Packer pk,
                  Byte target,
                  boolean required)
           throws IOException
Throws:
IOException

read

public Byte read(Unpacker u,
                 Byte to,
                 boolean required)
          throws IOException
Throws:
IOException

getInstance

public static ByteTemplate getInstance()


Copyright © 2011. All Rights Reserved.