package org.socketio.netty.serialization;
<BUG>import java.io.IOException;
import org.socketio.netty.packets.Packet;</BUG>
public final class PacketEncoder {
private static final String DELIMITER = ":";
private static final int DELIMITER_LENGTH = DELIMITER.length();

package org.socketio.netty.serialization;
import java.io.IOException;
import java.nio.ByteBuffer;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.CompositeByteBuf;
import io.netty.buffer.PooledByteBufAllocator;
import io.netty.util.CharsetUtil;
import org.socketio.netty.packets.Packet;
public final class PacketEncoder {
private static final String DELIMITER = ":";
private static final int DELIMITER_LENGTH = DELIMITER.length();
