private static final char DELIMITER = '\ufffd';
private static final byte[] DELIMITER_BYTES = new String(
new char[] { DELIMITER }).getBytes(CharsetUtil.UTF_8);
private static final int DELIMITER_BYTES_SIZE = DELIMITER_BYTES.length;
private PacketFramer() {
<BUG>}
public static String encodePacketsFrame(
final PacketsFrame packetsFrame) throws IOException {</BUG>
List<IPacket> packets = packetsFrame.getPackets();
StringBuilder result = new StringBuilder();

private static final char DELIMITER = '\ufffd';
private static final byte[] DELIMITER_BYTES = new String(
new char[] { DELIMITER }).getBytes(CharsetUtil.UTF_8);
private static final int DELIMITER_BYTES_SIZE = DELIMITER_BYTES.length;
private PacketFramer() {
}
public static ByteBuf encodePacketsFrame(final PacketsFrame packetsFrame) throws IOException {
List<IPacket> packets = packetsFrame.getPackets();
StringBuilder result = new StringBuilder();
