Mojo function
b64encode
b64encode(input_bytes: List[SIMD[uint8, 1], hint_trivial_type], mut result: List[SIMD[uint8, 1], hint_trivial_type])
Performs base64 encoding on the input string.
Args:
- input_bytes (
List[SIMD[uint8, 1], hint_trivial_type]
): The input string buffer. Assumed to be null-terminated. - result (
List[SIMD[uint8, 1], hint_trivial_type]
): The buffer in which to store the values.
b64encode(input_string: String) -> String
Performs base64 encoding on the input string.
Args:
- input_string (
String
): The input string buffer. Assumed to be null-terminated.
Returns:
The ASCII base64 encoded string.
b64encode(input_bytes: List[SIMD[uint8, 1], hint_trivial_type]) -> String
Performs base64 encoding on the input string.
Args:
- input_bytes (
List[SIMD[uint8, 1], hint_trivial_type]
): The input string buffer. Assumed to be null-terminated.
Returns:
The ASCII base64 encoded string.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!