XU XUv0.8.8
中文

API

#encoding/base32

import: #encoding/base32

counts: 14 fns, 0 methods, 0 types, 0 consts, 0 ifaces

Std/Hex plus Raw variants.

encode_to_string

XuAPI
pub fn encode_to_string(s string) string

Purpose

Encode to a string.

Parameters

s string
source string (string)

Returns

string — result string

decode_string

XuAPI
pub fn decode_string(s string) string

Purpose

Decode from a string.

Parameters

s string
source string (string)

Returns

string — result string

encoded_len

XuAPI
pub fn encoded_len(n int) int

Purpose

Encoded len.

Parameters

n int
count, length, or limit (int)

Returns

int — a value of this type

decoded_len

XuAPI
pub fn decoded_len(n int) int

Purpose

Decoded len.

Parameters

n int
count, length, or limit (int)

Returns

int — a value of this type

hex_encode_to_string

XuAPI
pub fn hex_encode_to_string(s string) string

Purpose

Hex encode to string.

Parameters

s string
source string (string)

Returns

string — result string

hex_decode_string

XuAPI
pub fn hex_decode_string(s string) string

Purpose

Hex decode string.

Parameters

s string
source string (string)

Returns

string — result string

hex_encoded_len

XuAPI
pub fn hex_encoded_len(n int) int

Purpose

Hex encoded len.

Parameters

n int
count, length, or limit (int)

Returns

int — a value of this type

hex_decoded_len

XuAPI
pub fn hex_decoded_len(n int) int

Purpose

Hex decoded len.

Parameters

n int
count, length, or limit (int)

Returns

int — a value of this type

raw_encode_to_string

XuAPI
pub fn raw_encode_to_string(s string) string

Purpose

Raw encode to string.

Parameters

s string
source string (string)

Returns

string — result string

raw_decode_string

XuAPI
pub fn raw_decode_string(s string) string

Purpose

Raw decode string.

Parameters

s string
source string (string)

Returns

string — result string

raw_hex_encode_to_string

XuAPI
pub fn raw_hex_encode_to_string(s string) string

Purpose

Raw hex encode to string.

Parameters

s string
source string (string)

Returns

string — result string

raw_hex_decode_string

XuAPI
pub fn raw_hex_decode_string(s string) string

Purpose

Raw hex decode string.

Parameters

s string
source string (string)

Returns

string — result string

raw_encoded_len

XuAPI
pub fn raw_encoded_len(n int) int

Purpose

Encoding.EncodedLen with NoPadding.

Parameters

n int
count, length, or limit (int)

Returns

int — a value of this type

raw_decoded_len

XuAPI
pub fn raw_decoded_len(n int) int

Purpose

Encoding.DecodedLen with NoPadding.

Parameters

n int
count, length, or limit (int)

Returns

int — a value of this type