code: private static void idString(ByteBuffer buffer, StringBuilder out) {
          out.append(buffer.getClass().getSimpleName());
          out.append("@");
          if (buffer.hasArray() && buffer.arrayOffset() == 4) {
              out.append('T');
              byte[] array = buffer.array();
              TypeUtils.toHex(array[0], out);
              TypeUtils.toHex(array[1], out);
              TypeUtils.toHex(array[2], out);
              TypeUtils.toHex(array[3], out);
          } else
              out.append(Integer.toHexString(System.identityHashCode(buffer)));
      }
docs: Convert Buffer to string ID independent of content