All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.navimatrix.commons.data.Coder Maven / Gradle / Ivy

There is a newer version: 1.0.5
Show newest version
package org.navimatrix.commons.data;

import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.nio.ByteBuffer;


public interface Coder {


    /**
     * not optional
     * 
     * @param input
     * 
     * @return 
     * @exception IOException
     */
    public DataObject decodeSdo(InputStream input) throws IOException;


    /**
     * not optional
     * 
     * @param data
     * @param output
     * 
     * @exception IOException
     */
    public void encodeSdo(DataObject data, OutputStream output) throws IOException;
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy