StringDecodingExtension extension

on

Methods

parseBase64() ByteBuf
Decodes the base64 string using base64Decode and wraps the resulting uint8 list using ByteBuf.asWrappedBuffer resulting in a fixed length buffer.
parseHex() ByteBuf
Decodes the hex string using hexDecode and wraps the resulting uint8 list using ByteBuf.asBuffer resulting in a fixed length buffer.