Example usage for io.netty.buffer DuplicatedByteBuf DuplicatedByteBuf

List of usage examples for io.netty.buffer DuplicatedByteBuf DuplicatedByteBuf

Introduction

In this page you can find the example usage for io.netty.buffer DuplicatedByteBuf DuplicatedByteBuf.

Prototype

public DuplicatedByteBuf(ByteBuf buffer) 

Source Link

Usage

From source file:net.tomp2p.storage.AlternativeCompositeByteBuf.java

License:Apache License

@Override
public ByteBuf duplicate() {
    return new DuplicatedByteBuf(this);
}