Java UTF from toUTF8String(byte[] b, int offset, int length)

Here you can find the source of toUTF8String(byte[] b, int offset, int length)

Description

to UTF String

License

Open Source License

Declaration

public static String toUTF8String(byte[] b, int offset, int length) 

Method Source Code

//package com.java2s;
//  are made available under the terms of the Eclipse Public License v1.0

import java.nio.charset.StandardCharsets;

public class Main {
    public static String toUTF8String(byte[] b, int offset, int length) {
        return new String(b, offset, length, StandardCharsets.UTF_8);
    }//from   w ww . j  a  va2  s  .  c  o m
}

Related

  1. toUtf8Code(char utf16)
  2. toUtf8Codes(String str)
  3. toUTF8FromLatin1(byte[] outputBuffer, String string)
  4. toUTF8k(String in)
  5. toUtf8Path(String path)
  6. toUtf8String(String source)
  7. toUTF8String(String str)
  8. toUTF_8(String s)
  9. toUTFBody(String str)