package com.infendro.encoding object Hex : Encoding() { private val CHARACTERS = ubyteArrayOf( 0x30U, 0x31U, 0x32U, 0x33U, 0x34U, 0x35U, 0x36U, 0x37U, 0x38U, 0x39U, 0x61U, 0x62U, 0x63U, 0x64U, 0x65U, 0x66U, ) override fun encode( bytes: UByteArray, ): UByteArray { return encode( bytes, CHARACTERS, ) } override fun decode( bytes: UByteArray, ): UByteArray { return decode( bytes, CHARACTERS, ) } }