base64url

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2025 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

base64url package provides a way to encode and decode data using a modified base64 encoding scheme that is safe for URLs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RawDecode

func RawDecode(data []byte) ([]byte, error)

RawDecode function decodes the input byte slice from a base64 URL-safe encoded byte slice. It replaces the URL-unsafe characters with their standard base64 counterparts and then decodes the result using the raw standard base64 decoding.

func RawEncode

func RawEncode(src []byte) []byte

RawEncode function encodes the input byte slice into a base64 URL-safe encoded byte slice. It encodes the input using the raw standard base64 encoding and then replaces the URL-unsafe characters.

Types

This section is empty.

Jump to

Keyboard shortcuts

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