CborArray?ICborConverter <CborArray?> .Read(ref CborReader reader)
        {
            if (reader.ReadNull())
            {
                return(null);
            }

            ArrayReaderContext arrayContext = new ArrayReaderContext();

            reader.ReadArray(this, ref arrayContext);
            return(arrayContext.array);
        }
        public override TI[]? Read(ref CborReader reader)
        {
            if (reader.ReadNull())
            {
                return(null);
            }

            ReaderContext context = new ReaderContext();

            reader.ReadArray(this, ref context);

            if (context.array != null)
            {
                return(context.array);
            }
            else
            {
                return(context.list.ToArray());
            }
        }