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

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

Introduction

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

Usage

From source file com.lambdaworks.redis.protocol.EmptyByteBuf.java

/**
 * @author Mark Paluch
 */
class EmptyByteBuf extends ByteBuf {

    @Override

From source file io.lettuce.core.protocol.EmptyByteBuf.java

/**
 * @author Mark Paluch
 */
class EmptyByteBuf extends ByteBuf {

    private static final EmptyByteBuf INSTANCE = new EmptyByteBuf();

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

/**
 * Heavily inspired by CompositeByteBuf, but with a slight different behavior.
 * 
 * @author Thomas Bocek
 *
 */

From source file org.apache.drill.exec.memory.AccountingByteBuf.java

public class AccountingByteBuf extends ByteBuf {
    static final org.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger(AccountingByteBuf.class);

    private final PooledUnsafeDirectByteBufL b;
    private final Accountor acct;
    private int size;

From source file org.apache.drill.exec.record.DeadBuf.java

public class DeadBuf extends ByteBuf {
    static final org.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger(DeadBuf.class);

    private static final String ERROR_MESSAGE = "Attemped to access a DeadBuf. This would happen if you attempted to interact with a buffer that has been moved or not yet initialized.";

    public static final DrillBuf DEAD_BUFFER = null;

From source file org.quartzpowered.network.buffer.Buffer.java

@Data
@EqualsAndHashCode(callSuper = false)
public class Buffer extends ByteBuf {
    @Delegate
    private final ByteBuf buf;

From source file org.spongepowered.common.mixin.core.network.MixinPacketBuffer.java

@Mixin(PacketBuffer.class)
@Implements(@Interface(iface = ChannelBuf.class, prefix = "cbuf$"))
public abstract class MixinPacketBuffer extends ByteBuf {

    @Shadow
    @Final

From source file org.spout.api.protocol.replayable.ReplayableByteBuf.java

public class ReplayableByteBuf extends ByteBuf {
    private final static ReplayableException ERROR_INSTANCE = new ReplayableException("");
    private ByteBuf buffer;

    public ByteBuf setBuffer(ByteBuf buffer) {
        this.buffer = buffer;

From source file ratpack.bytebuf.ByteBufRef.java

/**
 * A byte buf that is backed by another, but has its own ref count lifecycle.
 */
public class ByteBufRef extends ByteBuf {

    private final ReferenceCounted counted;

From source file uk.co.thinkofdeath.prismarine.network.MCByteBuf.java

/**
 * An extension to netty's ByteBuf to support
 * the extra types used by Minecraft
 */
public class MCByteBuf extends ByteBuf {