REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
|
Loading...
Searching...
No Matches
etl_base64.h
Go to the documentation of this file.
92 typename etl::enable_if<etl::is_integral<T>::value && (etl::integral_limits<T>::bits == 8U), size_t>::type
103 ETL_ASSERT_OR_RETURN_VALUE(output_length >= required_output_length, ETL_ERROR(base64_overflow), 0U);
196 typename etl::enable_if<etl::is_integral<T>::value && (etl::integral_limits<T>::bits == 8U), size_t>::type
209 typename etl::enable_if<etl::is_integral<T>::value && (etl::integral_limits<T>::bits == 8U), size_t>::type
223 typename etl::enable_if<etl::is_integral<T>::value && (etl::integral_limits<T>::bits == 8U), size_t>::type
239 typename etl::enable_if<etl::is_integral<T>::value && (etl::integral_limits<T>::bits == 8U), size_t>::type
255 typename etl::enable_if<etl::is_integral<T>::value && (etl::integral_limits<T>::bits == 8U), size_t>::type
292 typename etl::enable_if<etl::is_integral<T>::value && (etl::integral_limits<T>::bits == 8U), size_t>::type
303 ETL_ASSERT_OR_RETURN_VALUE(output_length >= required_output_length, ETL_ERROR(base64_overflow), 0U);
383 typename etl::enable_if<etl::is_integral<T>::value && (etl::integral_limits<T>::bits == 8U), size_t>::type
396 typename etl::enable_if<etl::is_integral<T>::value && (etl::integral_limits<T>::bits == 8U), size_t>::type
base64_exception(string_type reason_, string_type file_name_, numeric_type line_number_)
Definition etl_base64.h:60
base64_overflow(string_type file_name_, numeric_type line_number_)
Definition etl_base64.h:73
static ETL_CONSTEXPR14 etl::enable_if< etl::is_integral< T >::value &&(etl::integral_limits< T >::bits==8U), size_t >::type encode(const T *input, size_t input_length, char *output, size_t output_length)
Encode to Base64 from and to pointer/length.
Definition etl_base64.h:93
static ETL_CONSTEXPR14 etl::enable_if< etl::is_integral< T >::value &&(etl::integral_limits< T >::bits==8U), size_t >::type decode(const char *input, size_t input_length, T *output, size_t output_length)
Decode from Base64 from and to pointer/length.
Definition etl_base64.h:293
static ETL_CONSTEXPR14 etl::enable_if< etl::is_integral< T >::value &&(etl::integral_limits< T >::bits==8U), size_t >::type encode(const etl::span< const T, Length1 > &input_span, const etl::span< char, Length2 > &output_span)
Encode to Base64 from and to span/span.
Definition etl_base64.h:210
static ETL_CONSTEXPR14 etl::enable_if< etl::is_integral< T >::value &&(etl::integral_limits< T >::bits==8U), size_t >::type decode(const char *input_begin, const char *input_end, T *output_begin, T *output_end)
Decode from Base64 from and to pointer/pointer.
Definition etl_base64.h:384
static ETL_CONSTEXPR14 etl::enable_if< etl::is_integral< T >::value &&(etl::integral_limits< T >::bits==8U), size_t >::type encode(const T *input_begin, const T *input_end, char *output_begin, char *output_end)
Encode to Base64 from and to pointer/pointer.
Definition etl_base64.h:197
static ETL_CONSTEXPR14 etl::enable_if< etl::is_integral< T >::value &&(etl::integral_limits< T >::bits==8U), size_t >::type decode(const etl::span< const char, Length1 > &input_span, const etl::span< T, Length2 > &output_span)
Decode from Base64 from and to span/span.
Definition etl_base64.h:397
ETL_NODISCARD static ETL_CONSTEXPR14 size_t encode_size(size_t input_length)
Calculates the buffer size required to encode to Base64.
Definition etl_base64.h:271
static ETL_CONSTEXPR14 etl::enable_if< etl::is_integral< T >::value &&(etl::integral_limits< T >::bits==8U), size_t >::type encode(const T *input_begin, size_t input_length, etl::istring &output)
Encode to Base64 from pointer/length to etl::istring.
Definition etl_base64.h:224
static ETL_CONSTEXPR14 etl::enable_if< etl::is_integral< T >::value &&(etl::integral_limits< T >::bits==8U), size_t >::type encode(const T *input_begin, const T *input_end, etl::istring &output)
Encode to Base64 from pointer/pointer to etl::istring.
Definition etl_base64.h:240
static ETL_CONSTEXPR14 etl::enable_if< etl::is_integral< T >::value &&(etl::integral_limits< T >::bits==8U), size_t >::type encode(const etl::span< const T, Length1 > &input_span, etl::istring &output)
Encode to Base64 from span to etl::istring.
Definition etl_base64.h:256
ETL_NODISCARD static ETL_CONSTEXPR14 size_t decode_size(const char *input, size_t input_length)
Calculates the buffer size required to decode from Base64.
Definition etl_base64.h:409