EncodingUtils.GetAsciiString Method

Definition

Overloads

GetAsciiString(Byte[])

Converts the byte array of ASCII characters to a string.

GetAsciiString(Byte[], Int32, Int32)

Converts the byte array of ASCII characters to a string.

GetAsciiString(Byte[])

Converts the byte array of ASCII characters to a string.

[Android.Runtime.Register("getAsciiString", "([B)Ljava/lang/String;", "")]
public static string? GetAsciiString (byte[]? data);
[<Android.Runtime.Register("getAsciiString", "([B)Ljava/lang/String;", "")>]
static member GetAsciiString : byte[] -> string

Parameters

data
Byte[]

the byte array to be encoded

Returns

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

GetAsciiString(Byte[], Int32, Int32)

Converts the byte array of ASCII characters to a string.

[Android.Runtime.Register("getAsciiString", "([BII)Ljava/lang/String;", "")]
public static string? GetAsciiString (byte[]? data, int offset, int length);
[<Android.Runtime.Register("getAsciiString", "([BII)Ljava/lang/String;", "")>]
static member GetAsciiString : byte[] * int * int -> string

Parameters

data
Byte[]

the byte array to be encoded

offset
Int32

the index of the first byte to encode

length
Int32

the number of bytes to encode

Returns

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to