package core:encoding/base64
⌘K
Ctrl+K
or
/
Overview
Base64
encoding and decoding.
A secondary param can be used to supply a custom alphabet to encode
and a matching decoding table to decode
.
If none is supplied it just uses the standard Base64 alphabet. In case your specific version does not use padding, you may truncate it from the encoded output.
Index
Types (0)
This section is empty.
Constants (1)
Procedures (6)
Procedure Groups (0)
This section is empty.
Types
This section is empty.
Constants
Variables
DEC_TABLE ¶
DEC_TABLE: [128]int = …
ENC_TABLE ¶
ENC_TABLE: [64]u8 = …
Procedures
decode ¶
decode :: proc(data: string, DEC_TBL: [128]int = DEC_TABLE, allocator := context.allocator) -> (decoded: []u8, err: runtime.Allocator_Error) #optional_ok {…}
encode ¶
encode :: proc(data: []u8, ENC_TBL: [64]u8 = ENC_TABLE, allocator := context.allocator) -> (encoded: string, err: runtime.Allocator_Error) #optional_ok {…}
Procedure Groups
This section is empty.
Source Files
Generation Information
Generated with odin version dev-2025-10 (vendor "odin") Windows_amd64 @ 2025-10-10 13:03:13.977720800 +0000 UTC