1 17 18 package org.apache.geronimo.util.encoders; 19 20 import java.io.IOException ; 21 import java.io.OutputStream ; 22 23 27 public interface Encoder 28 { 29 int encode(byte[] data, int off, int length, OutputStream out) throws IOException ; 30 31 int decode(byte[] data, int off, int length, OutputStream out) throws IOException ; 32 33 int decode(String data, OutputStream out) throws IOException ; 34 } 35 | Popular Tags |