Example usage for io.netty.buffer ByteBufUtil indexOf

List of usage examples for io.netty.buffer ByteBufUtil indexOf

Introduction

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

Prototype

public static int indexOf(ByteBuf buffer, int fromIndex, int toIndex, byte value) 

Source Link

Document

The default implementation of ByteBuf#indexOf(int,int,byte) .

Usage

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

License:Apache License

@Override
public int indexOf(int fromIndex, int toIndex, byte value) {
    return ByteBufUtil.indexOf(this, fromIndex, toIndex, value);
}