de.huxhorn.sulky.codec.streaming
Class DecoderBridge<E>

java.lang.Object
  extended by de.huxhorn.sulky.codec.streaming.DecoderBridge<E>
All Implemented Interfaces:
Decoder<E>

public class DecoderBridge<E>
extends java.lang.Object
implements Decoder<E>


Constructor Summary
DecoderBridge(StreamingDecoder<E> wrapped)
           
 
Method Summary
 E decode(byte[] bytes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DecoderBridge

public DecoderBridge(StreamingDecoder<E> wrapped)
Method Detail

decode

public E decode(byte[] bytes)
Specified by:
decode in interface Decoder<E>