Documentation ¶
Overview ¶
bytesconv provides conversion functions between slice of bytes and encoded formats.
B64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_" / No padding.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func B64ToBytes ¶
B64ToBytes takes an encoded string and return a slice of bytes representation. Must have sanitized input value!
func B64ToBytesErr ¶
B64ToBytesErr takes an encoded string and return a slice of bytes representation and nil or an error.
func BytesToB64 ¶
BytesToB64 takes a slice of bytes and returns an encoded string representation.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.