Package io.netty.buffer

Examples of io.netty.buffer.ByteBuf.writeFloat()


    ByteBuf data = Unpooled.buffer();

    data.writeInt( getPacketID() );
    data.writeFloat( (float) x );
    data.writeFloat( (float) y );
    data.writeFloat( (float) z );
    data.writeByte( this.d.ordinal() );
    data.writeBoolean( wasBlock );

    configureWrite( data );
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.