@Deprecated
public String (byte[] ascii, int hibyte, int offset, int count)

Deprecated: This method does not properly convert bytes into characters. As of JDK 1.1, the preferred way to do this is via the String constructors that take a java.nio.charset.Charset, charset name, or that use the platform's default charset.

Allocates a new String constructed from a subarray of an array of 8-bit integer values.

The offset argument is the index of the first byte of the subarray, and the count argument specifies the length of the subarray.

Each byte in the subarray is converted to a char as specified in the method above.

Parameters:
ascii     The bytes to be converted to characters
hibyte     The top 8 bits of each 16-bit Unicode code unit
offset     The initial offset
count     The length

Exceptions:
IndexOutOfBoundsException     If the offset or count argument is invalid

See also:
String(byte[], int), String(byte[], int, int, java.lang.String), String(byte[], int, int, java.nio.charset.Charset), String(byte[], int, int), String(byte[], java.lang.String), String(byte[], java.nio.charset.Charset), String(byte[])