C# 클래스 NStandard.Converts.BytesConvert

파일 보기 프로젝트 열기: zmjack/NStandard

공개 메소드들

메소드 설명
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