org.msgpack.template
Class ShortArrayTemplate

java.lang.Object
  extended by org.msgpack.template.AbstractTemplate<short[]>
      extended by org.msgpack.template.ShortArrayTemplate
All Implemented Interfaces:
Template<short[]>

public class ShortArrayTemplate
extends AbstractTemplate<short[]>


Method Summary
static ShortArrayTemplate getInstance()
           
 short[] read(Unpacker u, short[] to, boolean required)
           
 void write(Packer pk, short[] 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,
                  short[] target,
                  boolean required)
           throws IOException
Throws:
IOException

read

public short[] read(Unpacker u,
                    short[] to,
                    boolean required)
             throws IOException
Throws:
IOException

getInstance

public static ShortArrayTemplate getInstance()


Copyright © 2011. All Rights Reserved.