#include <Strybble.h>
Static Public Member Functions | |
| template<s32 TInCount, s32 TOutCount> | |
| static s32 | decodeFromChars (const u8(&encoded)[TInCount], u8(&decoded)[TOutCount]) |
| Decodes an array of Strybble charcodes into a proper ASCII string. | |
| static s32 | decodeFromBitstream (const u8 *bitstream, u8 *decoded, s32 charCount) |
| Unpacks a packed 6-bit-per-code bitstream into an array of Strybble character codes. | |
|
inlinestatic |
Decodes an array of Strybble charcodes into a proper ASCII string.
| encoded | The input array of Strybble charcodes. |
| decoded | The output array to write the decoded string into. |
| TInCount | Deduced size of the input array. |
| TOutCount | Deduced size of the output array. |
|
inlinestatic |
Unpacks a packed 6-bit-per-code bitstream into an array of Strybble character codes.
| bitstream | The input array of bytes containing the bitstream to unpack. |
| decoded | The output buffer to write the decoded codes into. |
| charCount | The number of characters to decode. decoded must be sized charCount + 1. |