org.msgpack.template
Class ByteBufferTemplate

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

public class ByteBufferTemplate
extends AbstractTemplate<ByteBuffer>


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

read

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

getInstance

public static ByteBufferTemplate getInstance()


Copyright © 2011. All Rights Reserved.