org.msgpack.template
Class ByteArrayTemplate

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

public class ByteArrayTemplate
extends AbstractTemplate<byte[]>


Method Summary
static ByteArrayTemplate 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 ByteArrayTemplate getInstance()


Copyright © 2011. All Rights Reserved.