public static String channelList(Collection<Channel> channels) {
		PacketBuilder buffer = new PacketBuilder(
				SendOpcode.CHANNEL_LIST.getValue());

		for (Channel channel : channels) {
			int count = channel.countClients();
			buffer.writeByte(0x00);
			buffer.writeString(channel.getName());
			buffer.writeByte(0x0A);
			buffer.writeString(String.valueOf(count));
			buffer.writeByte(0x00);
			buffer.writeByte('p'); // font weight
			buffer.writeByte(0x00);
			buffer.writeString("B");

			if (count == channel.getSize()) {
				buffer.writeByte(0x00);
				buffer.writeString("pics/icon_fullChannel.gif");
			}

			buffer.writeByte(0x00);
			buffer.writeString("-");
		}

		return buffer.toString();
	}