core

package
v1.6.29 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 7, 2024 License: BSD-2-Clause-Patent Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsBase64String

func IsBase64String(str string) bool

IsBase64String ...

Types

type Base64

type Base64 string

Base64 is the base64 string representation of a byte array. NB: if the passed string is not a valid base64 representation, it will not throw an error but rather returns an empty or nil item when methods are called.

func ToBase64

func ToBase64(bytes []byte) Base64

ToBase64 ...

func (Base64) Bytes

func (b Base64) Bytes() []byte

Bytes ...

func (Base64) Decoded

func (b Base64) Decoded() []byte

Decoded returns the underlying base64-decoded byte array

func (Base64) String

func (b Base64) String() string

String ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL