@Override
 public int compareTo(ByteBuf var1) {
   return a.compareTo(var1);
 }
 @Override
 public int compareTo(ByteBuf buffer) {
   return buf.compareTo(buffer);
 }
 private static void validatePublishPayload(ByteBuf expected, ByteBuf actual) {
   assertEquals("PublishPayload mismatch ", 0, expected.compareTo(actual));
 }