com.coremedia.iso
Class Utf8

java.lang.Object
  extended by com.coremedia.iso.Utf8

public final class Utf8
extends Object

Converts byte[] -> String and vice versa.


Constructor Summary
Utf8()
           
 
Method Summary
static String convert(byte[] b)
           
static byte[] convert(String s)
           
static int utf8StringLengthInBytes(String utf8)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utf8

public Utf8()
Method Detail

convert

public static byte[] convert(String s)

convert

public static String convert(byte[] b)

utf8StringLengthInBytes

public static int utf8StringLengthInBytes(String utf8)


Copyright © 2012. All Rights Reserved.