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