net.sf.juoserver.api
Interface Encoder

All Known Implementing Classes:
Huffman

public interface Encoder

Contract for a generic encoder.


Method Summary
 byte[] encode(byte[] packet)
          Encodes a byte array
 

Method Detail

encode

byte[] encode(byte[] packet)
Encodes a byte array

Parameters:
packet - byte array to be encoded
Returns:
the encoded packet


Copyright © 2010-2012. All Rights Reserved.