class BytesListimport { BytesList } from "https://dotland.deno.dev/std@0.131.0/bytes/bytes_list.ts"; An abstraction of multiple Uint8Arrays ConstructorsnewBytesList()Propertiesprivatechunks: { value: Uint8Array; start: number; end: number; offset: number; }[]privatelen: numberMethodsadd(value: Uint8Array,start?,end?,)Push bytes with given offset infos concat(): Uint8ArrayConcatenate chunks into single Uint8Array copied. get(i: number): numberGet indexed byte from chunks getChunkIndex(pos: number): numberFind chunk index in which pos locates by binary-search returns -1 if out of range iterator(start?): IterableIterator<number>Iterator of bytes from given position shift(n: number)Drop head n bytes. size()Total size of bytes slice(start: number, end?: number): Uint8ArrayReturns subset of bytes copied