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

com.firefly.net.ByteBufferOutputEntry Maven / Gradle / Ivy

There is a newer version: 5.0.0-dev6
Show newest version
package com.firefly.net;

import com.firefly.utils.concurrent.Callback;

import java.nio.ByteBuffer;

public class ByteBufferOutputEntry extends AbstractOutputEntry {

    public ByteBufferOutputEntry(Callback callback, ByteBuffer data) {
        super(callback, data);
    }

    @Override
    public OutputEntryType getOutputEntryType() {
        return OutputEntryType.BYTE_BUFFER;
    }

    @Override
    public long remaining() {
        return data.remaining();
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy