Android Guides | Samples

Java.Lang.String Constructor

Converts the byte array to a string, setting the high byte of every char to the specified value.

Syntax

[Android.Runtime.Register(".ctor", "([BI)V", "")]
public String (Byte[] data, Int32 high)

Parameters

data
high

Exceptions

TypeReason
NullPointerExceptionif data == null.

Remarks

Converts the byte array to a string, setting the high byte of every char to the specified value.

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1