Package io.netty.buffer

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


        }

        byte b = frame.readByte();
        MixEventName event = MixEventName.resolve(b);
        Object feature = decodeObject(frame);
        float weight = frame.readFloat();
        float covariance = frame.readFloat();
        short clock = frame.readShort();
        int deltaUpdates = frame.readInt();
        String groupID = readString(frame);
View Full Code Here


        byte b = frame.readByte();
        MixEventName event = MixEventName.resolve(b);
        Object feature = decodeObject(frame);
        float weight = frame.readFloat();
        float covariance = frame.readFloat();
        short clock = frame.readShort();
        int deltaUpdates = frame.readInt();
        String groupID = readString(frame);

        MixMessage msg = new MixMessage(event, feature, weight, covariance, clock, deltaUpdates);
View Full Code Here

  }

  @Override
  public void handleUpdatePacket(PacketUpdate packet) throws IOException {
    ByteBuf stream = packet.payload.stream;
    animationSpeed = stream.readFloat();
    tankManager.readData(stream);
  }

  @Override
  public boolean canFill(ForgeDirection from, Fluid fluid) {
View Full Code Here

  @Override
  public void handleUpdatePacket(PacketUpdate packet) throws IOException {
    PacketPayload payload = packet.payload;
    ByteBuf data = payload.stream;
    aimY = data.readInt();
    tubeY = data.readFloat();
    powered = data.readBoolean();

    setTubePosition();
  }
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.