public static bool GetBytes(NativeBase64Decoder decoder,
                                    NativeList <byte> bytes,
                                    Char16 *ptr, int len)
        {
            var dec = decoder.GetUnsafeRef();
            var res = bytes.GetUnsafeRef();

            Base64EncodingBurstCompile._getBytesDelegate(ref dec, ref res, ptr, len, out bool success);
            return(success);
        }
        public static bool GetBytes <T>(NativeBase64Decoder decoder,
                                        NativeList <byte> bytes,
                                        T slice)
            where T : IJaggedArraySliceBase <Char16>
        {
            var dec = decoder.GetUnsafeRef();
            var res = bytes.GetUnsafeRef();

            Base64EncodingBurstCompile._getBytesDelegate(ref dec, ref res,
                                                         (Char16 *)slice.GetUnsafePtr(), slice.Length,
                                                         out bool success);
            return(success);
        }