Example usage for io.netty.buffer EmptyByteBuf isWritable

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

Introduction

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

Prototype

@Override
    public boolean isWritable() 

Source Link

Usage

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

License:Apache License

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