1import{parseAvroToJsonl as s}from"./avroParser-Czqrt92N.js";import{c as a}from"./jsonLines-C4Cfw6LD.js";import"./vite-preload-ckwbz45p.js";import"./util-CkZ8KZK2.js";import"./jsonRelaxed-DdfPn7XG.js";async function m(n){let r;try{r=await s(n)}catch(e){const t=e instanceof Error?e.message:String(e);throw/magic bytes/i.test(t)?new Error(`"${n.name}" is not an Avro file â its header does not say Avro.`):new Error(t)}const o=a(r.jsonl);if(!o.ok)throw new Error("Could not read the decoded Avro records.");if(o.values.length===0)throw new Error("That Avro file has no records in it.");return{values:o.values,jsonl:r.jsonl,warnings:r.warning?[r.warning]:[]}}export{m as readAvroFile};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.