                  }catch(ex)
                    {
                        errs = ex;
                        console.log(ex);
                    }
                }
            }
            if(objstart>0 && objend>0)
            {
                inObject = false;
                buffer = buffer.slice(objend+1); // Remove the processed object from the buffer
                if(newdb.length>=(elemend-elemstart))
                {
                    errs = `Loading stopped at ${newdb.length} 