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

zmq.io.coder.IDecoder Maven / Gradle / Ivy

The newest version!
package zmq.io.coder;

import java.nio.ByteBuffer;

import zmq.Msg;
import zmq.util.ValueReference;

public interface IDecoder
{
    interface Step
    {
        enum Result
        {
            MORE_DATA,
            DECODED,
            ERROR;
        }

        Result apply();
    }

    ByteBuffer getBuffer();

    Step.Result decode(ByteBuffer buffer, int size, ValueReference processed);

    Msg msg();

    void destroy();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy