List of usage examples for io.netty.buffer ByteBufInputStream readUTF
@Override public String readUTF() throws IOException
From source file:net.mcsproject.daemon.network.packets.PacketServerStart.java
License:Open Source License
@Override public void read(ByteBufInputStream byteBuf) throws IOException { this.serverType = byteBuf.readUTF(); }
From source file:net.mcsproject.daemon.network.packets.PacketServerStarted.java
License:Open Source License
@Override public void read(ByteBufInputStream byteBuf) throws IOException { this.serverType = byteBuf.readUTF(); this.port = byteBuf.readInt(); }