C# Класс NStandard.Converts.BytesConvert

Показать файл Открыть проект

Открытые методы

Метод Описание
Base64 ( Array bytes ) : string

Converts an array of 8-bit unsigned integers to its equivalent string representation that is encoded with base-64 digits.

HexString ( Array bytes, string separator ) : string

Converts an array of 8-bit unsigned integers to its equivalent string representation that is encoded with hex digits.

String ( Array bytes ) : string

Decodes all the bytes in the specified byte(UTF-8) array into a string.

String ( Array bytes, Encoding encoding ) : string

Decodes all the bytes in the specified byte array into a string.

String ( Array bytes, string encoding ) : string

Decodes all the bytes in the specified byte array into a string.

ToHexString ( Array bytes ) : string

Converts an array of 8-bit unsigned integers to its equivalent string representation that is encoded with hex digits.

UrlSafeBase64 ( Array bytes ) : string

Converts an array of 8-bit unsigned integers to its equivalent string representation that is encoded with url safe base-64 digits.

Описание методов

Base64() публичный статический Метод

Converts an array of 8-bit unsigned integers to its equivalent string representation that is encoded with base-64 digits.
public static Base64 ( Array bytes ) : string
bytes Array
Результат string

HexString() публичный статический Метод

Converts an array of 8-bit unsigned integers to its equivalent string representation that is encoded with hex digits.
public static HexString ( Array bytes, string separator ) : string
bytes Array
separator string
Результат string

String() публичный статический Метод

Decodes all the bytes in the specified byte(UTF-8) array into a string.
public static String ( Array bytes ) : string
bytes Array
Результат string

String() публичный статический Метод

Decodes all the bytes in the specified byte array into a string.
public static String ( Array bytes, Encoding encoding ) : string
bytes Array
encoding Encoding
Результат string

String() публичный статический Метод

Decodes all the bytes in the specified byte array into a string.
public static String ( Array bytes, string encoding ) : string
bytes Array
encoding string
Результат string

ToHexString() публичный статический Метод

Converts an array of 8-bit unsigned integers to its equivalent string representation that is encoded with hex digits.
public static ToHexString ( Array bytes ) : string
bytes Array
Результат string

UrlSafeBase64() публичный статический Метод

Converts an array of 8-bit unsigned integers to its equivalent string representation that is encoded with url safe base-64 digits.
public static UrlSafeBase64 ( Array bytes ) : string
bytes Array
Результат string