Example usage for io.netty.buffer ByteBufInputStream readFloat

List of usage examples for io.netty.buffer ByteBufInputStream readFloat

Introduction

In this page you can find the example usage for io.netty.buffer ByteBufInputStream readFloat.

Prototype

@Override
    public float readFloat() throws IOException 

Source Link

Usage

From source file:de.sanandrew.mods.particledeco.util.ParticleBoxData.java

License:Creative Commons License

public static ParticleBoxData getDataFromByteBuf(ByteBufInputStream stream) throws IOException {
    return getNewData(stream.readInt(), stream.readFloat(), stream.readFloat(),
            EnumParticleType.values[stream.readInt()], EnumParticleSpread.values[stream.readInt()]);
}