Example usage for io.netty.buffer ByteBuf getFloat

List of usage examples for io.netty.buffer ByteBuf getFloat

Introduction

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

Prototype

public abstract float getFloat(int index);

Source Link

Document

Gets a 32-bit floating point number at the specified absolute index in this buffer.

Usage

From source file:io.reactiverse.pgclient.impl.codec.DataTypeCodec.java

License:Apache License

private static Float binaryDecodeFLOAT4(int index, int len, ByteBuf buff) {
    return buff.getFloat(index);
}