Example usage for io.netty.buffer EmptyByteBuf isReadable

List of usage examples for io.netty.buffer EmptyByteBuf isReadable

Introduction

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

Prototype

@Override
    public boolean isReadable() 

Source Link

Usage

From source file:io.netty.buffer.EmptyByteBufTest.java

License:Apache License

@Test
public void testIsReadable() {
    EmptyByteBuf empty = new EmptyByteBuf(UnpooledByteBufAllocator.DEFAULT);
    Assert.assertFalse(empty.isReadable());
    Assert.assertFalse(empty.isReadable(1));
}