com.karmasphere.share.bencode
Class BDecoder

java.lang.Object
  extended by com.karmasphere.share.bencode.BDecoder

public final class BDecoder
extends Object


Constructor Summary
BDecoder()
           
 
Method Summary
 Object decode(byte[] b)
           
 Object decode(byte[] b, int offset, int length)
           
 Object decode(ByteBuffer buf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BDecoder

public BDecoder()
Method Detail

decode

public Object decode(byte[] b)
              throws BException
Throws:
BException

decode

public Object decode(byte[] b,
                     int offset,
                     int length)
              throws BException
Throws:
BException

decode

public Object decode(ByteBuffer buf)
              throws BException
Throws:
BException


Copyright © 2004-2005 Karamsphere. All Rights Reserved.