dymokomi/luce-browser-foundation
Source of release 0.6.1
0.6.1 / src / ak / types_base64.lucb
#==============================================================================================
#
# types_base64 - declarations of AK/Base64.h
#
# DESCRIPTION:
# Structs, enums, vtables, class information and cast helpers generated from AK/Base64.h
# (Ladybird 47c82b38d0) by the skeleton generator (DESIGN.md ยง4.4). Regenerate rather
# than edit, except to fill a field the generator could not map.
#
#==============================================================================================
## AK::LastChunkHandling (AK/Base64.h:18).
pub enum LastChunkHandling as i32:
loose = 0
strict = 1
stop_before_partial = 2
# mark: InvalidBase64 ===========================================================================
## AK::InvalidBase64 (AK/Base64.h:27).
pub struct InvalidBase64:
pub var error: AkError
pub var valid_input_bytes: usize # C++ default: { 0 }
## AK::OmitPadding (AK/Base64.h:37).
pub enum OmitPadding as i32:
no = 0
yes = 1
## AK::ErrorOr<size_t, InvalidBase64> (AK/Base64.h:33), the result of decode_base64_into and
## decode_base64url_into: the input bytes decoded, or the error and how much input was valid
## (added by r02; `T!` cannot carry InvalidBase64).
pub enum DecodeBase64IntoResult:
decoded(count: usize)
invalid(invalid_base64: InvalidBase64)