code: private static String newString(byte[] bytes, Charset charset) {
          return bytes == null ? null : new String(bytes, charset);
      }
docs: Constructs a new <code>String</code> by decoding the specified array of bytes using the given charset.
  
  @param bytes
  The bytes to be decoded into characters
  @param charset
  The {@link Charset} to encode the {@code String}
  @return A new <code>String</code> decoded from the specified array of bytes using the given charset,
  or {@code null} if the input byte array was {@code null}.
  @throws NullPointerException
  Thrown if {@link Charsets#UTF_8} is not initialized, which should never happen since it is
  required by the Java platform specification.