Example usage for io.netty.buffer UnpooledHeapByteBuf subclass-usage

List of usage examples for io.netty.buffer UnpooledHeapByteBuf subclass-usage

Introduction

In this page you can find the example usage for io.netty.buffer UnpooledHeapByteBuf subclass-usage.

Usage

From source file org.ballerinalang.broker.BallerinaBrokerByteBuf.java

/**
 * Implementation of {@link io.netty.buffer.ByteBuf}, to hold a {@link BValue}, to use with the internal broker core
 * used in Ballerina.
 *
 * @since 0.973.0
 */

From source file org.elasticsearch.http.nio.PagedByteBuf.java

public class PagedByteBuf extends UnpooledHeapByteBuf {

    private final Runnable releasable;

    private PagedByteBuf(byte[] array, Runnable releasable) {
        super(UnpooledByteBufAllocator.DEFAULT, array, array.length);