C# 클래스 SecurityDriven.Inferno.Extensions.Base32Extensions

파일 보기 프로젝트 열기: sdrapkin/SecurityDriven.Inferno

공개 메소드들

메소드 설명
FromBase32 ( this str32, Base32Config config = null ) : byte[]

Converts a Base32-encoded string into equivalent byte array. Does not validate Base32 encoding correctness.

ToBase32 ( this binary, Base32Config config = null ) : string

Converts a byte array into equivalent Base32-encoded string.

Binary array length must be a multiple of 5.

ToBase32 ( this binarySegment, Base32Config config = null ) : string

Converts a byte array segment into equivalent Base32-encoded string.

Binary segment length must be a multiple of 5.

메소드 상세

FromBase32() 공개 정적인 메소드

Converts a Base32-encoded string into equivalent byte array. Does not validate Base32 encoding correctness.
public static FromBase32 ( this str32, Base32Config config = null ) : byte[]
str32 this
config Base32Config
리턴 byte[]

ToBase32() 공개 정적인 메소드

Converts a byte array into equivalent Base32-encoded string.
Binary array length must be a multiple of 5.
public static ToBase32 ( this binary, Base32Config config = null ) : string
binary this
config Base32Config
리턴 string

ToBase32() 공개 정적인 메소드

Converts a byte array segment into equivalent Base32-encoded string.
Binary segment length must be a multiple of 5.
public static ToBase32 ( this binarySegment, Base32Config config = null ) : string
binarySegment this
config Base32Config
리턴 string