Java ID Value Create toIDString(final byte[] id)

Here you can find the source of toIDString(final byte[] id)

Description

to ID String

License

BSD License

Declaration

public static String toIDString(final byte[] id) 

Method Source Code

//package com.java2s;
//License from project: BSD License 

public class Main {
    public static String toIDString(final byte[] id) {
        final StringBuilder builder = new StringBuilder();
        for (final byte each : id) {
            builder.append(each);/*  w  w  w.  j  a v  a 2s.co m*/
        }
        return builder.toString();
    }
}

Related

  1. toIdentifierString(long val)
  2. toIdentityEncodedString(byte[] data)
  3. toIdentityHashCodeInteger(Object value)
  4. toIdentityVariableName(String varName)
  5. toIdSet(boolean includeAlphaCharacters, String nonAlphaCharacters)