List of usage examples for io.netty.buffer ByteBufInputStream readFloat
@Override public float readFloat() throws IOException
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()]); }