Removed Moquette parser module

This commit is contained in:
andsel
2017-03-05 12:37:32 +01:00
parent e5c46e7a55
commit 46d27e3bea
83 changed files with 83 additions and 5557 deletions
@@ -25,16 +25,7 @@ import java.nio.ByteBuffer;
*/
class DebugUtils {
static String payload2Str(ByteBuffer content) {
byte[] b = new byte[content.remaining()];
content.mark();
content.get(b);
content.reset();
return new String(b);
}
static String payload2Str(ByteBuf content) {
// byte[] b = new byte[content.readableBytes()];
return new String(content.copy().array());
return new String(content.copy ().array());
}
}