Example usage for io.netty.buffer ByteBufInputStream readUTF

List of usage examples for io.netty.buffer ByteBufInputStream readUTF

Introduction

In this page you can find the example usage for io.netty.buffer ByteBufInputStream readUTF.

Prototype

@Override
    public String readUTF() throws IOException 

Source Link

Usage

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