@Override
public WindowPropertyMessage decode(ByteBuf buffer) throws IOException {
int id = buffer.readUnsignedByte();
int progressBar = buffer.readUnsignedShort();
int value = buffer.readUnsignedShort();
return new WindowPropertyMessage(id, progressBar, value);
}