Example usage for java.nio.channels ReadableByteChannel interface-usage

List of usage examples for java.nio.channels ReadableByteChannel interface-usage

Introduction

In this page you can find the example usage for java.nio.channels ReadableByteChannel interface-usage.

Usage

From source file io.dyn.net.nio.BufferByteChannel.java

/**
 * @author Jon Brisbin <jon@jbrisbin.com>
 */
public class BufferByteChannel implements ReadableByteChannel, WritableByteChannel {

    private Buffer buffer;

From source file Main.java

class CallbackByteChannel implements ReadableByteChannel {
    ProgressCallBack delegate;
    long size;
    ReadableByteChannel rbc;
    long sizeRead;