123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754 |
- <!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Buffer | @rcsb/rcsb-saguaro-3d</title><meta name="description" content="Documentation for @rcsb/rcsb-saguaro-3d"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.body.classList.add(localStorage.getItem("tsd-theme") || "os")</script><header><div class="tsd-page-toolbar"><div class="container"><div class="table-wrap"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption">Search</label><input type="text" id="tsd-search-field"/></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@rcsb/rcsb-saguaro-3d</a></div><div class="table-cell" id="tsd-widgets"><div id="tsd-filter"><a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a><div class="tsd-filter-group"><div class="tsd-select" id="tsd-filter-visibility"><span class="tsd-select-label">All</span><ul class="tsd-select-list"><li data-value="public">Public</li><li data-value="protected">Public/Protected</li><li data-value="private" class="selected">All</li></ul></div> <input type="checkbox" id="tsd-filter-inherited" checked/><label class="tsd-widget" for="tsd-filter-inherited">Inherited</label><input type="checkbox" id="tsd-filter-externals" checked/><label class="tsd-widget" for="tsd-filter-externals">Externals</label></div></div><a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a></div></div></div></div><div class="tsd-page-title"><div class="container"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@rcsb/rcsb-saguaro-3d</a></li><li><a href="../modules/RcsbFv3DAssembly.html">RcsbFv3DAssembly</a></li><li><a href="../modules/RcsbFv3DAssembly._internal_.html"><internal></a></li><li><a href="RcsbFv3DAssembly._internal_.Buffer.html">Buffer</a></li></ul><h1>Interface Buffer </h1></div></div></header><div class="container container-main"><div class="row"><div class="col-8 col-content"><section class="tsd-panel tsd-hierarchy"><h3>Hierarchy</h3><ul class="tsd-hierarchy"><li><span class="tsd-signature-type">Uint8Array</span><ul class="tsd-hierarchy"><li><span class="target">Buffer</span></li></ul></li></ul></section><section class="tsd-panel-group tsd-index-group"><h2>Index</h2><section class="tsd-panel tsd-index-panel"><div class="tsd-index-content"><section class="tsd-index-section tsd-is-inherited tsd-is-external"><h3>Properties</h3><ul class="tsd-index-list"><li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#BYTES_PER_ELEMENT" class="tsd-kind-icon">BYTES_<wbr/>PER_<wbr/>ELEMENT</a></li><li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#_toStringTag_" class="tsd-kind-icon">[to<wbr/>String<wbr/>Tag]</a></li><li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#buffer" class="tsd-kind-icon">buffer</a></li><li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#byteLength" class="tsd-kind-icon">byte<wbr/>Length</a></li><li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#byteOffset" class="tsd-kind-icon">byte<wbr/>Offset</a></li><li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#length" class="tsd-kind-icon">length</a></li></ul></section><section class="tsd-index-section tsd-is-external"><h3>Methods</h3><ul class="tsd-index-list"><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#_iterator_" class="tsd-kind-icon">[iterator]</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#at" class="tsd-kind-icon">at</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#compare" class="tsd-kind-icon">compare</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#copy" class="tsd-kind-icon">copy</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#copyWithin" class="tsd-kind-icon">copy<wbr/>Within</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-overwrite tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#entries" class="tsd-kind-icon">entries</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#equals" class="tsd-kind-icon">equals</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#every" class="tsd-kind-icon">every</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-overwrite tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#fill" class="tsd-kind-icon">fill</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#filter" class="tsd-kind-icon">filter</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#find" class="tsd-kind-icon">find</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#findIndex" class="tsd-kind-icon">find<wbr/>Index</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#forEach" class="tsd-kind-icon">for<wbr/>Each</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-overwrite tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#includes" class="tsd-kind-icon">includes</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-overwrite tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#indexOf" class="tsd-kind-icon">index<wbr/>Of</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#join" class="tsd-kind-icon">join</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-overwrite tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#keys" class="tsd-kind-icon">keys</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-overwrite tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#lastIndexOf" class="tsd-kind-icon">last<wbr/>Index<wbr/>Of</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#map" class="tsd-kind-icon">map</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readBigInt64BE" class="tsd-kind-icon">read<wbr/>Big<wbr/>Int64BE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readBigInt64LE" class="tsd-kind-icon">read<wbr/>Big<wbr/>Int64LE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readBigUInt64BE" class="tsd-kind-icon">read<wbr/>BigUInt64BE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readBigUInt64LE" class="tsd-kind-icon">read<wbr/>BigUInt64LE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readBigUint64BE" class="tsd-kind-icon">read<wbr/>Big<wbr/>Uint64BE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readBigUint64LE" class="tsd-kind-icon">read<wbr/>Big<wbr/>Uint64LE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readDoubleBE" class="tsd-kind-icon">read<wbr/>DoubleBE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readDoubleLE" class="tsd-kind-icon">read<wbr/>DoubleLE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readFloatBE" class="tsd-kind-icon">read<wbr/>FloatBE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readFloatLE" class="tsd-kind-icon">read<wbr/>FloatLE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readInt16BE" class="tsd-kind-icon">read<wbr/>Int16BE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readInt16LE" class="tsd-kind-icon">read<wbr/>Int16LE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readInt32BE" class="tsd-kind-icon">read<wbr/>Int32BE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readInt32LE" class="tsd-kind-icon">read<wbr/>Int32LE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readInt8" class="tsd-kind-icon">read<wbr/>Int8</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readIntBE" class="tsd-kind-icon">read<wbr/>IntBE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readIntLE" class="tsd-kind-icon">read<wbr/>IntLE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readUInt16BE" class="tsd-kind-icon">readUInt16BE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readUInt16LE" class="tsd-kind-icon">readUInt16LE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readUInt32BE" class="tsd-kind-icon">readUInt32BE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readUInt32LE" class="tsd-kind-icon">readUInt32LE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readUInt8" class="tsd-kind-icon">readUInt8</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readUIntBE" class="tsd-kind-icon">readUIntBE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readUIntLE" class="tsd-kind-icon">readUIntLE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readUint16BE" class="tsd-kind-icon">read<wbr/>Uint16BE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readUint16LE" class="tsd-kind-icon">read<wbr/>Uint16LE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readUint32BE" class="tsd-kind-icon">read<wbr/>Uint32BE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readUint32LE" class="tsd-kind-icon">read<wbr/>Uint32LE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readUint8" class="tsd-kind-icon">read<wbr/>Uint8</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readUintBE" class="tsd-kind-icon">read<wbr/>UintBE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readUintLE" class="tsd-kind-icon">read<wbr/>UintLE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-has-type-parameter tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#reduce" class="tsd-kind-icon">reduce</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-has-type-parameter tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#reduceRight" class="tsd-kind-icon">reduce<wbr/>Right</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-overwrite tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#reverse" class="tsd-kind-icon">reverse</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#set" class="tsd-kind-icon">set</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-overwrite tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#slice" class="tsd-kind-icon">slice</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#some" class="tsd-kind-icon">some</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#sort" class="tsd-kind-icon">sort</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-overwrite tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#subarray" class="tsd-kind-icon">subarray</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#swap16" class="tsd-kind-icon">swap16</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#swap32" class="tsd-kind-icon">swap32</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#swap64" class="tsd-kind-icon">swap64</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#toJSON" class="tsd-kind-icon">toJSON</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#toLocaleString" class="tsd-kind-icon">to<wbr/>Locale<wbr/>String</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-overwrite tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#toString" class="tsd-kind-icon">to<wbr/>String</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#valueOf" class="tsd-kind-icon">value<wbr/>Of</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-overwrite tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#values" class="tsd-kind-icon">values</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#write" class="tsd-kind-icon">write</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeBigInt64BE" class="tsd-kind-icon">write<wbr/>Big<wbr/>Int64BE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeBigInt64LE" class="tsd-kind-icon">write<wbr/>Big<wbr/>Int64LE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeBigUInt64BE" class="tsd-kind-icon">write<wbr/>BigUInt64BE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeBigUInt64LE" class="tsd-kind-icon">write<wbr/>BigUInt64LE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeBigUint64BE" class="tsd-kind-icon">write<wbr/>Big<wbr/>Uint64BE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeBigUint64LE" class="tsd-kind-icon">write<wbr/>Big<wbr/>Uint64LE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeDoubleBE" class="tsd-kind-icon">write<wbr/>DoubleBE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeDoubleLE" class="tsd-kind-icon">write<wbr/>DoubleLE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeFloatBE" class="tsd-kind-icon">write<wbr/>FloatBE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeFloatLE" class="tsd-kind-icon">write<wbr/>FloatLE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeInt16BE" class="tsd-kind-icon">write<wbr/>Int16BE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeInt16LE" class="tsd-kind-icon">write<wbr/>Int16LE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeInt32BE" class="tsd-kind-icon">write<wbr/>Int32BE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeInt32LE" class="tsd-kind-icon">write<wbr/>Int32LE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeInt8" class="tsd-kind-icon">write<wbr/>Int8</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeIntBE" class="tsd-kind-icon">write<wbr/>IntBE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeIntLE" class="tsd-kind-icon">write<wbr/>IntLE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUInt16BE" class="tsd-kind-icon">writeUInt16BE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUInt16LE" class="tsd-kind-icon">writeUInt16LE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUInt32BE" class="tsd-kind-icon">writeUInt32BE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUInt32LE" class="tsd-kind-icon">writeUInt32LE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUInt8" class="tsd-kind-icon">writeUInt8</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUIntBE" class="tsd-kind-icon">writeUIntBE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUIntLE" class="tsd-kind-icon">writeUIntLE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUint16BE" class="tsd-kind-icon">write<wbr/>Uint16BE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUint16LE" class="tsd-kind-icon">write<wbr/>Uint16LE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUint32BE" class="tsd-kind-icon">write<wbr/>Uint32BE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUint32LE" class="tsd-kind-icon">write<wbr/>Uint32LE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUint8" class="tsd-kind-icon">write<wbr/>Uint8</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUintBE" class="tsd-kind-icon">write<wbr/>UintBE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUintLE" class="tsd-kind-icon">write<wbr/>UintLE</a></li></ul></section></div></section></section><section class="tsd-panel-group tsd-member-group tsd-is-inherited tsd-is-external"><h2>Properties</h2><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a id="BYTES_PER_ELEMENT" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagReadonly">Readonly</span> BYTES_<wbr/>PER_<wbr/>ELEMENT<a href="#BYTES_PER_ELEMENT" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">BYTES_<wbr/>PER_<wbr/>ELEMENT<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Inherited from Uint8Array.BYTES_PER_ELEMENT</p><ul><li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2102</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>The size in bytes of each element in the array.</p>
- </div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a id="_toStringTag_" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagReadonly">Readonly</span> [to<wbr/>String<wbr/>Tag]<a href="#_toStringTag_" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">[to<wbr/>String<wbr/>Tag]<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"Uint8Array"</span></div><aside class="tsd-sources"><p>Inherited from Uint8Array.__@toStringTag@24</p><ul><li>Defined in node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts:282</li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a id="buffer" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagReadonly">Readonly</span> buffer<a href="#buffer" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">buffer<span class="tsd-signature-symbol">:</span> <a href="../modules/RcsbFv3DAssembly._internal_.html#ArrayBufferLike" class="tsd-signature-type" data-tsd-kind="Type alias">ArrayBufferLike</a></div><aside class="tsd-sources"><p>Inherited from Uint8Array.buffer</p><ul><li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2107</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>The ArrayBuffer instance referenced by the array.</p>
- </div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a id="byteLength" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagReadonly">Readonly</span> byte<wbr/>Length<a href="#byteLength" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">byte<wbr/>Length<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Inherited from Uint8Array.byteLength</p><ul><li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2112</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>The length in bytes of the array.</p>
- </div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a id="byteOffset" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagReadonly">Readonly</span> byte<wbr/>Offset<a href="#byteOffset" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">byte<wbr/>Offset<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Inherited from Uint8Array.byteOffset</p><ul><li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2117</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>The offset in bytes of the array.</p>
- </div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a id="length" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagReadonly">Readonly</span> length<a href="#length" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">length<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Inherited from Uint8Array.length</p><ul><li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2216</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>The length of the array.</p>
- </div></div></section></section><section class="tsd-panel-group tsd-member-group tsd-is-external"><h2>Methods</h2><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a id="_iterator_" class="tsd-anchor"></a><h3 class="tsd-anchor-link">[iterator]<a href="#_iterator_" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-kind-icon">[iterator]<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="RcsbFv3DAssembly._internal_.IterableIterator.html" class="tsd-signature-type" data-tsd-kind="Interface">IterableIterator</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from Uint8Array.__@iterator@81</p><ul><li>Defined in node_modules/typescript/lib/lib.es2015.iterable.d.ts:272</li></ul></aside><h4 class="tsd-returns-title">Returns <a href="RcsbFv3DAssembly._internal_.IterableIterator.html" class="tsd-signature-type" data-tsd-kind="Interface">IterableIterator</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a id="at" class="tsd-anchor"></a><h3 class="tsd-anchor-link">at<a href="#at" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-kind-icon">at<span class="tsd-signature-symbol">(</span>index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from Uint8Array.at</p><ul><li>Defined in node_modules/@types/node/globals.d.ts:86</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Takes an integer value and returns the item at that index,
- allowing for positive and negative integers.
- Negative integers count back from the last item in the array.</p>
- </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>index: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="compare" class="tsd-anchor"></a><h3 class="tsd-anchor-link">compare<a href="#compare" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">compare<span class="tsd-signature-symbol">(</span>target<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span>, targetStart<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, targetEnd<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, sourceStart<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, sourceEnd<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">0</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">1</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">-1</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:707</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Compares <code>buf</code> with <code>target</code> and returns a number indicating whether <code>buf</code>comes before, after, or is the same as <code>target</code> in sort order.
- Comparison is based on the actual sequence of bytes in each <code>Buffer</code>.</p>
- </div><div><ul>
- <li><code>0</code> is returned if <code>target</code> is the same as <code>buf</code></li>
- <li><code>1</code> is returned if <code>target</code> should come <em>before</em><code>buf</code> when sorted.</li>
- <li><code>-1</code> is returned if <code>target</code> should come <em>after</em><code>buf</code> when sorted.</li>
- </ul>
- <pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf1</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">(</span><span class="hl-5">'ABC'</span><span class="hl-1">);</span><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf2</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">(</span><span class="hl-5">'BCD'</span><span class="hl-1">);</span><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf3</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">(</span><span class="hl-5">'ABCD'</span><span class="hl-1">);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf1</span><span class="hl-1">.</span><span class="hl-6">compare</span><span class="hl-1">(</span><span class="hl-0">buf1</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: 0</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf1</span><span class="hl-1">.</span><span class="hl-6">compare</span><span class="hl-1">(</span><span class="hl-0">buf2</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: -1</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf1</span><span class="hl-1">.</span><span class="hl-6">compare</span><span class="hl-1">(</span><span class="hl-0">buf3</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: -1</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf2</span><span class="hl-1">.</span><span class="hl-6">compare</span><span class="hl-1">(</span><span class="hl-0">buf1</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: 1</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf2</span><span class="hl-1">.</span><span class="hl-6">compare</span><span class="hl-1">(</span><span class="hl-0">buf3</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: 1</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">([</span><span class="hl-0">buf1</span><span class="hl-1">, </span><span class="hl-0">buf2</span><span class="hl-1">, </span><span class="hl-0">buf3</span><span class="hl-1">].</span><span class="hl-6">sort</span><span class="hl-1">(</span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-0">compare</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: [ <Buffer 41 42 43>, <Buffer 41 42 43 44>, <Buffer 42 43 44> ]</span><br/><span class="hl-9">// (This result is equal to: [buf1, buf3, buf2].)</span>
- </code></pre>
- <p>The optional <code>targetStart</code>, <code>targetEnd</code>, <code>sourceStart</code>, and <code>sourceEnd</code>arguments can be used to limit the comparison to specific ranges within <code>target</code>and <code>buf</code> respectively.</p>
- <pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf1</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">([</span><span class="hl-8">1</span><span class="hl-1">, </span><span class="hl-8">2</span><span class="hl-1">, </span><span class="hl-8">3</span><span class="hl-1">, </span><span class="hl-8">4</span><span class="hl-1">, </span><span class="hl-8">5</span><span class="hl-1">, </span><span class="hl-8">6</span><span class="hl-1">, </span><span class="hl-8">7</span><span class="hl-1">, </span><span class="hl-8">8</span><span class="hl-1">, </span><span class="hl-8">9</span><span class="hl-1">]);</span><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf2</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">([</span><span class="hl-8">5</span><span class="hl-1">, </span><span class="hl-8">6</span><span class="hl-1">, </span><span class="hl-8">7</span><span class="hl-1">, </span><span class="hl-8">8</span><span class="hl-1">, </span><span class="hl-8">9</span><span class="hl-1">, </span><span class="hl-8">1</span><span class="hl-1">, </span><span class="hl-8">2</span><span class="hl-1">, </span><span class="hl-8">3</span><span class="hl-1">, </span><span class="hl-8">4</span><span class="hl-1">]);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf1</span><span class="hl-1">.</span><span class="hl-6">compare</span><span class="hl-1">(</span><span class="hl-0">buf2</span><span class="hl-1">, </span><span class="hl-8">5</span><span class="hl-1">, </span><span class="hl-8">9</span><span class="hl-1">, </span><span class="hl-8">0</span><span class="hl-1">, </span><span class="hl-8">4</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: 0</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf1</span><span class="hl-1">.</span><span class="hl-6">compare</span><span class="hl-1">(</span><span class="hl-0">buf2</span><span class="hl-1">, </span><span class="hl-8">0</span><span class="hl-1">, </span><span class="hl-8">6</span><span class="hl-1">, </span><span class="hl-8">4</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: -1</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf1</span><span class="hl-1">.</span><span class="hl-6">compare</span><span class="hl-1">(</span><span class="hl-0">buf2</span><span class="hl-1">, </span><span class="hl-8">5</span><span class="hl-1">, </span><span class="hl-8">6</span><span class="hl-1">, </span><span class="hl-8">5</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: 1</span>
- </code></pre>
- <p><code>ERR_OUT_OF_RANGE</code> is thrown if <code>targetStart < 0</code>, <code>sourceStart < 0</code>,<code>targetEnd > target.byteLength</code>, or <code>sourceEnd > source.byteLength</code>.</p>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v0.11.13</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>target: <span class="tsd-signature-type">Uint8Array</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>A <code>Buffer</code> or {@link Uint8Array} with which to compare <code>buf</code>.</p>
- </div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> targetStart: <span class="tsd-signature-type">number</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> targetEnd: <span class="tsd-signature-type">number</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> sourceStart: <span class="tsd-signature-type">number</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> sourceEnd: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">0</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">1</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">-1</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="copy" class="tsd-anchor"></a><h3 class="tsd-anchor-link">copy<a href="#copy" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">copy<span class="tsd-signature-symbol">(</span>target<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span>, targetStart<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, sourceStart<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, sourceEnd<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:761</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Copies data from a region of <code>buf</code> to a region in <code>target</code>, even if the <code>target</code>memory region overlaps with <code>buf</code>.</p>
- </div><div><p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/set"><code>TypedArray.prototype.set()</code></a> performs the same operation, and is available
- for all TypedArrays, including Node.js <code>Buffer</code>s, although it takes
- different function arguments.</p>
- <pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-9">// Create two `Buffer` instances.</span><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf1</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">allocUnsafe</span><span class="hl-1">(</span><span class="hl-8">26</span><span class="hl-1">);</span><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf2</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">allocUnsafe</span><span class="hl-1">(</span><span class="hl-8">26</span><span class="hl-1">).</span><span class="hl-6">fill</span><span class="hl-1">(</span><span class="hl-5">'!'</span><span class="hl-1">);</span><br/><br/><span class="hl-7">for</span><span class="hl-1"> (</span><span class="hl-3">let</span><span class="hl-1"> </span><span class="hl-0">i</span><span class="hl-1"> = </span><span class="hl-8">0</span><span class="hl-1">; </span><span class="hl-0">i</span><span class="hl-1"> < </span><span class="hl-8">26</span><span class="hl-1">; </span><span class="hl-0">i</span><span class="hl-1">++) {</span><br/><span class="hl-1"> </span><span class="hl-9">// 97 is the decimal ASCII value for 'a'.</span><br/><span class="hl-1"> </span><span class="hl-0">buf1</span><span class="hl-1">[</span><span class="hl-0">i</span><span class="hl-1">] = </span><span class="hl-0">i</span><span class="hl-1"> + </span><span class="hl-8">97</span><span class="hl-1">;</span><br/><span class="hl-1">}</span><br/><br/><span class="hl-9">// Copy `buf1` bytes 16 through 19 into `buf2` starting at byte 8 of `buf2`.</span><br/><span class="hl-0">buf1</span><span class="hl-1">.</span><span class="hl-6">copy</span><span class="hl-1">(</span><span class="hl-0">buf2</span><span class="hl-1">, </span><span class="hl-8">8</span><span class="hl-1">, </span><span class="hl-8">16</span><span class="hl-1">, </span><span class="hl-8">20</span><span class="hl-1">);</span><br/><span class="hl-9">// This is equivalent to:</span><br/><span class="hl-9">// buf2.set(buf1.subarray(16, 20), 8);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf2</span><span class="hl-1">.</span><span class="hl-6">toString</span><span class="hl-1">(</span><span class="hl-5">'ascii'</span><span class="hl-1">, </span><span class="hl-8">0</span><span class="hl-1">, </span><span class="hl-8">25</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: !!!!!!!!qrst!!!!!!!!!!!!!</span>
- </code></pre>
- <pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-9">// Create a `Buffer` and copy data from one region to an overlapping region</span><br/><span class="hl-9">// within the same `Buffer`.</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">allocUnsafe</span><span class="hl-1">(</span><span class="hl-8">26</span><span class="hl-1">);</span><br/><br/><span class="hl-7">for</span><span class="hl-1"> (</span><span class="hl-3">let</span><span class="hl-1"> </span><span class="hl-0">i</span><span class="hl-1"> = </span><span class="hl-8">0</span><span class="hl-1">; </span><span class="hl-0">i</span><span class="hl-1"> < </span><span class="hl-8">26</span><span class="hl-1">; </span><span class="hl-0">i</span><span class="hl-1">++) {</span><br/><span class="hl-1"> </span><span class="hl-9">// 97 is the decimal ASCII value for 'a'.</span><br/><span class="hl-1"> </span><span class="hl-0">buf</span><span class="hl-1">[</span><span class="hl-0">i</span><span class="hl-1">] = </span><span class="hl-0">i</span><span class="hl-1"> + </span><span class="hl-8">97</span><span class="hl-1">;</span><br/><span class="hl-1">}</span><br/><br/><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">copy</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">, </span><span class="hl-8">0</span><span class="hl-1">, </span><span class="hl-8">4</span><span class="hl-1">, </span><span class="hl-8">10</span><span class="hl-1">);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">toString</span><span class="hl-1">());</span><br/><span class="hl-9">// Prints: efghijghijklmnopqrstuvwxyz</span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v0.1.90</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>target: <span class="tsd-signature-type">Uint8Array</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>A <code>Buffer</code> or {@link Uint8Array} to copy into.</p>
- </div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> targetStart: <span class="tsd-signature-type">number</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> sourceStart: <span class="tsd-signature-type">number</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> sourceEnd: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div><p>The number of bytes copied.</p>
- </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a id="copyWithin" class="tsd-anchor"></a><h3 class="tsd-anchor-link">copy<wbr/>Within<a href="#copyWithin" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-kind-icon">copy<wbr/>Within<span class="tsd-signature-symbol">(</span>target<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, start<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, end<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../modules/RcsbFv3DAssembly._internal_.html" class="tsd-signature-type" data-tsd-kind="Namespace"><internal></a><span class="tsd-signature-symbol">.</span><a href="../modules/RcsbFv3DAssembly._internal_.html#Buffer-2" class="tsd-signature-type" data-tsd-kind="Variable">Buffer</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from Uint8Array.copyWithin</p><ul><li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2128</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Returns the this object after copying a section of the array identified by start and end
- to the same array starting at position target</p>
- </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>target: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>If target is negative, it is treated as length+target where length is the
- length of the array.</p>
- </div></div></li><li><h5>start: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>If start is negative, it is treated as length+start. If end is negative, it
- is treated as length+end.</p>
- </div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> end: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>If not specified, length of the this object is used as its default value.</p>
- </div></div></li></ul><h4 class="tsd-returns-title">Returns <a href="../modules/RcsbFv3DAssembly._internal_.html" class="tsd-signature-type" data-tsd-kind="Namespace"><internal></a><span class="tsd-signature-symbol">.</span><a href="../modules/RcsbFv3DAssembly._internal_.html#Buffer-2" class="tsd-signature-type" data-tsd-kind="Variable">Buffer</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-overwrite tsd-is-external"><a id="entries" class="tsd-anchor"></a><h3 class="tsd-anchor-link">entries<a href="#entries" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-overwrite tsd-is-external"><li class="tsd-signature tsd-kind-icon">entries<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="RcsbFv3DAssembly._internal_.IterableIterator.html" class="tsd-signature-type" data-tsd-kind="Interface">IterableIterator</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Overrides Uint8Array.entries</p><ul><li>Defined in node_modules/@types/node/buffer.d.ts:2107</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Creates and returns an <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols">iterator</a> of <code>[index, byte]</code> pairs from the contents
- of <code>buf</code>.</p>
- </div><div><pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-9">// Log the entire contents of a `Buffer`.</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">(</span><span class="hl-5">'buffer'</span><span class="hl-1">);</span><br/><br/><span class="hl-7">for</span><span class="hl-1"> (</span><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">pair</span><span class="hl-1"> </span><span class="hl-3">of</span><span class="hl-1"> </span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">entries</span><span class="hl-1">()) {</span><br/><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">pair</span><span class="hl-1">);</span><br/><span class="hl-1">}</span><br/><span class="hl-9">// Prints:</span><br/><span class="hl-9">// [0, 98]</span><br/><span class="hl-9">// [1, 117]</span><br/><span class="hl-9">// [2, 102]</span><br/><span class="hl-9">// [3, 102]</span><br/><span class="hl-9">// [4, 101]</span><br/><span class="hl-9">// [5, 114]</span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v1.1.0</p>
- </dd></dl></div><h4 class="tsd-returns-title">Returns <a href="RcsbFv3DAssembly._internal_.IterableIterator.html" class="tsd-signature-type" data-tsd-kind="Interface">IterableIterator</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="equals" class="tsd-anchor"></a><h3 class="tsd-anchor-link">equals<a href="#equals" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">equals<span class="tsd-signature-symbol">(</span>otherBuffer<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:652</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Returns <code>true</code> if both <code>buf</code> and <code>otherBuffer</code> have exactly the same bytes,<code>false</code> otherwise. Equivalent to <code>buf.compare(otherBuffer) === 0</code>.</p>
- </div><div><pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf1</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">(</span><span class="hl-5">'ABC'</span><span class="hl-1">);</span><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf2</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">(</span><span class="hl-5">'414243'</span><span class="hl-1">, </span><span class="hl-5">'hex'</span><span class="hl-1">);</span><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf3</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">(</span><span class="hl-5">'ABCD'</span><span class="hl-1">);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf1</span><span class="hl-1">.</span><span class="hl-6">equals</span><span class="hl-1">(</span><span class="hl-0">buf2</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: true</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf1</span><span class="hl-1">.</span><span class="hl-6">equals</span><span class="hl-1">(</span><span class="hl-0">buf3</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: false</span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v0.11.13</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>otherBuffer: <span class="tsd-signature-type">Uint8Array</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>A <code>Buffer</code> or {@link Uint8Array} with which to compare <code>buf</code>.</p>
- </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a id="every" class="tsd-anchor"></a><h3 class="tsd-anchor-link">every<a href="#every" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-kind-icon">every<span class="tsd-signature-symbol">(</span>predicate<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, array<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">unknown</span>, thisArg<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from Uint8Array.every</p><ul><li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2138</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Determines whether all the members of an array satisfy the specified test.</p>
- </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>predicate: <span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, array<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">unknown</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>A function that accepts up to three arguments. The every method calls
- the predicate function for each element in the array until the predicate returns a value
- which is coercible to the Boolean value false, or until the end of the array.</p>
- </div></div><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures tsd-kind-type-literal tsd-is-external"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, array<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">unknown</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">number</span></h5></li><li><h5>index: <span class="tsd-signature-type">number</span></h5></li><li><h5>array: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">unknown</span></h4></li></ul></li></ul></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> thisArg: <span class="tsd-signature-type">any</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>An object to which the this keyword can refer in the predicate function.
- If thisArg is omitted, undefined is used as the this value.</p>
- </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-overwrite tsd-is-external"><a id="fill" class="tsd-anchor"></a><h3 class="tsd-anchor-link">fill<a href="#fill" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-overwrite tsd-is-external"><li class="tsd-signature tsd-kind-icon">fill<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span>, offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, end<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, encoding<span class="tsd-signature-symbol">?: </span><a href="../modules/RcsbFv3DAssembly._internal_.html#BufferEncoding" class="tsd-signature-type" data-tsd-kind="Type alias">BufferEncoding</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../modules/RcsbFv3DAssembly._internal_.html" class="tsd-signature-type" data-tsd-kind="Namespace"><internal></a><span class="tsd-signature-symbol">.</span><a href="../modules/RcsbFv3DAssembly._internal_.html#Buffer-2" class="tsd-signature-type" data-tsd-kind="Variable">Buffer</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Overrides Uint8Array.fill</p><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1945</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Fills <code>buf</code> with the specified <code>value</code>. If the <code>offset</code> and <code>end</code> are not given,
- the entire <code>buf</code> will be filled:</p>
- </div><div><pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-9">// Fill a `Buffer` with the ASCII character 'h'.</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">b</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">allocUnsafe</span><span class="hl-1">(</span><span class="hl-8">50</span><span class="hl-1">).</span><span class="hl-6">fill</span><span class="hl-1">(</span><span class="hl-5">'h'</span><span class="hl-1">);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">b</span><span class="hl-1">.</span><span class="hl-6">toString</span><span class="hl-1">());</span><br/><span class="hl-9">// Prints: hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh</span>
- </code></pre>
- <p><code>value</code> is coerced to a <code>uint32</code> value if it is not a string, <code>Buffer</code>, or
- integer. If the resulting integer is greater than <code>255</code> (decimal), <code>buf</code> will be
- filled with <code>value &#x26; 255</code>.</p>
- <p>If the final write of a <code>fill()</code> operation falls on a multi-byte character,
- then only the bytes of that character that fit into <code>buf</code> are written:</p>
- <pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-9">// Fill a `Buffer` with character that takes up two bytes in UTF-8.</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">allocUnsafe</span><span class="hl-1">(</span><span class="hl-8">5</span><span class="hl-1">).</span><span class="hl-6">fill</span><span class="hl-1">(</span><span class="hl-5">'</span><span class="hl-13">\u0222</span><span class="hl-5">'</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: <Buffer c8 a2 c8 a2 c8></span>
- </code></pre>
- <p>If <code>value</code> contains invalid characters, it is truncated; if no valid
- fill data remains, an exception is thrown:</p>
- <pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">allocUnsafe</span><span class="hl-1">(</span><span class="hl-8">5</span><span class="hl-1">);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">fill</span><span class="hl-1">(</span><span class="hl-5">'a'</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: <Buffer 61 61 61 61 61></span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">fill</span><span class="hl-1">(</span><span class="hl-5">'aazz'</span><span class="hl-1">, </span><span class="hl-5">'hex'</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: <Buffer aa aa aa aa aa></span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">fill</span><span class="hl-1">(</span><span class="hl-5">'zz'</span><span class="hl-1">, </span><span class="hl-5">'hex'</span><span class="hl-1">));</span><br/><span class="hl-9">// Throws an exception.</span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v0.5.0</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>The value with which to fill <code>buf</code>.</p>
- </div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> end: <span class="tsd-signature-type">number</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> encoding: <a href="../modules/RcsbFv3DAssembly._internal_.html#BufferEncoding" class="tsd-signature-type" data-tsd-kind="Type alias">BufferEncoding</a></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="../modules/RcsbFv3DAssembly._internal_.html" class="tsd-signature-type" data-tsd-kind="Namespace"><internal></a><span class="tsd-signature-symbol">.</span><a href="../modules/RcsbFv3DAssembly._internal_.html#Buffer-2" class="tsd-signature-type" data-tsd-kind="Variable">Buffer</a></h4><div><p>A reference to <code>buf</code>.</p>
- </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a id="filter" class="tsd-anchor"></a><h3 class="tsd-anchor-link">filter<a href="#filter" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-kind-icon">filter<span class="tsd-signature-symbol">(</span>predicate<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, array<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">any</span>, thisArg<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from Uint8Array.filter</p><ul><li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2157</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Returns the elements of an array that meet the condition specified in a callback function.</p>
- </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>predicate: <span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, array<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">any</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>A function that accepts up to three arguments. The filter method calls
- the predicate function one time for each element in the array.</p>
- </div></div><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures tsd-kind-type-literal tsd-is-external"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, array<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">number</span></h5></li><li><h5>index: <span class="tsd-signature-type">number</span></h5></li><li><h5>array: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4></li></ul></li></ul></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> thisArg: <span class="tsd-signature-type">any</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>An object to which the this keyword can refer in the predicate function.
- If thisArg is omitted, undefined is used as the this value.</p>
- </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Uint8Array</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a id="find" class="tsd-anchor"></a><h3 class="tsd-anchor-link">find<a href="#find" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-kind-icon">find<span class="tsd-signature-symbol">(</span>predicate<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, obj<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">boolean</span>, thisArg<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from Uint8Array.find</p><ul><li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2168</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Returns the value of the first element in the array where predicate is true, and undefined
- otherwise.</p>
- </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>predicate: <span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, obj<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>find calls predicate once for each element of the array, in ascending
- order, until it finds one where predicate returns true. If such an element is found, find
- immediately returns that element value. Otherwise, find returns undefined.</p>
- </div></div><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures tsd-kind-type-literal tsd-is-external"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, obj<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">number</span></h5></li><li><h5>index: <span class="tsd-signature-type">number</span></h5></li><li><h5>obj: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></li></ul></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> thisArg: <span class="tsd-signature-type">any</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>If provided, it will be used as the this value for each invocation of
- predicate. If it is not provided, undefined is used instead.</p>
- </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a id="findIndex" class="tsd-anchor"></a><h3 class="tsd-anchor-link">find<wbr/>Index<a href="#findIndex" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-kind-icon">find<wbr/>Index<span class="tsd-signature-symbol">(</span>predicate<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, obj<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">boolean</span>, thisArg<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from Uint8Array.findIndex</p><ul><li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2179</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Returns the index of the first element in the array where predicate is true, and -1
- otherwise.</p>
- </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>predicate: <span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, obj<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>find calls predicate once for each element of the array, in ascending
- order, until it finds one where predicate returns true. If such an element is found,
- findIndex immediately returns that element index. Otherwise, findIndex returns -1.</p>
- </div></div><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures tsd-kind-type-literal tsd-is-external"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, obj<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">number</span></h5></li><li><h5>index: <span class="tsd-signature-type">number</span></h5></li><li><h5>obj: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></li></ul></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> thisArg: <span class="tsd-signature-type">any</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>If provided, it will be used as the this value for each invocation of
- predicate. If it is not provided, undefined is used instead.</p>
- </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a id="forEach" class="tsd-anchor"></a><h3 class="tsd-anchor-link">for<wbr/>Each<a href="#forEach" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-kind-icon">for<wbr/>Each<span class="tsd-signature-symbol">(</span>callbackfn<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, array<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span>, thisArg<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from Uint8Array.forEach</p><ul><li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2188</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Performs the specified action for each element in an array.</p>
- </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>callbackfn: <span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, array<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>A function that accepts up to three arguments. forEach calls the
- callbackfn function one time for each element in the array.</p>
- </div></div><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures tsd-kind-type-literal tsd-is-external"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, array<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">number</span></h5></li><li><h5>index: <span class="tsd-signature-type">number</span></h5></li><li><h5>array: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> thisArg: <span class="tsd-signature-type">any</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>An object to which the this keyword can refer in the callbackfn function.
- If thisArg is omitted, undefined is used as the this value.</p>
- </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-overwrite tsd-is-external"><a id="includes" class="tsd-anchor"></a><h3 class="tsd-anchor-link">includes<a href="#includes" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-overwrite tsd-is-external"><li class="tsd-signature tsd-kind-icon">includes<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="../modules/RcsbFv3DAssembly._internal_.html" class="tsd-signature-type" data-tsd-kind="Namespace"><internal></a><span class="tsd-signature-symbol">.</span><a href="../modules/RcsbFv3DAssembly._internal_.html#Buffer-2" class="tsd-signature-type" data-tsd-kind="Variable">Buffer</a>, byteOffset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, encoding<span class="tsd-signature-symbol">?: </span><a href="../modules/RcsbFv3DAssembly._internal_.html#BufferEncoding" class="tsd-signature-type" data-tsd-kind="Type alias">BufferEncoding</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Overrides Uint8Array.includes</p><ul><li>Defined in node_modules/@types/node/buffer.d.ts:2137</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Equivalent to <code>buf.indexOf() !== -1</code>.</p>
- </div><div><pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">(</span><span class="hl-5">'this is a buffer'</span><span class="hl-1">);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">includes</span><span class="hl-1">(</span><span class="hl-5">'this'</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: true</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">includes</span><span class="hl-1">(</span><span class="hl-5">'is'</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: true</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">includes</span><span class="hl-1">(</span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">(</span><span class="hl-5">'a buffer'</span><span class="hl-1">)));</span><br/><span class="hl-9">// Prints: true</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">includes</span><span class="hl-1">(</span><span class="hl-8">97</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: true (97 is the decimal ASCII value for 'a')</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">includes</span><span class="hl-1">(</span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">(</span><span class="hl-5">'a buffer example'</span><span class="hl-1">)));</span><br/><span class="hl-9">// Prints: false</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">includes</span><span class="hl-1">(</span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">(</span><span class="hl-5">'a buffer example'</span><span class="hl-1">).</span><span class="hl-6">slice</span><span class="hl-1">(</span><span class="hl-8">0</span><span class="hl-1">, </span><span class="hl-8">8</span><span class="hl-1">)));</span><br/><span class="hl-9">// Prints: true</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">includes</span><span class="hl-1">(</span><span class="hl-5">'this'</span><span class="hl-1">, </span><span class="hl-8">4</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: false</span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v5.3.0</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><a href="../modules/RcsbFv3DAssembly._internal_.html" class="tsd-signature-type" data-tsd-kind="Namespace"><internal></a><span class="tsd-signature-symbol">.</span><a href="../modules/RcsbFv3DAssembly._internal_.html#Buffer-2" class="tsd-signature-type" data-tsd-kind="Variable">Buffer</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>What to search for.</p>
- </div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> byteOffset: <span class="tsd-signature-type">number</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> encoding: <a href="../modules/RcsbFv3DAssembly._internal_.html#BufferEncoding" class="tsd-signature-type" data-tsd-kind="Type alias">BufferEncoding</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><div><p><code>true</code> if <code>value</code> was found in <code>buf</code>, <code>false</code> otherwise.</p>
- </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-overwrite tsd-is-external"><a id="indexOf" class="tsd-anchor"></a><h3 class="tsd-anchor-link">index<wbr/>Of<a href="#indexOf" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-overwrite tsd-is-external"><li class="tsd-signature tsd-kind-icon">index<wbr/>Of<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span>, byteOffset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, encoding<span class="tsd-signature-symbol">?: </span><a href="../modules/RcsbFv3DAssembly._internal_.html#BufferEncoding" class="tsd-signature-type" data-tsd-kind="Type alias">BufferEncoding</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Overrides Uint8Array.indexOf</p><ul><li>Defined in node_modules/@types/node/buffer.d.ts:2014</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>If <code>value</code> is:</p>
- </div><div><ul>
- <li>a string, <code>value</code> is interpreted according to the character encoding in<code>encoding</code>.</li>
- <li>a <code>Buffer</code> or <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array"><code>Uint8Array</code></a>, <code>value</code> will be used in its entirety.
- To compare a partial <code>Buffer</code>, use <code>buf.slice()</code>.</li>
- <li>a number, <code>value</code> will be interpreted as an unsigned 8-bit integer
- value between <code>0</code> and <code>255</code>.</li>
- </ul>
- <pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">(</span><span class="hl-5">'this is a buffer'</span><span class="hl-1">);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">indexOf</span><span class="hl-1">(</span><span class="hl-5">'this'</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: 0</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">indexOf</span><span class="hl-1">(</span><span class="hl-5">'is'</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: 2</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">indexOf</span><span class="hl-1">(</span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">(</span><span class="hl-5">'a buffer'</span><span class="hl-1">)));</span><br/><span class="hl-9">// Prints: 8</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">indexOf</span><span class="hl-1">(</span><span class="hl-8">97</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: 8 (97 is the decimal ASCII value for 'a')</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">indexOf</span><span class="hl-1">(</span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">(</span><span class="hl-5">'a buffer example'</span><span class="hl-1">)));</span><br/><span class="hl-9">// Prints: -1</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">indexOf</span><span class="hl-1">(</span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">(</span><span class="hl-5">'a buffer example'</span><span class="hl-1">).</span><span class="hl-6">slice</span><span class="hl-1">(</span><span class="hl-8">0</span><span class="hl-1">, </span><span class="hl-8">8</span><span class="hl-1">)));</span><br/><span class="hl-9">// Prints: 8</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">utf16Buffer</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">(</span><span class="hl-5">'</span><span class="hl-13">\u039a\u0391\u03a3\u03a3\u0395</span><span class="hl-5">'</span><span class="hl-1">, </span><span class="hl-5">'utf16le'</span><span class="hl-1">);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">utf16Buffer</span><span class="hl-1">.</span><span class="hl-6">indexOf</span><span class="hl-1">(</span><span class="hl-5">'</span><span class="hl-13">\u03a3</span><span class="hl-5">'</span><span class="hl-1">, </span><span class="hl-8">0</span><span class="hl-1">, </span><span class="hl-5">'utf16le'</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: 4</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">utf16Buffer</span><span class="hl-1">.</span><span class="hl-6">indexOf</span><span class="hl-1">(</span><span class="hl-5">'</span><span class="hl-13">\u03a3</span><span class="hl-5">'</span><span class="hl-1">, -</span><span class="hl-8">4</span><span class="hl-1">, </span><span class="hl-5">'utf16le'</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: 6</span>
- </code></pre>
- <p>If <code>value</code> is not a string, number, or <code>Buffer</code>, this method will throw a<code>TypeError</code>. If <code>value</code> is a number, it will be coerced to a valid byte value,
- an integer between 0 and 255.</p>
- <p>If <code>byteOffset</code> is not a number, it will be coerced to a number. If the result
- of coercion is <code>NaN</code> or <code>0</code>, then the entire buffer will be searched. This
- behavior matches <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/indexOf"><code>String.prototype.indexOf()</code></a>.</p>
- <pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">b</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">(</span><span class="hl-5">'abcdef'</span><span class="hl-1">);</span><br/><br/><span class="hl-9">// Passing a value that's a number, but not a valid byte.</span><br/><span class="hl-9">// Prints: 2, equivalent to searching for 99 or 'c'.</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">b</span><span class="hl-1">.</span><span class="hl-6">indexOf</span><span class="hl-1">(</span><span class="hl-8">99.9</span><span class="hl-1">));</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">b</span><span class="hl-1">.</span><span class="hl-6">indexOf</span><span class="hl-1">(</span><span class="hl-8">256</span><span class="hl-1"> + </span><span class="hl-8">99</span><span class="hl-1">));</span><br/><br/><span class="hl-9">// Passing a byteOffset that coerces to NaN or 0.</span><br/><span class="hl-9">// Prints: 1, searching the whole buffer.</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">b</span><span class="hl-1">.</span><span class="hl-6">indexOf</span><span class="hl-1">(</span><span class="hl-5">'b'</span><span class="hl-1">, </span><span class="hl-3">undefined</span><span class="hl-1">));</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">b</span><span class="hl-1">.</span><span class="hl-6">indexOf</span><span class="hl-1">(</span><span class="hl-5">'b'</span><span class="hl-1">, {}));</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">b</span><span class="hl-1">.</span><span class="hl-6">indexOf</span><span class="hl-1">(</span><span class="hl-5">'b'</span><span class="hl-1">, </span><span class="hl-3">null</span><span class="hl-1">));</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">b</span><span class="hl-1">.</span><span class="hl-6">indexOf</span><span class="hl-1">(</span><span class="hl-5">'b'</span><span class="hl-1">, []));</span>
- </code></pre>
- <p>If <code>value</code> is an empty string or empty <code>Buffer</code> and <code>byteOffset</code> is less
- than <code>buf.length</code>, <code>byteOffset</code> will be returned. If <code>value</code> is empty and<code>byteOffset</code> is at least <code>buf.length</code>, <code>buf.length</code> will be returned.</p>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v1.5.0</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>What to search for.</p>
- </div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> byteOffset: <span class="tsd-signature-type">number</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> encoding: <a href="../modules/RcsbFv3DAssembly._internal_.html#BufferEncoding" class="tsd-signature-type" data-tsd-kind="Type alias">BufferEncoding</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div><p>The index of the first occurrence of <code>value</code> in <code>buf</code>, or <code>-1</code> if <code>buf</code> does not contain <code>value</code>.</p>
- </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a id="join" class="tsd-anchor"></a><h3 class="tsd-anchor-link">join<a href="#join" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-kind-icon">join<span class="tsd-signature-symbol">(</span>separator<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from Uint8Array.join</p><ul><li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2203</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Adds all the elements of an array separated by the specified separator string.</p>
- </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> separator: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>A string used to separate one element of an array from the next in the
- resulting String. If omitted, the array elements are separated with a comma.</p>
- </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-overwrite tsd-is-external"><a id="keys" class="tsd-anchor"></a><h3 class="tsd-anchor-link">keys<a href="#keys" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-overwrite tsd-is-external"><li class="tsd-signature tsd-kind-icon">keys<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="RcsbFv3DAssembly._internal_.IterableIterator.html" class="tsd-signature-type" data-tsd-kind="Interface">IterableIterator</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Overrides Uint8Array.keys</p><ul><li>Defined in node_modules/@types/node/buffer.d.ts:2159</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Creates and returns an <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols">iterator</a> of <code>buf</code> keys (indices).</p>
- </div><div><pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">(</span><span class="hl-5">'buffer'</span><span class="hl-1">);</span><br/><br/><span class="hl-7">for</span><span class="hl-1"> (</span><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">key</span><span class="hl-1"> </span><span class="hl-3">of</span><span class="hl-1"> </span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">keys</span><span class="hl-1">()) {</span><br/><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">key</span><span class="hl-1">);</span><br/><span class="hl-1">}</span><br/><span class="hl-9">// Prints:</span><br/><span class="hl-9">// 0</span><br/><span class="hl-9">// 1</span><br/><span class="hl-9">// 2</span><br/><span class="hl-9">// 3</span><br/><span class="hl-9">// 4</span><br/><span class="hl-9">// 5</span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v1.1.0</p>
- </dd></dl></div><h4 class="tsd-returns-title">Returns <a href="RcsbFv3DAssembly._internal_.IterableIterator.html" class="tsd-signature-type" data-tsd-kind="Interface">IterableIterator</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-overwrite tsd-is-external"><a id="lastIndexOf" class="tsd-anchor"></a><h3 class="tsd-anchor-link">last<wbr/>Index<wbr/>Of<a href="#lastIndexOf" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-overwrite tsd-is-external"><li class="tsd-signature tsd-kind-icon">last<wbr/>Index<wbr/>Of<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span>, byteOffset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, encoding<span class="tsd-signature-symbol">?: </span><a href="../modules/RcsbFv3DAssembly._internal_.html#BufferEncoding" class="tsd-signature-type" data-tsd-kind="Type alias">BufferEncoding</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Overrides Uint8Array.lastIndexOf</p><ul><li>Defined in node_modules/@types/node/buffer.d.ts:2082</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Identical to <code>buf.indexOf()</code>, except the last occurrence of <code>value</code> is found
- rather than the first occurrence.</p>
- </div><div><pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">(</span><span class="hl-5">'this buffer is a buffer'</span><span class="hl-1">);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">lastIndexOf</span><span class="hl-1">(</span><span class="hl-5">'this'</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: 0</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">lastIndexOf</span><span class="hl-1">(</span><span class="hl-5">'buffer'</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: 17</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">lastIndexOf</span><span class="hl-1">(</span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">(</span><span class="hl-5">'buffer'</span><span class="hl-1">)));</span><br/><span class="hl-9">// Prints: 17</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">lastIndexOf</span><span class="hl-1">(</span><span class="hl-8">97</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: 15 (97 is the decimal ASCII value for 'a')</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">lastIndexOf</span><span class="hl-1">(</span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">(</span><span class="hl-5">'yolo'</span><span class="hl-1">)));</span><br/><span class="hl-9">// Prints: -1</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">lastIndexOf</span><span class="hl-1">(</span><span class="hl-5">'buffer'</span><span class="hl-1">, </span><span class="hl-8">5</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: 5</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">lastIndexOf</span><span class="hl-1">(</span><span class="hl-5">'buffer'</span><span class="hl-1">, </span><span class="hl-8">4</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: -1</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">utf16Buffer</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">(</span><span class="hl-5">'</span><span class="hl-13">\u039a\u0391\u03a3\u03a3\u0395</span><span class="hl-5">'</span><span class="hl-1">, </span><span class="hl-5">'utf16le'</span><span class="hl-1">);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">utf16Buffer</span><span class="hl-1">.</span><span class="hl-6">lastIndexOf</span><span class="hl-1">(</span><span class="hl-5">'</span><span class="hl-13">\u03a3</span><span class="hl-5">'</span><span class="hl-1">, </span><span class="hl-3">undefined</span><span class="hl-1">, </span><span class="hl-5">'utf16le'</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: 6</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">utf16Buffer</span><span class="hl-1">.</span><span class="hl-6">lastIndexOf</span><span class="hl-1">(</span><span class="hl-5">'</span><span class="hl-13">\u03a3</span><span class="hl-5">'</span><span class="hl-1">, -</span><span class="hl-8">5</span><span class="hl-1">, </span><span class="hl-5">'utf16le'</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: 4</span>
- </code></pre>
- <p>If <code>value</code> is not a string, number, or <code>Buffer</code>, this method will throw a<code>TypeError</code>. If <code>value</code> is a number, it will be coerced to a valid byte value,
- an integer between 0 and 255.</p>
- <p>If <code>byteOffset</code> is not a number, it will be coerced to a number. Any arguments
- that coerce to <code>NaN</code>, like <code>{}</code> or <code>undefined</code>, will search the whole buffer.
- This behavior matches <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/lastIndexOf"><code>String.prototype.lastIndexOf()</code></a>.</p>
- <pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">b</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">(</span><span class="hl-5">'abcdef'</span><span class="hl-1">);</span><br/><br/><span class="hl-9">// Passing a value that's a number, but not a valid byte.</span><br/><span class="hl-9">// Prints: 2, equivalent to searching for 99 or 'c'.</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">b</span><span class="hl-1">.</span><span class="hl-6">lastIndexOf</span><span class="hl-1">(</span><span class="hl-8">99.9</span><span class="hl-1">));</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">b</span><span class="hl-1">.</span><span class="hl-6">lastIndexOf</span><span class="hl-1">(</span><span class="hl-8">256</span><span class="hl-1"> + </span><span class="hl-8">99</span><span class="hl-1">));</span><br/><br/><span class="hl-9">// Passing a byteOffset that coerces to NaN.</span><br/><span class="hl-9">// Prints: 1, searching the whole buffer.</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">b</span><span class="hl-1">.</span><span class="hl-6">lastIndexOf</span><span class="hl-1">(</span><span class="hl-5">'b'</span><span class="hl-1">, </span><span class="hl-3">undefined</span><span class="hl-1">));</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">b</span><span class="hl-1">.</span><span class="hl-6">lastIndexOf</span><span class="hl-1">(</span><span class="hl-5">'b'</span><span class="hl-1">, {}));</span><br/><br/><span class="hl-9">// Passing a byteOffset that coerces to 0.</span><br/><span class="hl-9">// Prints: -1, equivalent to passing 0.</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">b</span><span class="hl-1">.</span><span class="hl-6">lastIndexOf</span><span class="hl-1">(</span><span class="hl-5">'b'</span><span class="hl-1">, </span><span class="hl-3">null</span><span class="hl-1">));</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">b</span><span class="hl-1">.</span><span class="hl-6">lastIndexOf</span><span class="hl-1">(</span><span class="hl-5">'b'</span><span class="hl-1">, []));</span>
- </code></pre>
- <p>If <code>value</code> is an empty string or empty <code>Buffer</code>, <code>byteOffset</code> will be returned.</p>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v6.0.0</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>What to search for.</p>
- </div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> byteOffset: <span class="tsd-signature-type">number</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> encoding: <a href="../modules/RcsbFv3DAssembly._internal_.html#BufferEncoding" class="tsd-signature-type" data-tsd-kind="Type alias">BufferEncoding</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div><p>The index of the last occurrence of <code>value</code> in <code>buf</code>, or <code>-1</code> if <code>buf</code> does not contain <code>value</code>.</p>
- </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a id="map" class="tsd-anchor"></a><h3 class="tsd-anchor-link">map<a href="#map" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-kind-icon">map<span class="tsd-signature-symbol">(</span>callbackfn<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, array<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">number</span>, thisArg<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from Uint8Array.map</p><ul><li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2226</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Calls a defined callback function on each element of an array, and returns an array that
- contains the results.</p>
- </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>callbackfn: <span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, array<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>A function that accepts up to three arguments. The map method calls the
- callbackfn function one time for each element in the array.</p>
- </div></div><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures tsd-kind-type-literal tsd-is-external"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, array<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">number</span></h5></li><li><h5>index: <span class="tsd-signature-type">number</span></h5></li><li><h5>array: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></li></ul></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> thisArg: <span class="tsd-signature-type">any</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>An object to which the this keyword can refer in the callbackfn function.
- If thisArg is omitted, undefined is used as the this value.</p>
- </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Uint8Array</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readBigInt64BE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">read<wbr/>Big<wbr/>Int64BE<a href="#readBigInt64BE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">read<wbr/>Big<wbr/>Int64BE<span class="tsd-signature-symbol">(</span>offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">bigint</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1093</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Reads a signed, big-endian 64-bit integer from <code>buf</code> at the specified <code>offset</code>.</p>
- </div><div><p>Integers read from a <code>Buffer</code> are interpreted as two's complement signed
- values.</p>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v12.0.0, v10.20.0</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">bigint</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readBigInt64LE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">read<wbr/>Big<wbr/>Int64LE<a href="#readBigInt64LE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">read<wbr/>Big<wbr/>Int64LE<span class="tsd-signature-symbol">(</span>offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">bigint</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1102</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Reads a signed, little-endian 64-bit integer from <code>buf</code> at the specified<code>offset</code>.</p>
- </div><div><p>Integers read from a <code>Buffer</code> are interpreted as two's complement signed
- values.</p>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v12.0.0, v10.20.0</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">bigint</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readBigUInt64BE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">read<wbr/>BigUInt64BE<a href="#readBigUInt64BE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">read<wbr/>BigUInt64BE<span class="tsd-signature-symbol">(</span>offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">bigint</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1057</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Reads an unsigned, big-endian 64-bit integer from <code>buf</code> at the specified<code>offset</code>.</p>
- </div><div><p>This function is also available under the <code>readBigUint64BE</code> alias.</p>
- <pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">([</span><span class="hl-8">0x00</span><span class="hl-1">, </span><span class="hl-8">0x00</span><span class="hl-1">, </span><span class="hl-8">0x00</span><span class="hl-1">, </span><span class="hl-8">0x00</span><span class="hl-1">, </span><span class="hl-8">0xff</span><span class="hl-1">, </span><span class="hl-8">0xff</span><span class="hl-1">, </span><span class="hl-8">0xff</span><span class="hl-1">, </span><span class="hl-8">0xff</span><span class="hl-1">]);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">readBigUInt64BE</span><span class="hl-1">(</span><span class="hl-8">0</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: 4294967295n</span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v12.0.0, v10.20.0</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">bigint</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readBigUInt64LE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">read<wbr/>BigUInt64LE<a href="#readBigUInt64LE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">read<wbr/>BigUInt64LE<span class="tsd-signature-symbol">(</span>offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">bigint</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1079</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Reads an unsigned, little-endian 64-bit integer from <code>buf</code> at the specified<code>offset</code>.</p>
- </div><div><p>This function is also available under the <code>readBigUint64LE</code> alias.</p>
- <pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">([</span><span class="hl-8">0x00</span><span class="hl-1">, </span><span class="hl-8">0x00</span><span class="hl-1">, </span><span class="hl-8">0x00</span><span class="hl-1">, </span><span class="hl-8">0x00</span><span class="hl-1">, </span><span class="hl-8">0xff</span><span class="hl-1">, </span><span class="hl-8">0xff</span><span class="hl-1">, </span><span class="hl-8">0xff</span><span class="hl-1">, </span><span class="hl-8">0xff</span><span class="hl-1">]);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">readBigUInt64LE</span><span class="hl-1">(</span><span class="hl-8">0</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: 18446744069414584320n</span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v12.0.0, v10.20.0</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">bigint</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readBigUint64BE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">read<wbr/>Big<wbr/>Uint64BE<a href="#readBigUint64BE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">read<wbr/>Big<wbr/>Uint64BE<span class="tsd-signature-symbol">(</span>offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">bigint</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1062</li></ul></aside><div class="tsd-comment tsd-typography"><dl class="tsd-comment-tags"><dt>alias</dt><dd><p>Buffer.readBigUInt64BE</p>
- </dd><dt>since</dt><dd><p>v14.10.0, v12.19.0</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">bigint</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readBigUint64LE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">read<wbr/>Big<wbr/>Uint64LE<a href="#readBigUint64LE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">read<wbr/>Big<wbr/>Uint64LE<span class="tsd-signature-symbol">(</span>offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">bigint</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1084</li></ul></aside><div class="tsd-comment tsd-typography"><dl class="tsd-comment-tags"><dt>alias</dt><dd><p>Buffer.readBigUInt64LE</p>
- </dd><dt>since</dt><dd><p>v14.10.0, v12.19.0</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">bigint</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readDoubleBE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">read<wbr/>DoubleBE<a href="#readDoubleBE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">read<wbr/>DoubleBE<span class="tsd-signature-symbol">(</span>offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1469</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Reads a 64-bit, big-endian double from <code>buf</code> at the specified <code>offset</code>.</p>
- </div><div><pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">([</span><span class="hl-8">1</span><span class="hl-1">, </span><span class="hl-8">2</span><span class="hl-1">, </span><span class="hl-8">3</span><span class="hl-1">, </span><span class="hl-8">4</span><span class="hl-1">, </span><span class="hl-8">5</span><span class="hl-1">, </span><span class="hl-8">6</span><span class="hl-1">, </span><span class="hl-8">7</span><span class="hl-1">, </span><span class="hl-8">8</span><span class="hl-1">]);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">readDoubleBE</span><span class="hl-1">(</span><span class="hl-8">0</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: 8.20788039913184e-304</span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v0.11.15</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readDoubleLE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">read<wbr/>DoubleLE<a href="#readDoubleLE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">read<wbr/>DoubleLE<span class="tsd-signature-symbol">(</span>offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1454</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Reads a 64-bit, little-endian double from <code>buf</code> at the specified <code>offset</code>.</p>
- </div><div><pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">([</span><span class="hl-8">1</span><span class="hl-1">, </span><span class="hl-8">2</span><span class="hl-1">, </span><span class="hl-8">3</span><span class="hl-1">, </span><span class="hl-8">4</span><span class="hl-1">, </span><span class="hl-8">5</span><span class="hl-1">, </span><span class="hl-8">6</span><span class="hl-1">, </span><span class="hl-8">7</span><span class="hl-1">, </span><span class="hl-8">8</span><span class="hl-1">]);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">readDoubleLE</span><span class="hl-1">(</span><span class="hl-8">0</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: 5.447603722011605e-270</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">readDoubleLE</span><span class="hl-1">(</span><span class="hl-8">1</span><span class="hl-1">));</span><br/><span class="hl-9">// Throws ERR_OUT_OF_RANGE.</span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v0.11.15</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readFloatBE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">read<wbr/>FloatBE<a href="#readFloatBE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">read<wbr/>FloatBE<span class="tsd-signature-symbol">(</span>offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1437</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Reads a 32-bit, big-endian float from <code>buf</code> at the specified <code>offset</code>.</p>
- </div><div><pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">([</span><span class="hl-8">1</span><span class="hl-1">, </span><span class="hl-8">2</span><span class="hl-1">, </span><span class="hl-8">3</span><span class="hl-1">, </span><span class="hl-8">4</span><span class="hl-1">]);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">readFloatBE</span><span class="hl-1">(</span><span class="hl-8">0</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: 2.387939260590663e-38</span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v0.11.15</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readFloatLE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">read<wbr/>FloatLE<a href="#readFloatLE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">read<wbr/>FloatLE<span class="tsd-signature-symbol">(</span>offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1422</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Reads a 32-bit, little-endian float from <code>buf</code> at the specified <code>offset</code>.</p>
- </div><div><pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">([</span><span class="hl-8">1</span><span class="hl-1">, </span><span class="hl-8">2</span><span class="hl-1">, </span><span class="hl-8">3</span><span class="hl-1">, </span><span class="hl-8">4</span><span class="hl-1">]);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">readFloatLE</span><span class="hl-1">(</span><span class="hl-8">0</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: 1.539989614439558e-36</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">readFloatLE</span><span class="hl-1">(</span><span class="hl-8">1</span><span class="hl-1">));</span><br/><span class="hl-9">// Throws ERR_OUT_OF_RANGE.</span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v0.11.15</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readInt16BE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">read<wbr/>Int16BE<a href="#readInt16BE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">read<wbr/>Int16BE<span class="tsd-signature-symbol">(</span>offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1369</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Reads a signed, big-endian 16-bit integer from <code>buf</code> at the specified <code>offset</code>.</p>
- </div><div><p>Integers read from a <code>Buffer</code> are interpreted as two's complement signed values.</p>
- <pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">([</span><span class="hl-8">0</span><span class="hl-1">, </span><span class="hl-8">5</span><span class="hl-1">]);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">readInt16BE</span><span class="hl-1">(</span><span class="hl-8">0</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: 5</span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v0.5.5</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readInt16LE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">read<wbr/>Int16LE<a href="#readInt16LE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">read<wbr/>Int16LE<span class="tsd-signature-symbol">(</span>offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1352</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Reads a signed, little-endian 16-bit integer from <code>buf</code> at the specified<code>offset</code>.</p>
- </div><div><p>Integers read from a <code>Buffer</code> are interpreted as two's complement signed values.</p>
- <pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">([</span><span class="hl-8">0</span><span class="hl-1">, </span><span class="hl-8">5</span><span class="hl-1">]);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">readInt16LE</span><span class="hl-1">(</span><span class="hl-8">0</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: 1280</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">readInt16LE</span><span class="hl-1">(</span><span class="hl-8">1</span><span class="hl-1">));</span><br/><span class="hl-9">// Throws ERR_OUT_OF_RANGE.</span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v0.5.5</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readInt32BE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">read<wbr/>Int32BE<a href="#readInt32BE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">read<wbr/>Int32BE<span class="tsd-signature-symbol">(</span>offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1405</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Reads a signed, big-endian 32-bit integer from <code>buf</code> at the specified <code>offset</code>.</p>
- </div><div><p>Integers read from a <code>Buffer</code> are interpreted as two's complement signed values.</p>
- <pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">([</span><span class="hl-8">0</span><span class="hl-1">, </span><span class="hl-8">0</span><span class="hl-1">, </span><span class="hl-8">0</span><span class="hl-1">, </span><span class="hl-8">5</span><span class="hl-1">]);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">readInt32BE</span><span class="hl-1">(</span><span class="hl-8">0</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: 5</span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v0.5.5</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readInt32LE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">read<wbr/>Int32LE<a href="#readInt32LE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">read<wbr/>Int32LE<span class="tsd-signature-symbol">(</span>offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1388</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Reads a signed, little-endian 32-bit integer from <code>buf</code> at the specified<code>offset</code>.</p>
- </div><div><p>Integers read from a <code>Buffer</code> are interpreted as two's complement signed values.</p>
- <pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">([</span><span class="hl-8">0</span><span class="hl-1">, </span><span class="hl-8">0</span><span class="hl-1">, </span><span class="hl-8">0</span><span class="hl-1">, </span><span class="hl-8">5</span><span class="hl-1">]);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">readInt32LE</span><span class="hl-1">(</span><span class="hl-8">0</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: 83886080</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">readInt32LE</span><span class="hl-1">(</span><span class="hl-8">1</span><span class="hl-1">));</span><br/><span class="hl-9">// Throws ERR_OUT_OF_RANGE.</span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v0.5.5</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readInt8" class="tsd-anchor"></a><h3 class="tsd-anchor-link">read<wbr/>Int8<a href="#readInt8" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">read<wbr/>Int8<span class="tsd-signature-symbol">(</span>offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1333</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Reads a signed 8-bit integer from <code>buf</code> at the specified <code>offset</code>.</p>
- </div><div><p>Integers read from a <code>Buffer</code> are interpreted as two's complement signed values.</p>
- <pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">([-</span><span class="hl-8">1</span><span class="hl-1">, </span><span class="hl-8">5</span><span class="hl-1">]);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">readInt8</span><span class="hl-1">(</span><span class="hl-8">0</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: -1</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">readInt8</span><span class="hl-1">(</span><span class="hl-8">1</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: 5</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">readInt8</span><span class="hl-1">(</span><span class="hl-8">2</span><span class="hl-1">));</span><br/><span class="hl-9">// Throws ERR_OUT_OF_RANGE.</span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v0.5.0</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readIntBE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">read<wbr/>IntBE<a href="#readIntBE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">read<wbr/>IntBE<span class="tsd-signature-symbol">(</span>offset<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, byteLength<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1190</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Reads <code>byteLength</code> number of bytes from <code>buf</code> at the specified <code>offset</code>and interprets the result as a big-endian, two's complement signed value
- supporting up to 48 bits of accuracy.</p>
- </div><div><pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">([</span><span class="hl-8">0x12</span><span class="hl-1">, </span><span class="hl-8">0x34</span><span class="hl-1">, </span><span class="hl-8">0x56</span><span class="hl-1">, </span><span class="hl-8">0x78</span><span class="hl-1">, </span><span class="hl-8">0x90</span><span class="hl-1">, </span><span class="hl-8">0xab</span><span class="hl-1">]);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">readIntBE</span><span class="hl-1">(</span><span class="hl-8">0</span><span class="hl-1">, </span><span class="hl-8">6</span><span class="hl-1">).</span><span class="hl-6">toString</span><span class="hl-1">(</span><span class="hl-8">16</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: 1234567890ab</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">readIntBE</span><span class="hl-1">(</span><span class="hl-8">1</span><span class="hl-1">, </span><span class="hl-8">6</span><span class="hl-1">).</span><span class="hl-6">toString</span><span class="hl-1">(</span><span class="hl-8">16</span><span class="hl-1">));</span><br/><span class="hl-9">// Throws ERR_OUT_OF_RANGE.</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">readIntBE</span><span class="hl-1">(</span><span class="hl-8">1</span><span class="hl-1">, </span><span class="hl-8">0</span><span class="hl-1">).</span><span class="hl-6">toString</span><span class="hl-1">(</span><span class="hl-8">16</span><span class="hl-1">));</span><br/><span class="hl-9">// Throws ERR_OUT_OF_RANGE.</span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v0.11.15</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>offset: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Number of bytes to skip before starting to read. Must satisfy <code>0 <= offset <= buf.length - byteLength</code>.</p>
- </div></div></li><li><h5>byteLength: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Number of bytes to read. Must satisfy <code>0 < byteLength <= 6</code>.</p>
- </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readIntLE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">read<wbr/>IntLE<a href="#readIntLE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">read<wbr/>IntLE<span class="tsd-signature-symbol">(</span>offset<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, byteLength<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1169</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Reads <code>byteLength</code> number of bytes from <code>buf</code> at the specified <code>offset</code>and interprets the result as a little-endian, two's complement signed value
- supporting up to 48 bits of accuracy.</p>
- </div><div><pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">([</span><span class="hl-8">0x12</span><span class="hl-1">, </span><span class="hl-8">0x34</span><span class="hl-1">, </span><span class="hl-8">0x56</span><span class="hl-1">, </span><span class="hl-8">0x78</span><span class="hl-1">, </span><span class="hl-8">0x90</span><span class="hl-1">, </span><span class="hl-8">0xab</span><span class="hl-1">]);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">readIntLE</span><span class="hl-1">(</span><span class="hl-8">0</span><span class="hl-1">, </span><span class="hl-8">6</span><span class="hl-1">).</span><span class="hl-6">toString</span><span class="hl-1">(</span><span class="hl-8">16</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: -546f87a9cbee</span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v0.11.15</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>offset: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Number of bytes to skip before starting to read. Must satisfy <code>0 <= offset <= buf.length - byteLength</code>.</p>
- </div></div></li><li><h5>byteLength: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Number of bytes to read. Must satisfy <code>0 < byteLength <= 6</code>.</p>
- </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readUInt16BE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">readUInt16BE<a href="#readUInt16BE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">readUInt16BE<span class="tsd-signature-symbol">(</span>offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1261</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Reads an unsigned, big-endian 16-bit integer from <code>buf</code> at the specified<code>offset</code>.</p>
- </div><div><p>This function is also available under the <code>readUint16BE</code> alias.</p>
- <pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">([</span><span class="hl-8">0x12</span><span class="hl-1">, </span><span class="hl-8">0x34</span><span class="hl-1">, </span><span class="hl-8">0x56</span><span class="hl-1">]);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">readUInt16BE</span><span class="hl-1">(</span><span class="hl-8">0</span><span class="hl-1">).</span><span class="hl-6">toString</span><span class="hl-1">(</span><span class="hl-8">16</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: 1234</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">readUInt16BE</span><span class="hl-1">(</span><span class="hl-8">1</span><span class="hl-1">).</span><span class="hl-6">toString</span><span class="hl-1">(</span><span class="hl-8">16</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: 3456</span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v0.5.5</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readUInt16LE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">readUInt16LE<a href="#readUInt16LE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">readUInt16LE<span class="tsd-signature-symbol">(</span>offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1237</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Reads an unsigned, little-endian 16-bit integer from <code>buf</code> at the specified<code>offset</code>.</p>
- </div><div><p>This function is also available under the <code>readUint16LE</code> alias.</p>
- <pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">([</span><span class="hl-8">0x12</span><span class="hl-1">, </span><span class="hl-8">0x34</span><span class="hl-1">, </span><span class="hl-8">0x56</span><span class="hl-1">]);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">readUInt16LE</span><span class="hl-1">(</span><span class="hl-8">0</span><span class="hl-1">).</span><span class="hl-6">toString</span><span class="hl-1">(</span><span class="hl-8">16</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: 3412</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">readUInt16LE</span><span class="hl-1">(</span><span class="hl-8">1</span><span class="hl-1">).</span><span class="hl-6">toString</span><span class="hl-1">(</span><span class="hl-8">16</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: 5634</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">readUInt16LE</span><span class="hl-1">(</span><span class="hl-8">2</span><span class="hl-1">).</span><span class="hl-6">toString</span><span class="hl-1">(</span><span class="hl-8">16</span><span class="hl-1">));</span><br/><span class="hl-9">// Throws ERR_OUT_OF_RANGE.</span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v0.5.5</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readUInt32BE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">readUInt32BE<a href="#readUInt32BE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">readUInt32BE<span class="tsd-signature-symbol">(</span>offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1307</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Reads an unsigned, big-endian 32-bit integer from <code>buf</code> at the specified<code>offset</code>.</p>
- </div><div><p>This function is also available under the <code>readUint32BE</code> alias.</p>
- <pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">([</span><span class="hl-8">0x12</span><span class="hl-1">, </span><span class="hl-8">0x34</span><span class="hl-1">, </span><span class="hl-8">0x56</span><span class="hl-1">, </span><span class="hl-8">0x78</span><span class="hl-1">]);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">readUInt32BE</span><span class="hl-1">(</span><span class="hl-8">0</span><span class="hl-1">).</span><span class="hl-6">toString</span><span class="hl-1">(</span><span class="hl-8">16</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: 12345678</span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v0.5.5</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readUInt32LE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">readUInt32LE<a href="#readUInt32LE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">readUInt32LE<span class="tsd-signature-symbol">(</span>offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1285</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Reads an unsigned, little-endian 32-bit integer from <code>buf</code> at the specified<code>offset</code>.</p>
- </div><div><p>This function is also available under the <code>readUint32LE</code> alias.</p>
- <pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">([</span><span class="hl-8">0x12</span><span class="hl-1">, </span><span class="hl-8">0x34</span><span class="hl-1">, </span><span class="hl-8">0x56</span><span class="hl-1">, </span><span class="hl-8">0x78</span><span class="hl-1">]);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">readUInt32LE</span><span class="hl-1">(</span><span class="hl-8">0</span><span class="hl-1">).</span><span class="hl-6">toString</span><span class="hl-1">(</span><span class="hl-8">16</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: 78563412</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">readUInt32LE</span><span class="hl-1">(</span><span class="hl-8">1</span><span class="hl-1">).</span><span class="hl-6">toString</span><span class="hl-1">(</span><span class="hl-8">16</span><span class="hl-1">));</span><br/><span class="hl-9">// Throws ERR_OUT_OF_RANGE.</span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v0.5.5</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readUInt8" class="tsd-anchor"></a><h3 class="tsd-anchor-link">readUInt8<a href="#readUInt8" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">readUInt8<span class="tsd-signature-symbol">(</span>offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1211</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Reads an unsigned 8-bit integer from <code>buf</code> at the specified <code>offset</code>.</p>
- </div><div><p>This function is also available under the <code>readUint8</code> alias.</p>
- <pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">([</span><span class="hl-8">1</span><span class="hl-1">, -</span><span class="hl-8">2</span><span class="hl-1">]);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">readUInt8</span><span class="hl-1">(</span><span class="hl-8">0</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: 1</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">readUInt8</span><span class="hl-1">(</span><span class="hl-8">1</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: 254</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">readUInt8</span><span class="hl-1">(</span><span class="hl-8">2</span><span class="hl-1">));</span><br/><span class="hl-9">// Throws ERR_OUT_OF_RANGE.</span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v0.5.0</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readUIntBE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">readUIntBE<a href="#readUIntBE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">readUIntBE<span class="tsd-signature-symbol">(</span>offset<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, byteLength<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1147</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Reads <code>byteLength</code> number of bytes from <code>buf</code> at the specified <code>offset</code>and interprets the result as an unsigned big-endian integer supporting
- up to 48 bits of accuracy.</p>
- </div><div><p>This function is also available under the <code>readUintBE</code> alias.</p>
- <pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">([</span><span class="hl-8">0x12</span><span class="hl-1">, </span><span class="hl-8">0x34</span><span class="hl-1">, </span><span class="hl-8">0x56</span><span class="hl-1">, </span><span class="hl-8">0x78</span><span class="hl-1">, </span><span class="hl-8">0x90</span><span class="hl-1">, </span><span class="hl-8">0xab</span><span class="hl-1">]);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">readUIntBE</span><span class="hl-1">(</span><span class="hl-8">0</span><span class="hl-1">, </span><span class="hl-8">6</span><span class="hl-1">).</span><span class="hl-6">toString</span><span class="hl-1">(</span><span class="hl-8">16</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: 1234567890ab</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">readUIntBE</span><span class="hl-1">(</span><span class="hl-8">1</span><span class="hl-1">, </span><span class="hl-8">6</span><span class="hl-1">).</span><span class="hl-6">toString</span><span class="hl-1">(</span><span class="hl-8">16</span><span class="hl-1">));</span><br/><span class="hl-9">// Throws ERR_OUT_OF_RANGE.</span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v0.11.15</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>offset: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Number of bytes to skip before starting to read. Must satisfy <code>0 <= offset <= buf.length - byteLength</code>.</p>
- </div></div></li><li><h5>byteLength: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Number of bytes to read. Must satisfy <code>0 < byteLength <= 6</code>.</p>
- </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readUIntLE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">readUIntLE<a href="#readUIntLE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">readUIntLE<span class="tsd-signature-symbol">(</span>offset<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, byteLength<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1121</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Reads <code>byteLength</code> number of bytes from <code>buf</code> at the specified <code>offset</code>and interprets the result as an unsigned, little-endian integer supporting
- up to 48 bits of accuracy.</p>
- </div><div><p>This function is also available under the <code>readUintLE</code> alias.</p>
- <pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">([</span><span class="hl-8">0x12</span><span class="hl-1">, </span><span class="hl-8">0x34</span><span class="hl-1">, </span><span class="hl-8">0x56</span><span class="hl-1">, </span><span class="hl-8">0x78</span><span class="hl-1">, </span><span class="hl-8">0x90</span><span class="hl-1">, </span><span class="hl-8">0xab</span><span class="hl-1">]);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">readUIntLE</span><span class="hl-1">(</span><span class="hl-8">0</span><span class="hl-1">, </span><span class="hl-8">6</span><span class="hl-1">).</span><span class="hl-6">toString</span><span class="hl-1">(</span><span class="hl-8">16</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: ab9078563412</span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v0.11.15</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>offset: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Number of bytes to skip before starting to read. Must satisfy <code>0 <= offset <= buf.length - byteLength</code>.</p>
- </div></div></li><li><h5>byteLength: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Number of bytes to read. Must satisfy <code>0 < byteLength <= 6</code>.</p>
- </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readUint16BE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">read<wbr/>Uint16BE<a href="#readUint16BE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">read<wbr/>Uint16BE<span class="tsd-signature-symbol">(</span>offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1266</li></ul></aside><div class="tsd-comment tsd-typography"><dl class="tsd-comment-tags"><dt>alias</dt><dd><p>Buffer.readUInt16BE</p>
- </dd><dt>since</dt><dd><p>v14.9.0, v12.19.0</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readUint16LE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">read<wbr/>Uint16LE<a href="#readUint16LE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">read<wbr/>Uint16LE<span class="tsd-signature-symbol">(</span>offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1242</li></ul></aside><div class="tsd-comment tsd-typography"><dl class="tsd-comment-tags"><dt>alias</dt><dd><p>Buffer.readUInt16LE</p>
- </dd><dt>since</dt><dd><p>v14.9.0, v12.19.0</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readUint32BE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">read<wbr/>Uint32BE<a href="#readUint32BE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">read<wbr/>Uint32BE<span class="tsd-signature-symbol">(</span>offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1312</li></ul></aside><div class="tsd-comment tsd-typography"><dl class="tsd-comment-tags"><dt>alias</dt><dd><p>Buffer.readUInt32BE</p>
- </dd><dt>since</dt><dd><p>v14.9.0, v12.19.0</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readUint32LE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">read<wbr/>Uint32LE<a href="#readUint32LE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">read<wbr/>Uint32LE<span class="tsd-signature-symbol">(</span>offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1290</li></ul></aside><div class="tsd-comment tsd-typography"><dl class="tsd-comment-tags"><dt>alias</dt><dd><p>Buffer.readUInt32LE</p>
- </dd><dt>since</dt><dd><p>v14.9.0, v12.19.0</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readUint8" class="tsd-anchor"></a><h3 class="tsd-anchor-link">read<wbr/>Uint8<a href="#readUint8" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">read<wbr/>Uint8<span class="tsd-signature-symbol">(</span>offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1216</li></ul></aside><div class="tsd-comment tsd-typography"><dl class="tsd-comment-tags"><dt>alias</dt><dd><p>Buffer.readUInt8</p>
- </dd><dt>since</dt><dd><p>v14.9.0, v12.19.0</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readUintBE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">read<wbr/>UintBE<a href="#readUintBE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">read<wbr/>UintBE<span class="tsd-signature-symbol">(</span>offset<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, byteLength<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1152</li></ul></aside><div class="tsd-comment tsd-typography"><dl class="tsd-comment-tags"><dt>alias</dt><dd><p>Buffer.readUIntBE</p>
- </dd><dt>since</dt><dd><p>v14.9.0, v12.19.0</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>offset: <span class="tsd-signature-type">number</span></h5></li><li><h5>byteLength: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readUintLE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">read<wbr/>UintLE<a href="#readUintLE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">read<wbr/>UintLE<span class="tsd-signature-symbol">(</span>offset<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, byteLength<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1126</li></ul></aside><div class="tsd-comment tsd-typography"><dl class="tsd-comment-tags"><dt>alias</dt><dd><p>Buffer.readUIntLE</p>
- </dd><dt>since</dt><dd><p>v14.9.0, v12.19.0</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>offset: <span class="tsd-signature-type">number</span></h5></li><li><h5>byteLength: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-has-type-parameter tsd-is-inherited tsd-is-external"><a id="reduce" class="tsd-anchor"></a><h3 class="tsd-anchor-link">reduce<a href="#reduce" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-has-type-parameter tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-kind-icon">reduce<span class="tsd-signature-symbol">(</span>callbackfn<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>previousValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, currentValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, currentIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, array<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li><li class="tsd-signature tsd-kind-icon">reduce<span class="tsd-signature-symbol">(</span>callbackfn<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>previousValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, currentValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, currentIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, array<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">number</span>, initialValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li><li class="tsd-signature tsd-kind-icon">reduce<span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">U</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span>callbackfn<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>previousValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">U</span>, currentValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, currentIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, array<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">U</span>, initialValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">U</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">U</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from Uint8Array.reduce</p><ul><li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2238</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Calls the specified callback function for all the elements in an array. The return value of
- the callback function is the accumulated result, and is provided as an argument in the next
- call to the callback function.</p>
- </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>callbackfn: <span class="tsd-signature-symbol">(</span>previousValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, currentValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, currentIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, array<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>A function that accepts up to four arguments. The reduce method calls the
- callbackfn function one time for each element in the array.</p>
- </div></div><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures tsd-kind-type-literal tsd-is-external"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>previousValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, currentValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, currentIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, array<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>previousValue: <span class="tsd-signature-type">number</span></h5></li><li><h5>currentValue: <span class="tsd-signature-type">number</span></h5></li><li><h5>currentIndex: <span class="tsd-signature-type">number</span></h5></li><li><h5>array: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></li></ul></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from Uint8Array.reduce</p><ul><li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2239</li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>callbackfn: <span class="tsd-signature-symbol">(</span>previousValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, currentValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, currentIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, array<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">number</span></h5><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures tsd-kind-type-literal tsd-is-external"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>previousValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, currentValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, currentIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, array<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>previousValue: <span class="tsd-signature-type">number</span></h5></li><li><h5>currentValue: <span class="tsd-signature-type">number</span></h5></li><li><h5>currentIndex: <span class="tsd-signature-type">number</span></h5></li><li><h5>array: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></li></ul></li><li><h5>initialValue: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from Uint8Array.reduce</p><ul><li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2251</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Calls the specified callback function for all the elements in an array. The return value of
- the callback function is the accumulated result, and is provided as an argument in the next
- call to the callback function.</p>
- </div></div><h4 class="tsd-type-parameters-title">Type parameters</h4><ul class="tsd-type-parameters"><li><h4>U</h4></li></ul><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>callbackfn: <span class="tsd-signature-symbol">(</span>previousValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">U</span>, currentValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, currentIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, array<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">U</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>A function that accepts up to four arguments. The reduce method calls the
- callbackfn function one time for each element in the array.</p>
- </div></div><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures tsd-kind-type-literal tsd-is-external"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>previousValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">U</span>, currentValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, currentIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, array<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">U</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>previousValue: <span class="tsd-signature-type" data-tsd-kind="Type parameter">U</span></h5></li><li><h5>currentValue: <span class="tsd-signature-type">number</span></h5></li><li><h5>currentIndex: <span class="tsd-signature-type">number</span></h5></li><li><h5>array: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type" data-tsd-kind="Type parameter">U</span></h4></li></ul></li></ul></li><li><h5>initialValue: <span class="tsd-signature-type" data-tsd-kind="Type parameter">U</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>If initialValue is specified, it is used as the initial value to start
- the accumulation. The first call to the callbackfn function provides this value as an argument
- instead of an array value.</p>
- </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type" data-tsd-kind="Type parameter">U</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-has-type-parameter tsd-is-inherited tsd-is-external"><a id="reduceRight" class="tsd-anchor"></a><h3 class="tsd-anchor-link">reduce<wbr/>Right<a href="#reduceRight" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-has-type-parameter tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-kind-icon">reduce<wbr/>Right<span class="tsd-signature-symbol">(</span>callbackfn<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>previousValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, currentValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, currentIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, array<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li><li class="tsd-signature tsd-kind-icon">reduce<wbr/>Right<span class="tsd-signature-symbol">(</span>callbackfn<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>previousValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, currentValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, currentIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, array<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">number</span>, initialValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li><li class="tsd-signature tsd-kind-icon">reduce<wbr/>Right<span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">U</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span>callbackfn<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>previousValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">U</span>, currentValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, currentIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, array<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">U</span>, initialValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">U</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">U</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from Uint8Array.reduceRight</p><ul><li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2263</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Calls the specified callback function for all the elements in an array, in descending order.
- The return value of the callback function is the accumulated result, and is provided as an
- argument in the next call to the callback function.</p>
- </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>callbackfn: <span class="tsd-signature-symbol">(</span>previousValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, currentValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, currentIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, array<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>A function that accepts up to four arguments. The reduceRight method calls
- the callbackfn function one time for each element in the array.</p>
- </div></div><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures tsd-kind-type-literal tsd-is-external"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>previousValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, currentValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, currentIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, array<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>previousValue: <span class="tsd-signature-type">number</span></h5></li><li><h5>currentValue: <span class="tsd-signature-type">number</span></h5></li><li><h5>currentIndex: <span class="tsd-signature-type">number</span></h5></li><li><h5>array: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></li></ul></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from Uint8Array.reduceRight</p><ul><li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2264</li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>callbackfn: <span class="tsd-signature-symbol">(</span>previousValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, currentValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, currentIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, array<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">number</span></h5><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures tsd-kind-type-literal tsd-is-external"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>previousValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, currentValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, currentIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, array<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>previousValue: <span class="tsd-signature-type">number</span></h5></li><li><h5>currentValue: <span class="tsd-signature-type">number</span></h5></li><li><h5>currentIndex: <span class="tsd-signature-type">number</span></h5></li><li><h5>array: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></li></ul></li><li><h5>initialValue: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from Uint8Array.reduceRight</p><ul><li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2276</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Calls the specified callback function for all the elements in an array, in descending order.
- The return value of the callback function is the accumulated result, and is provided as an
- argument in the next call to the callback function.</p>
- </div></div><h4 class="tsd-type-parameters-title">Type parameters</h4><ul class="tsd-type-parameters"><li><h4>U</h4></li></ul><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>callbackfn: <span class="tsd-signature-symbol">(</span>previousValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">U</span>, currentValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, currentIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, array<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">U</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>A function that accepts up to four arguments. The reduceRight method calls
- the callbackfn function one time for each element in the array.</p>
- </div></div><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures tsd-kind-type-literal tsd-is-external"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>previousValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">U</span>, currentValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, currentIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, array<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">U</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>previousValue: <span class="tsd-signature-type" data-tsd-kind="Type parameter">U</span></h5></li><li><h5>currentValue: <span class="tsd-signature-type">number</span></h5></li><li><h5>currentIndex: <span class="tsd-signature-type">number</span></h5></li><li><h5>array: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type" data-tsd-kind="Type parameter">U</span></h4></li></ul></li></ul></li><li><h5>initialValue: <span class="tsd-signature-type" data-tsd-kind="Type parameter">U</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>If initialValue is specified, it is used as the initial value to start
- the accumulation. The first call to the callbackfn function provides this value as an argument
- instead of an array value.</p>
- </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type" data-tsd-kind="Type parameter">U</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-overwrite tsd-is-external"><a id="reverse" class="tsd-anchor"></a><h3 class="tsd-anchor-link">reverse<a href="#reverse" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-overwrite tsd-is-external"><li class="tsd-signature tsd-kind-icon">reverse<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../modules/RcsbFv3DAssembly._internal_.html" class="tsd-signature-type" data-tsd-kind="Namespace"><internal></a><span class="tsd-signature-symbol">.</span><a href="../modules/RcsbFv3DAssembly._internal_.html#Buffer-2" class="tsd-signature-type" data-tsd-kind="Variable">Buffer</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Overrides Uint8Array.reverse</p><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1470</li></ul></aside><h4 class="tsd-returns-title">Returns <a href="../modules/RcsbFv3DAssembly._internal_.html" class="tsd-signature-type" data-tsd-kind="Namespace"><internal></a><span class="tsd-signature-symbol">.</span><a href="../modules/RcsbFv3DAssembly._internal_.html#Buffer-2" class="tsd-signature-type" data-tsd-kind="Variable">Buffer</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a id="set" class="tsd-anchor"></a><h3 class="tsd-anchor-link">set<a href="#set" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-kind-icon">set<span class="tsd-signature-symbol">(</span>array<span class="tsd-signature-symbol">: </span><a href="RcsbFv3DAssembly._internal_.ArrayLike.html" class="tsd-signature-type" data-tsd-kind="Interface">ArrayLike</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">></span>, offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from Uint8Array.set</p><ul><li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2288</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Sets a value or an array of values.</p>
- </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>array: <a href="RcsbFv3DAssembly._internal_.ArrayLike.html" class="tsd-signature-type" data-tsd-kind="Interface">ArrayLike</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">></span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>A typed or untyped array of values to set.</p>
- </div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>The index in the current array at which the values are to be written.</p>
- </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-overwrite tsd-is-external"><a id="slice" class="tsd-anchor"></a><h3 class="tsd-anchor-link">slice<a href="#slice" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-overwrite tsd-is-external"><li class="tsd-signature tsd-kind-icon">slice<span class="tsd-signature-symbol">(</span>start<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, end<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../modules/RcsbFv3DAssembly._internal_.html" class="tsd-signature-type" data-tsd-kind="Namespace"><internal></a><span class="tsd-signature-symbol">.</span><a href="../modules/RcsbFv3DAssembly._internal_.html#Buffer-2" class="tsd-signature-type" data-tsd-kind="Variable">Buffer</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Overrides Uint8Array.slice</p><ul><li>Defined in node_modules/@types/node/buffer.d.ts:788</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Returns a new <code>Buffer</code> that references the same memory as the original, but
- offset and cropped by the <code>start</code> and <code>end</code> indices.</p>
- </div><div><p>This is the same behavior as <code>buf.subarray()</code>.</p>
- <p>This method is not compatible with the <code>Uint8Array.prototype.slice()</code>,
- which is a superclass of <code>Buffer</code>. To copy the slice, use<code>Uint8Array.prototype.slice()</code>.</p>
- <pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">(</span><span class="hl-5">'buffer'</span><span class="hl-1">);</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">copiedBuf</span><span class="hl-1"> = </span><span class="hl-4">Uint8Array</span><span class="hl-1">.</span><span class="hl-0">prototype</span><span class="hl-1">.</span><span class="hl-0">slice</span><span class="hl-1">.</span><span class="hl-6">call</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">);</span><br/><span class="hl-0">copiedBuf</span><span class="hl-1">[</span><span class="hl-8">0</span><span class="hl-1">]++;</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">copiedBuf</span><span class="hl-1">.</span><span class="hl-6">toString</span><span class="hl-1">());</span><br/><span class="hl-9">// Prints: cuffer</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">toString</span><span class="hl-1">());</span><br/><span class="hl-9">// Prints: buffer</span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v0.3.0</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> start: <span class="tsd-signature-type">number</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> end: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="../modules/RcsbFv3DAssembly._internal_.html" class="tsd-signature-type" data-tsd-kind="Namespace"><internal></a><span class="tsd-signature-symbol">.</span><a href="../modules/RcsbFv3DAssembly._internal_.html#Buffer-2" class="tsd-signature-type" data-tsd-kind="Variable">Buffer</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a id="some" class="tsd-anchor"></a><h3 class="tsd-anchor-link">some<a href="#some" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-kind-icon">some<span class="tsd-signature-symbol">(</span>predicate<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, array<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">unknown</span>, thisArg<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from Uint8Array.some</p><ul><li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2305</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Determines whether the specified callback function returns true for any element of an array.</p>
- </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>predicate: <span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, array<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">unknown</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>A function that accepts up to three arguments. The some method calls
- the predicate function for each element in the array until the predicate returns a value
- which is coercible to the Boolean value true, or until the end of the array.</p>
- </div></div><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures tsd-kind-type-literal tsd-is-external"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, array<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">unknown</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">number</span></h5></li><li><h5>index: <span class="tsd-signature-type">number</span></h5></li><li><h5>array: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">unknown</span></h4></li></ul></li></ul></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> thisArg: <span class="tsd-signature-type">any</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>An object to which the this keyword can refer in the predicate function.
- If thisArg is omitted, undefined is used as the this value.</p>
- </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a id="sort" class="tsd-anchor"></a><h3 class="tsd-anchor-link">sort<a href="#sort" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-kind-icon">sort<span class="tsd-signature-symbol">(</span>compareFn<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">(</span>a<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, b<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../modules/RcsbFv3DAssembly._internal_.html" class="tsd-signature-type" data-tsd-kind="Namespace"><internal></a><span class="tsd-signature-symbol">.</span><a href="../modules/RcsbFv3DAssembly._internal_.html#Buffer-2" class="tsd-signature-type" data-tsd-kind="Variable">Buffer</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from Uint8Array.sort</p><ul><li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2316</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Sorts an array.</p>
- </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> compareFn: <span class="tsd-signature-symbol">(</span>a<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, b<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Function used to determine the order of the elements. It is expected to return
- a negative value if first argument is less than second argument, zero if they're equal and a positive
- value otherwise. If omitted, the elements are sorted in ascending order.</p>
- <pre><code class="language-ts"><span class="hl-1">[</span><span class="hl-8">11</span><span class="hl-1">,</span><span class="hl-8">2</span><span class="hl-1">,</span><span class="hl-8">22</span><span class="hl-1">,</span><span class="hl-8">1</span><span class="hl-1">].</span><span class="hl-6">sort</span><span class="hl-1">((</span><span class="hl-0">a</span><span class="hl-1">, </span><span class="hl-0">b</span><span class="hl-1">) </span><span class="hl-3">=></span><span class="hl-1"> </span><span class="hl-0">a</span><span class="hl-1"> - </span><span class="hl-0">b</span><span class="hl-1">)</span>
- </code></pre>
- </div></div><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures tsd-kind-type-literal tsd-is-external"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>a<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, b<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>a: <span class="tsd-signature-type">number</span></h5></li><li><h5>b: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></li></ul></li></ul><h4 class="tsd-returns-title">Returns <a href="../modules/RcsbFv3DAssembly._internal_.html" class="tsd-signature-type" data-tsd-kind="Namespace"><internal></a><span class="tsd-signature-symbol">.</span><a href="../modules/RcsbFv3DAssembly._internal_.html#Buffer-2" class="tsd-signature-type" data-tsd-kind="Variable">Buffer</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-overwrite tsd-is-external"><a id="subarray" class="tsd-anchor"></a><h3 class="tsd-anchor-link">subarray<a href="#subarray" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-overwrite tsd-is-external"><li class="tsd-signature tsd-kind-icon">subarray<span class="tsd-signature-symbol">(</span>start<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, end<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../modules/RcsbFv3DAssembly._internal_.html" class="tsd-signature-type" data-tsd-kind="Namespace"><internal></a><span class="tsd-signature-symbol">.</span><a href="../modules/RcsbFv3DAssembly._internal_.html#Buffer-2" class="tsd-signature-type" data-tsd-kind="Variable">Buffer</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Overrides Uint8Array.subarray</p><ul><li>Defined in node_modules/@types/node/buffer.d.ts:848</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Returns a new <code>Buffer</code> that references the same memory as the original, but
- offset and cropped by the <code>start</code> and <code>end</code> indices.</p>
- </div><div><p>Specifying <code>end</code> greater than <code>buf.length</code> will return the same result as
- that of <code>end</code> equal to <code>buf.length</code>.</p>
- <p>This method is inherited from <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/subarray"><code>TypedArray.prototype.subarray()</code></a>.</p>
- <p>Modifying the new <code>Buffer</code> slice will modify the memory in the original <code>Buffer</code>because the allocated memory of the two objects overlap.</p>
- <pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-9">// Create a `Buffer` with the ASCII alphabet, take a slice, and modify one byte</span><br/><span class="hl-9">// from the original `Buffer`.</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf1</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">allocUnsafe</span><span class="hl-1">(</span><span class="hl-8">26</span><span class="hl-1">);</span><br/><br/><span class="hl-7">for</span><span class="hl-1"> (</span><span class="hl-3">let</span><span class="hl-1"> </span><span class="hl-0">i</span><span class="hl-1"> = </span><span class="hl-8">0</span><span class="hl-1">; </span><span class="hl-0">i</span><span class="hl-1"> < </span><span class="hl-8">26</span><span class="hl-1">; </span><span class="hl-0">i</span><span class="hl-1">++) {</span><br/><span class="hl-1"> </span><span class="hl-9">// 97 is the decimal ASCII value for 'a'.</span><br/><span class="hl-1"> </span><span class="hl-0">buf1</span><span class="hl-1">[</span><span class="hl-0">i</span><span class="hl-1">] = </span><span class="hl-0">i</span><span class="hl-1"> + </span><span class="hl-8">97</span><span class="hl-1">;</span><br/><span class="hl-1">}</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf2</span><span class="hl-1"> = </span><span class="hl-0">buf1</span><span class="hl-1">.</span><span class="hl-6">subarray</span><span class="hl-1">(</span><span class="hl-8">0</span><span class="hl-1">, </span><span class="hl-8">3</span><span class="hl-1">);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf2</span><span class="hl-1">.</span><span class="hl-6">toString</span><span class="hl-1">(</span><span class="hl-5">'ascii'</span><span class="hl-1">, </span><span class="hl-8">0</span><span class="hl-1">, </span><span class="hl-0">buf2</span><span class="hl-1">.</span><span class="hl-0">length</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: abc</span><br/><br/><span class="hl-0">buf1</span><span class="hl-1">[</span><span class="hl-8">0</span><span class="hl-1">] = </span><span class="hl-8">33</span><span class="hl-1">;</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf2</span><span class="hl-1">.</span><span class="hl-6">toString</span><span class="hl-1">(</span><span class="hl-5">'ascii'</span><span class="hl-1">, </span><span class="hl-8">0</span><span class="hl-1">, </span><span class="hl-0">buf2</span><span class="hl-1">.</span><span class="hl-0">length</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: !bc</span>
- </code></pre>
- <p>Specifying negative indexes causes the slice to be generated relative to the
- end of <code>buf</code> rather than the beginning.</p>
- <pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">(</span><span class="hl-5">'buffer'</span><span class="hl-1">);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">subarray</span><span class="hl-1">(-</span><span class="hl-8">6</span><span class="hl-1">, -</span><span class="hl-8">1</span><span class="hl-1">).</span><span class="hl-6">toString</span><span class="hl-1">());</span><br/><span class="hl-9">// Prints: buffe</span><br/><span class="hl-9">// (Equivalent to buf.subarray(0, 5).)</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">subarray</span><span class="hl-1">(-</span><span class="hl-8">6</span><span class="hl-1">, -</span><span class="hl-8">2</span><span class="hl-1">).</span><span class="hl-6">toString</span><span class="hl-1">());</span><br/><span class="hl-9">// Prints: buff</span><br/><span class="hl-9">// (Equivalent to buf.subarray(0, 4).)</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">subarray</span><span class="hl-1">(-</span><span class="hl-8">5</span><span class="hl-1">, -</span><span class="hl-8">2</span><span class="hl-1">).</span><span class="hl-6">toString</span><span class="hl-1">());</span><br/><span class="hl-9">// Prints: uff</span><br/><span class="hl-9">// (Equivalent to buf.subarray(1, 4).)</span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v3.0.0</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> start: <span class="tsd-signature-type">number</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> end: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="../modules/RcsbFv3DAssembly._internal_.html" class="tsd-signature-type" data-tsd-kind="Namespace"><internal></a><span class="tsd-signature-symbol">.</span><a href="../modules/RcsbFv3DAssembly._internal_.html#Buffer-2" class="tsd-signature-type" data-tsd-kind="Variable">Buffer</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="swap16" class="tsd-anchor"></a><h3 class="tsd-anchor-link">swap16<a href="#swap16" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">swap16<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../modules/RcsbFv3DAssembly._internal_.html" class="tsd-signature-type" data-tsd-kind="Namespace"><internal></a><span class="tsd-signature-symbol">.</span><a href="../modules/RcsbFv3DAssembly._internal_.html#Buffer-2" class="tsd-signature-type" data-tsd-kind="Variable">Buffer</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1506</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Interprets <code>buf</code> as an array of unsigned 16-bit integers and swaps the
- byte order <em>in-place</em>. Throws <code>ERR_INVALID_BUFFER_SIZE</code> if <code>buf.length</code> is not a multiple of 2.</p>
- </div><div><pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf1</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">([</span><span class="hl-8">0x1</span><span class="hl-1">, </span><span class="hl-8">0x2</span><span class="hl-1">, </span><span class="hl-8">0x3</span><span class="hl-1">, </span><span class="hl-8">0x4</span><span class="hl-1">, </span><span class="hl-8">0x5</span><span class="hl-1">, </span><span class="hl-8">0x6</span><span class="hl-1">, </span><span class="hl-8">0x7</span><span class="hl-1">, </span><span class="hl-8">0x8</span><span class="hl-1">]);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf1</span><span class="hl-1">);</span><br/><span class="hl-9">// Prints: <Buffer 01 02 03 04 05 06 07 08></span><br/><br/><span class="hl-0">buf1</span><span class="hl-1">.</span><span class="hl-6">swap16</span><span class="hl-1">();</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf1</span><span class="hl-1">);</span><br/><span class="hl-9">// Prints: <Buffer 02 01 04 03 06 05 08 07></span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf2</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">([</span><span class="hl-8">0x1</span><span class="hl-1">, </span><span class="hl-8">0x2</span><span class="hl-1">, </span><span class="hl-8">0x3</span><span class="hl-1">]);</span><br/><br/><span class="hl-0">buf2</span><span class="hl-1">.</span><span class="hl-6">swap16</span><span class="hl-1">();</span><br/><span class="hl-9">// Throws ERR_INVALID_BUFFER_SIZE.</span>
- </code></pre>
- <p>One convenient use of <code>buf.swap16()</code> is to perform a fast in-place conversion
- between UTF-16 little-endian and UTF-16 big-endian:</p>
- <pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">(</span><span class="hl-5">'This is little-endian UTF-16'</span><span class="hl-1">, </span><span class="hl-5">'utf16le'</span><span class="hl-1">);</span><br/><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">swap16</span><span class="hl-1">(); </span><span class="hl-9">// Convert to big-endian UTF-16 text.</span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v5.10.0</p>
- </dd></dl></div><h4 class="tsd-returns-title">Returns <a href="../modules/RcsbFv3DAssembly._internal_.html" class="tsd-signature-type" data-tsd-kind="Namespace"><internal></a><span class="tsd-signature-symbol">.</span><a href="../modules/RcsbFv3DAssembly._internal_.html#Buffer-2" class="tsd-signature-type" data-tsd-kind="Variable">Buffer</a></h4><div><p>A reference to <code>buf</code>.</p>
- </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="swap32" class="tsd-anchor"></a><h3 class="tsd-anchor-link">swap32<a href="#swap32" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">swap32<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../modules/RcsbFv3DAssembly._internal_.html" class="tsd-signature-type" data-tsd-kind="Namespace"><internal></a><span class="tsd-signature-symbol">.</span><a href="../modules/RcsbFv3DAssembly._internal_.html#Buffer-2" class="tsd-signature-type" data-tsd-kind="Variable">Buffer</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1532</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Interprets <code>buf</code> as an array of unsigned 32-bit integers and swaps the
- byte order <em>in-place</em>. Throws <code>ERR_INVALID_BUFFER_SIZE</code> if <code>buf.length</code> is not a multiple of 4.</p>
- </div><div><pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf1</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">([</span><span class="hl-8">0x1</span><span class="hl-1">, </span><span class="hl-8">0x2</span><span class="hl-1">, </span><span class="hl-8">0x3</span><span class="hl-1">, </span><span class="hl-8">0x4</span><span class="hl-1">, </span><span class="hl-8">0x5</span><span class="hl-1">, </span><span class="hl-8">0x6</span><span class="hl-1">, </span><span class="hl-8">0x7</span><span class="hl-1">, </span><span class="hl-8">0x8</span><span class="hl-1">]);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf1</span><span class="hl-1">);</span><br/><span class="hl-9">// Prints: <Buffer 01 02 03 04 05 06 07 08></span><br/><br/><span class="hl-0">buf1</span><span class="hl-1">.</span><span class="hl-6">swap32</span><span class="hl-1">();</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf1</span><span class="hl-1">);</span><br/><span class="hl-9">// Prints: <Buffer 04 03 02 01 08 07 06 05></span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf2</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">([</span><span class="hl-8">0x1</span><span class="hl-1">, </span><span class="hl-8">0x2</span><span class="hl-1">, </span><span class="hl-8">0x3</span><span class="hl-1">]);</span><br/><br/><span class="hl-0">buf2</span><span class="hl-1">.</span><span class="hl-6">swap32</span><span class="hl-1">();</span><br/><span class="hl-9">// Throws ERR_INVALID_BUFFER_SIZE.</span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v5.10.0</p>
- </dd></dl></div><h4 class="tsd-returns-title">Returns <a href="../modules/RcsbFv3DAssembly._internal_.html" class="tsd-signature-type" data-tsd-kind="Namespace"><internal></a><span class="tsd-signature-symbol">.</span><a href="../modules/RcsbFv3DAssembly._internal_.html#Buffer-2" class="tsd-signature-type" data-tsd-kind="Variable">Buffer</a></h4><div><p>A reference to <code>buf</code>.</p>
- </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="swap64" class="tsd-anchor"></a><h3 class="tsd-anchor-link">swap64<a href="#swap64" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">swap64<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../modules/RcsbFv3DAssembly._internal_.html" class="tsd-signature-type" data-tsd-kind="Namespace"><internal></a><span class="tsd-signature-symbol">.</span><a href="../modules/RcsbFv3DAssembly._internal_.html#Buffer-2" class="tsd-signature-type" data-tsd-kind="Variable">Buffer</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1558</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Interprets <code>buf</code> as an array of 64-bit numbers and swaps byte order <em>in-place</em>.
- Throws <code>ERR_INVALID_BUFFER_SIZE</code> if <code>buf.length</code> is not a multiple of 8.</p>
- </div><div><pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf1</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">([</span><span class="hl-8">0x1</span><span class="hl-1">, </span><span class="hl-8">0x2</span><span class="hl-1">, </span><span class="hl-8">0x3</span><span class="hl-1">, </span><span class="hl-8">0x4</span><span class="hl-1">, </span><span class="hl-8">0x5</span><span class="hl-1">, </span><span class="hl-8">0x6</span><span class="hl-1">, </span><span class="hl-8">0x7</span><span class="hl-1">, </span><span class="hl-8">0x8</span><span class="hl-1">]);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf1</span><span class="hl-1">);</span><br/><span class="hl-9">// Prints: <Buffer 01 02 03 04 05 06 07 08></span><br/><br/><span class="hl-0">buf1</span><span class="hl-1">.</span><span class="hl-6">swap64</span><span class="hl-1">();</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf1</span><span class="hl-1">);</span><br/><span class="hl-9">// Prints: <Buffer 08 07 06 05 04 03 02 01></span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf2</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">([</span><span class="hl-8">0x1</span><span class="hl-1">, </span><span class="hl-8">0x2</span><span class="hl-1">, </span><span class="hl-8">0x3</span><span class="hl-1">]);</span><br/><br/><span class="hl-0">buf2</span><span class="hl-1">.</span><span class="hl-6">swap64</span><span class="hl-1">();</span><br/><span class="hl-9">// Throws ERR_INVALID_BUFFER_SIZE.</span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v6.3.0</p>
- </dd></dl></div><h4 class="tsd-returns-title">Returns <a href="../modules/RcsbFv3DAssembly._internal_.html" class="tsd-signature-type" data-tsd-kind="Namespace"><internal></a><span class="tsd-signature-symbol">.</span><a href="../modules/RcsbFv3DAssembly._internal_.html#Buffer-2" class="tsd-signature-type" data-tsd-kind="Variable">Buffer</a></h4><div><p>A reference to <code>buf</code>.</p>
- </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="toJSON" class="tsd-anchor"></a><h3 class="tsd-anchor-link">toJSON<a href="#toJSON" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">toJSON<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span>data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Buffer"</span><span class="tsd-signature-symbol"> }</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:630</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Returns a JSON representation of <code>buf</code>. <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify"><code>JSON.stringify()</code></a> implicitly calls
- this function when stringifying a <code>Buffer</code> instance.</p>
- </div><div><p><code>Buffer.from()</code> accepts objects in the format returned from this method.
- In particular, <code>Buffer.from(buf.toJSON())</code> works like <code>Buffer.from(buf)</code>.</p>
- <pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">([</span><span class="hl-8">0x1</span><span class="hl-1">, </span><span class="hl-8">0x2</span><span class="hl-1">, </span><span class="hl-8">0x3</span><span class="hl-1">, </span><span class="hl-8">0x4</span><span class="hl-1">, </span><span class="hl-8">0x5</span><span class="hl-1">]);</span><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">json</span><span class="hl-1"> = </span><span class="hl-4">JSON</span><span class="hl-1">.</span><span class="hl-6">stringify</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">json</span><span class="hl-1">);</span><br/><span class="hl-9">// Prints: {"type":"Buffer","data":[1,2,3,4,5]}</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">copy</span><span class="hl-1"> = </span><span class="hl-4">JSON</span><span class="hl-1">.</span><span class="hl-6">parse</span><span class="hl-1">(</span><span class="hl-0">json</span><span class="hl-1">, (</span><span class="hl-0">key</span><span class="hl-1">, </span><span class="hl-0">value</span><span class="hl-1">) </span><span class="hl-3">=></span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-7">return</span><span class="hl-1"> </span><span class="hl-0">value</span><span class="hl-1"> &#</span><span class="hl-0">x26</span><span class="hl-1">;&#</span><span class="hl-0">x26</span><span class="hl-1">; </span><span class="hl-0">value</span><span class="hl-1">.</span><span class="hl-0">type</span><span class="hl-1"> === </span><span class="hl-5">'Buffer'</span><span class="hl-1"> ?</span><br/><span class="hl-1"> </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">(</span><span class="hl-0">value</span><span class="hl-1">) :</span><br/><span class="hl-1"> </span><span class="hl-0">value</span><span class="hl-1">;</span><br/><span class="hl-1">});</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">copy</span><span class="hl-1">);</span><br/><span class="hl-9">// Prints: <Buffer 01 02 03 04 05></span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v0.9.2</p>
- </dd></dl></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">{ </span>data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Buffer"</span><span class="tsd-signature-symbol"> }</span></h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5>data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5></li><li class="tsd-parameter"><h5>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Buffer"</span></h5></li></ul></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a id="toLocaleString" class="tsd-anchor"></a><h3 class="tsd-anchor-link">to<wbr/>Locale<wbr/>String<a href="#toLocaleString" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-kind-icon">to<wbr/>Locale<wbr/>String<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from Uint8Array.toLocaleString</p><ul><li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2329</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Converts a number to a string by using the current locale.</p>
- </div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-overwrite tsd-is-external"><a id="toString" class="tsd-anchor"></a><h3 class="tsd-anchor-link">to<wbr/>String<a href="#toString" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-overwrite tsd-is-external"><li class="tsd-signature tsd-kind-icon">to<wbr/>String<span class="tsd-signature-symbol">(</span>encoding<span class="tsd-signature-symbol">?: </span><a href="../modules/RcsbFv3DAssembly._internal_.html#BufferEncoding" class="tsd-signature-type" data-tsd-kind="Type alias">BufferEncoding</a>, start<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, end<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Overrides Uint8Array.toString</p><ul><li>Defined in node_modules/@types/node/buffer.d.ts:602</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Decodes <code>buf</code> to a string according to the specified character encoding in<code>encoding</code>. <code>start</code> and <code>end</code> may be passed to decode only a subset of <code>buf</code>.</p>
- </div><div><p>If <code>encoding</code> is <code>'utf8'</code> and a byte sequence in the input is not valid UTF-8,
- then each invalid byte is replaced with the replacement character <code>U+FFFD</code>.</p>
- <p>The maximum length of a string instance (in UTF-16 code units) is available
- as {@link constants.MAX_STRING_LENGTH}.</p>
- <pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf1</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">allocUnsafe</span><span class="hl-1">(</span><span class="hl-8">26</span><span class="hl-1">);</span><br/><br/><span class="hl-7">for</span><span class="hl-1"> (</span><span class="hl-3">let</span><span class="hl-1"> </span><span class="hl-0">i</span><span class="hl-1"> = </span><span class="hl-8">0</span><span class="hl-1">; </span><span class="hl-0">i</span><span class="hl-1"> < </span><span class="hl-8">26</span><span class="hl-1">; </span><span class="hl-0">i</span><span class="hl-1">++) {</span><br/><span class="hl-1"> </span><span class="hl-9">// 97 is the decimal ASCII value for 'a'.</span><br/><span class="hl-1"> </span><span class="hl-0">buf1</span><span class="hl-1">[</span><span class="hl-0">i</span><span class="hl-1">] = </span><span class="hl-0">i</span><span class="hl-1"> + </span><span class="hl-8">97</span><span class="hl-1">;</span><br/><span class="hl-1">}</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf1</span><span class="hl-1">.</span><span class="hl-6">toString</span><span class="hl-1">(</span><span class="hl-5">'utf8'</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: abcdefghijklmnopqrstuvwxyz</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf1</span><span class="hl-1">.</span><span class="hl-6">toString</span><span class="hl-1">(</span><span class="hl-5">'utf8'</span><span class="hl-1">, </span><span class="hl-8">0</span><span class="hl-1">, </span><span class="hl-8">5</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: abcde</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf2</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">(</span><span class="hl-5">'tést'</span><span class="hl-1">);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf2</span><span class="hl-1">.</span><span class="hl-6">toString</span><span class="hl-1">(</span><span class="hl-5">'hex'</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: 74c3a97374</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf2</span><span class="hl-1">.</span><span class="hl-6">toString</span><span class="hl-1">(</span><span class="hl-5">'utf8'</span><span class="hl-1">, </span><span class="hl-8">0</span><span class="hl-1">, </span><span class="hl-8">3</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: té</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf2</span><span class="hl-1">.</span><span class="hl-6">toString</span><span class="hl-1">(</span><span class="hl-3">undefined</span><span class="hl-1">, </span><span class="hl-8">0</span><span class="hl-1">, </span><span class="hl-8">3</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: té</span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v0.1.90</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> encoding: <a href="../modules/RcsbFv3DAssembly._internal_.html#BufferEncoding" class="tsd-signature-type" data-tsd-kind="Type alias">BufferEncoding</a></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> start: <span class="tsd-signature-type">number</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> end: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a id="valueOf" class="tsd-anchor"></a><h3 class="tsd-anchor-link">value<wbr/>Of<a href="#valueOf" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-kind-icon">value<wbr/>Of<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from Uint8Array.valueOf</p><ul><li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2337</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Returns the primitive value of the specified object.</p>
- </div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Uint8Array</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-overwrite tsd-is-external"><a id="values" class="tsd-anchor"></a><h3 class="tsd-anchor-link">values<a href="#values" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-overwrite tsd-is-external"><li class="tsd-signature tsd-kind-icon">values<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="RcsbFv3DAssembly._internal_.IterableIterator.html" class="tsd-signature-type" data-tsd-kind="Interface">IterableIterator</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Overrides Uint8Array.values</p><ul><li>Defined in node_modules/@types/node/buffer.d.ts:2193</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Creates and returns an <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols">iterator</a> for <code>buf</code> values (bytes). This function is
- called automatically when a <code>Buffer</code> is used in a <code>for..of</code> statement.</p>
- </div><div><pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">(</span><span class="hl-5">'buffer'</span><span class="hl-1">);</span><br/><br/><span class="hl-7">for</span><span class="hl-1"> (</span><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">value</span><span class="hl-1"> </span><span class="hl-3">of</span><span class="hl-1"> </span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">values</span><span class="hl-1">()) {</span><br/><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">value</span><span class="hl-1">);</span><br/><span class="hl-1">}</span><br/><span class="hl-9">// Prints:</span><br/><span class="hl-9">// 98</span><br/><span class="hl-9">// 117</span><br/><span class="hl-9">// 102</span><br/><span class="hl-9">// 102</span><br/><span class="hl-9">// 101</span><br/><span class="hl-9">// 114</span><br/><br/><span class="hl-7">for</span><span class="hl-1"> (</span><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">value</span><span class="hl-1"> </span><span class="hl-3">of</span><span class="hl-1"> </span><span class="hl-0">buf</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">value</span><span class="hl-1">);</span><br/><span class="hl-1">}</span><br/><span class="hl-9">// Prints:</span><br/><span class="hl-9">// 98</span><br/><span class="hl-9">// 117</span><br/><span class="hl-9">// 102</span><br/><span class="hl-9">// 102</span><br/><span class="hl-9">// 101</span><br/><span class="hl-9">// 114</span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v1.1.0</p>
- </dd></dl></div><h4 class="tsd-returns-title">Returns <a href="RcsbFv3DAssembly._internal_.IterableIterator.html" class="tsd-signature-type" data-tsd-kind="Interface">IterableIterator</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="write" class="tsd-anchor"></a><h3 class="tsd-anchor-link">write<a href="#write" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">write<span class="tsd-signature-symbol">(</span>string<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, encoding<span class="tsd-signature-symbol">?: </span><a href="../modules/RcsbFv3DAssembly._internal_.html#BufferEncoding" class="tsd-signature-type" data-tsd-kind="Type alias">BufferEncoding</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li><li class="tsd-signature tsd-kind-icon">write<span class="tsd-signature-symbol">(</span>string<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, offset<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, encoding<span class="tsd-signature-symbol">?: </span><a href="../modules/RcsbFv3DAssembly._internal_.html#BufferEncoding" class="tsd-signature-type" data-tsd-kind="Type alias">BufferEncoding</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li><li class="tsd-signature tsd-kind-icon">write<span class="tsd-signature-symbol">(</span>string<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, offset<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, length<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, encoding<span class="tsd-signature-symbol">?: </span><a href="../modules/RcsbFv3DAssembly._internal_.html#BufferEncoding" class="tsd-signature-type" data-tsd-kind="Type alias">BufferEncoding</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:561</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Writes <code>string</code> to <code>buf</code> at <code>offset</code> according to the character encoding in<code>encoding</code>. The <code>length</code> parameter is the number of bytes to write. If <code>buf</code> did
- not contain enough space to fit the entire string, only part of <code>string</code> will be
- written. However, partially encoded characters will not be written.</p>
- </div><div><pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">alloc</span><span class="hl-1">(</span><span class="hl-8">256</span><span class="hl-1">);</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">len</span><span class="hl-1"> = </span><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">write</span><span class="hl-1">(</span><span class="hl-5">'</span><span class="hl-13">\u00bd</span><span class="hl-5"> + </span><span class="hl-13">\u00bc</span><span class="hl-5"> = </span><span class="hl-13">\u00be</span><span class="hl-5">'</span><span class="hl-1">, </span><span class="hl-8">0</span><span class="hl-1">);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-5">`</span><span class="hl-3">${</span><span class="hl-0">len</span><span class="hl-3">}</span><span class="hl-5"> bytes: </span><span class="hl-3">${</span><span class="hl-0">buf</span><span class="hl-14">.</span><span class="hl-6">toString</span><span class="hl-14">(</span><span class="hl-5">'utf8'</span><span class="hl-14">, </span><span class="hl-8">0</span><span class="hl-14">, </span><span class="hl-0">len</span><span class="hl-14">)</span><span class="hl-3">}</span><span class="hl-5">`</span><span class="hl-1">);</span><br/><span class="hl-9">// Prints: 12 bytes: ½ + ¼ = ¾</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buffer</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">alloc</span><span class="hl-1">(</span><span class="hl-8">10</span><span class="hl-1">);</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">length</span><span class="hl-1"> = </span><span class="hl-0">buffer</span><span class="hl-1">.</span><span class="hl-6">write</span><span class="hl-1">(</span><span class="hl-5">'abcd'</span><span class="hl-1">, </span><span class="hl-8">8</span><span class="hl-1">);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-5">`</span><span class="hl-3">${</span><span class="hl-0">length</span><span class="hl-3">}</span><span class="hl-5"> bytes: </span><span class="hl-3">${</span><span class="hl-0">buffer</span><span class="hl-14">.</span><span class="hl-6">toString</span><span class="hl-14">(</span><span class="hl-5">'utf8'</span><span class="hl-14">, </span><span class="hl-8">8</span><span class="hl-14">, </span><span class="hl-8">10</span><span class="hl-14">)</span><span class="hl-3">}</span><span class="hl-5">`</span><span class="hl-1">);</span><br/><span class="hl-9">// Prints: 2 bytes : ab</span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v0.1.90</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>string: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>String to write to <code>buf</code>.</p>
- </div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> encoding: <a href="../modules/RcsbFv3DAssembly._internal_.html#BufferEncoding" class="tsd-signature-type" data-tsd-kind="Type alias">BufferEncoding</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div><p>Number of bytes written.</p>
- </div></li><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:562</li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>string: <span class="tsd-signature-type">string</span></h5></li><li><h5>offset: <span class="tsd-signature-type">number</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> encoding: <a href="../modules/RcsbFv3DAssembly._internal_.html#BufferEncoding" class="tsd-signature-type" data-tsd-kind="Type alias">BufferEncoding</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:563</li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>string: <span class="tsd-signature-type">string</span></h5></li><li><h5>offset: <span class="tsd-signature-type">number</span></h5></li><li><h5>length: <span class="tsd-signature-type">number</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> encoding: <a href="../modules/RcsbFv3DAssembly._internal_.html#BufferEncoding" class="tsd-signature-type" data-tsd-kind="Type alias">BufferEncoding</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeBigInt64BE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">write<wbr/>Big<wbr/>Int64BE<a href="#writeBigInt64BE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">write<wbr/>Big<wbr/>Int64BE<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">bigint</span>, offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:869</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Writes <code>value</code> to <code>buf</code> at the specified <code>offset</code> as big-endian.</p>
- </div><div><p><code>value</code> is interpreted and written as a two's complement signed integer.</p>
- <pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">allocUnsafe</span><span class="hl-1">(</span><span class="hl-8">8</span><span class="hl-1">);</span><br/><br/><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">writeBigInt64BE</span><span class="hl-1">(</span><span class="hl-8">0x0102030405060708</span><span class="hl-3">n</span><span class="hl-1">, </span><span class="hl-8">0</span><span class="hl-1">);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">);</span><br/><span class="hl-9">// Prints: <Buffer 01 02 03 04 05 06 07 08></span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v12.0.0, v10.20.0</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">bigint</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Number to be written to <code>buf</code>.</p>
- </div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div><p><code>offset</code> plus the number of bytes written.</p>
- </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeBigInt64LE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">write<wbr/>Big<wbr/>Int64LE<a href="#writeBigInt64LE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">write<wbr/>Big<wbr/>Int64LE<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">bigint</span>, offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:890</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Writes <code>value</code> to <code>buf</code> at the specified <code>offset</code> as little-endian.</p>
- </div><div><p><code>value</code> is interpreted and written as a two's complement signed integer.</p>
- <pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">allocUnsafe</span><span class="hl-1">(</span><span class="hl-8">8</span><span class="hl-1">);</span><br/><br/><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">writeBigInt64LE</span><span class="hl-1">(</span><span class="hl-8">0x0102030405060708</span><span class="hl-3">n</span><span class="hl-1">, </span><span class="hl-8">0</span><span class="hl-1">);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">);</span><br/><span class="hl-9">// Prints: <Buffer 08 07 06 05 04 03 02 01></span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v12.0.0, v10.20.0</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">bigint</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Number to be written to <code>buf</code>.</p>
- </div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div><p><code>offset</code> plus the number of bytes written.</p>
- </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeBigUInt64BE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">write<wbr/>BigUInt64BE<a href="#writeBigUInt64BE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">write<wbr/>BigUInt64BE<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">bigint</span>, offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:911</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Writes <code>value</code> to <code>buf</code> at the specified <code>offset</code> as big-endian.</p>
- </div><div><p>This function is also available under the <code>writeBigUint64BE</code> alias.</p>
- <pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">allocUnsafe</span><span class="hl-1">(</span><span class="hl-8">8</span><span class="hl-1">);</span><br/><br/><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">writeBigUInt64BE</span><span class="hl-1">(</span><span class="hl-8">0xdecafafecacefade</span><span class="hl-3">n</span><span class="hl-1">, </span><span class="hl-8">0</span><span class="hl-1">);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">);</span><br/><span class="hl-9">// Prints: <Buffer de ca fa fe ca ce fa de></span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v12.0.0, v10.20.0</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">bigint</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Number to be written to <code>buf</code>.</p>
- </div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div><p><code>offset</code> plus the number of bytes written.</p>
- </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeBigUInt64LE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">write<wbr/>BigUInt64LE<a href="#writeBigUInt64LE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">write<wbr/>BigUInt64LE<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">bigint</span>, offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:937</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Writes <code>value</code> to <code>buf</code> at the specified <code>offset</code> as little-endian</p>
- </div><div><pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">allocUnsafe</span><span class="hl-1">(</span><span class="hl-8">8</span><span class="hl-1">);</span><br/><br/><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">writeBigUInt64LE</span><span class="hl-1">(</span><span class="hl-8">0xdecafafecacefade</span><span class="hl-3">n</span><span class="hl-1">, </span><span class="hl-8">0</span><span class="hl-1">);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">);</span><br/><span class="hl-9">// Prints: <Buffer de fa ce ca fe fa ca de></span>
- </code></pre>
- <p>This function is also available under the <code>writeBigUint64LE</code> alias.</p>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v12.0.0, v10.20.0</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">bigint</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Number to be written to <code>buf</code>.</p>
- </div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div><p><code>offset</code> plus the number of bytes written.</p>
- </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeBigUint64BE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">write<wbr/>Big<wbr/>Uint64BE<a href="#writeBigUint64BE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">write<wbr/>Big<wbr/>Uint64BE<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">bigint</span>, offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:916</li></ul></aside><div class="tsd-comment tsd-typography"><dl class="tsd-comment-tags"><dt>alias</dt><dd><p>Buffer.writeBigUInt64BE</p>
- </dd><dt>since</dt><dd><p>v14.10.0, v12.19.0</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">bigint</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeBigUint64LE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">write<wbr/>Big<wbr/>Uint64LE<a href="#writeBigUint64LE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">write<wbr/>Big<wbr/>Uint64LE<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">bigint</span>, offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:942</li></ul></aside><div class="tsd-comment tsd-typography"><dl class="tsd-comment-tags"><dt>alias</dt><dd><p>Buffer.writeBigUInt64LE</p>
- </dd><dt>since</dt><dd><p>v14.10.0, v12.19.0</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">bigint</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeDoubleBE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">write<wbr/>DoubleBE<a href="#writeDoubleBE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">write<wbr/>DoubleBE<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1891</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Writes <code>value</code> to <code>buf</code> at the specified <code>offset</code> as big-endian. The <code>value</code>must be a JavaScript number. Behavior is undefined when <code>value</code> is anything
- other than a JavaScript number.</p>
- </div><div><pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">allocUnsafe</span><span class="hl-1">(</span><span class="hl-8">8</span><span class="hl-1">);</span><br/><br/><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">writeDoubleBE</span><span class="hl-1">(</span><span class="hl-8">123.456</span><span class="hl-1">, </span><span class="hl-8">0</span><span class="hl-1">);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">);</span><br/><span class="hl-9">// Prints: <Buffer 40 5e dd 2f 1a 9f be 77></span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v0.11.15</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Number to be written to <code>buf</code>.</p>
- </div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div><p><code>offset</code> plus the number of bytes written.</p>
- </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeDoubleLE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">write<wbr/>DoubleLE<a href="#writeDoubleLE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">write<wbr/>DoubleLE<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1871</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Writes <code>value</code> to <code>buf</code> at the specified <code>offset</code> as little-endian. The <code>value</code>must be a JavaScript number. Behavior is undefined when <code>value</code> is anything
- other than a JavaScript number.</p>
- </div><div><pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">allocUnsafe</span><span class="hl-1">(</span><span class="hl-8">8</span><span class="hl-1">);</span><br/><br/><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">writeDoubleLE</span><span class="hl-1">(</span><span class="hl-8">123.456</span><span class="hl-1">, </span><span class="hl-8">0</span><span class="hl-1">);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">);</span><br/><span class="hl-9">// Prints: <Buffer 77 be 9f 1a 2f dd 5e 40></span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v0.11.15</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Number to be written to <code>buf</code>.</p>
- </div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div><p><code>offset</code> plus the number of bytes written.</p>
- </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeFloatBE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">write<wbr/>FloatBE<a href="#writeFloatBE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">write<wbr/>FloatBE<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1851</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Writes <code>value</code> to <code>buf</code> at the specified <code>offset</code> as big-endian. Behavior is
- undefined when <code>value</code> is anything other than a JavaScript number.</p>
- </div><div><pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">allocUnsafe</span><span class="hl-1">(</span><span class="hl-8">4</span><span class="hl-1">);</span><br/><br/><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">writeFloatBE</span><span class="hl-1">(</span><span class="hl-8">0xcafebabe</span><span class="hl-1">, </span><span class="hl-8">0</span><span class="hl-1">);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">);</span><br/><span class="hl-9">// Prints: <Buffer 4f 4a fe bb></span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v0.11.15</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Number to be written to <code>buf</code>.</p>
- </div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div><p><code>offset</code> plus the number of bytes written.</p>
- </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeFloatLE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">write<wbr/>FloatLE<a href="#writeFloatLE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">write<wbr/>FloatLE<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1831</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Writes <code>value</code> to <code>buf</code> at the specified <code>offset</code> as little-endian. Behavior is
- undefined when <code>value</code> is anything other than a JavaScript number.</p>
- </div><div><pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">allocUnsafe</span><span class="hl-1">(</span><span class="hl-8">4</span><span class="hl-1">);</span><br/><br/><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">writeFloatLE</span><span class="hl-1">(</span><span class="hl-8">0xcafebabe</span><span class="hl-1">, </span><span class="hl-8">0</span><span class="hl-1">);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">);</span><br/><span class="hl-9">// Prints: <Buffer bb fe 4a 4f></span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v0.11.15</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Number to be written to <code>buf</code>.</p>
- </div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div><p><code>offset</code> plus the number of bytes written.</p>
- </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeInt16BE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">write<wbr/>Int16BE<a href="#writeInt16BE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">write<wbr/>Int16BE<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1767</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Writes <code>value</code> to <code>buf</code> at the specified <code>offset</code> as big-endian. The <code>value</code>must be a valid signed 16-bit integer. Behavior is undefined when <code>value</code> is
- anything other than a signed 16-bit integer.</p>
- </div><div><p>The <code>value</code> is interpreted and written as a two's complement signed integer.</p>
- <pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">allocUnsafe</span><span class="hl-1">(</span><span class="hl-8">2</span><span class="hl-1">);</span><br/><br/><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">writeInt16BE</span><span class="hl-1">(</span><span class="hl-8">0x0102</span><span class="hl-1">, </span><span class="hl-8">0</span><span class="hl-1">);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">);</span><br/><span class="hl-9">// Prints: <Buffer 01 02></span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v0.5.5</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Number to be written to <code>buf</code>.</p>
- </div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div><p><code>offset</code> plus the number of bytes written.</p>
- </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeInt16LE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">write<wbr/>Int16LE<a href="#writeInt16LE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">write<wbr/>Int16LE<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1745</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Writes <code>value</code> to <code>buf</code> at the specified <code>offset</code> as little-endian. The <code>value</code>must be a valid signed 16-bit integer. Behavior is undefined when <code>value</code> is
- anything other than a signed 16-bit integer.</p>
- </div><div><p>The <code>value</code> is interpreted and written as a two's complement signed integer.</p>
- <pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">allocUnsafe</span><span class="hl-1">(</span><span class="hl-8">2</span><span class="hl-1">);</span><br/><br/><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">writeInt16LE</span><span class="hl-1">(</span><span class="hl-8">0x0304</span><span class="hl-1">, </span><span class="hl-8">0</span><span class="hl-1">);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">);</span><br/><span class="hl-9">// Prints: <Buffer 04 03></span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v0.5.5</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Number to be written to <code>buf</code>.</p>
- </div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div><p><code>offset</code> plus the number of bytes written.</p>
- </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeInt32BE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">write<wbr/>Int32BE<a href="#writeInt32BE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">write<wbr/>Int32BE<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1811</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Writes <code>value</code> to <code>buf</code> at the specified <code>offset</code> as big-endian. The <code>value</code>must be a valid signed 32-bit integer. Behavior is undefined when <code>value</code> is
- anything other than a signed 32-bit integer.</p>
- </div><div><p>The <code>value</code> is interpreted and written as a two's complement signed integer.</p>
- <pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">allocUnsafe</span><span class="hl-1">(</span><span class="hl-8">4</span><span class="hl-1">);</span><br/><br/><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">writeInt32BE</span><span class="hl-1">(</span><span class="hl-8">0x01020304</span><span class="hl-1">, </span><span class="hl-8">0</span><span class="hl-1">);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">);</span><br/><span class="hl-9">// Prints: <Buffer 01 02 03 04></span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v0.5.5</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Number to be written to <code>buf</code>.</p>
- </div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div><p><code>offset</code> plus the number of bytes written.</p>
- </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeInt32LE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">write<wbr/>Int32LE<a href="#writeInt32LE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">write<wbr/>Int32LE<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1789</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Writes <code>value</code> to <code>buf</code> at the specified <code>offset</code> as little-endian. The <code>value</code>must be a valid signed 32-bit integer. Behavior is undefined when <code>value</code> is
- anything other than a signed 32-bit integer.</p>
- </div><div><p>The <code>value</code> is interpreted and written as a two's complement signed integer.</p>
- <pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">allocUnsafe</span><span class="hl-1">(</span><span class="hl-8">4</span><span class="hl-1">);</span><br/><br/><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">writeInt32LE</span><span class="hl-1">(</span><span class="hl-8">0x05060708</span><span class="hl-1">, </span><span class="hl-8">0</span><span class="hl-1">);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">);</span><br/><span class="hl-9">// Prints: <Buffer 08 07 06 05></span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v0.5.5</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Number to be written to <code>buf</code>.</p>
- </div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div><p><code>offset</code> plus the number of bytes written.</p>
- </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeInt8" class="tsd-anchor"></a><h3 class="tsd-anchor-link">write<wbr/>Int8<a href="#writeInt8" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">write<wbr/>Int8<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1723</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Writes <code>value</code> to <code>buf</code> at the specified <code>offset</code>. <code>value</code> must be a valid
- signed 8-bit integer. Behavior is undefined when <code>value</code> is anything other than
- a signed 8-bit integer.</p>
- </div><div><p><code>value</code> is interpreted and written as a two's complement signed integer.</p>
- <pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">allocUnsafe</span><span class="hl-1">(</span><span class="hl-8">2</span><span class="hl-1">);</span><br/><br/><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">writeInt8</span><span class="hl-1">(</span><span class="hl-8">2</span><span class="hl-1">, </span><span class="hl-8">0</span><span class="hl-1">);</span><br/><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">writeInt8</span><span class="hl-1">(-</span><span class="hl-8">2</span><span class="hl-1">, </span><span class="hl-8">1</span><span class="hl-1">);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">);</span><br/><span class="hl-9">// Prints: <Buffer 02 fe></span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v0.5.0</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Number to be written to <code>buf</code>.</p>
- </div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div><p><code>offset</code> plus the number of bytes written.</p>
- </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeIntBE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">write<wbr/>IntBE<a href="#writeIntBE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">write<wbr/>IntBE<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, offset<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, byteLength<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1040</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Writes <code>byteLength</code> bytes of <code>value</code> to <code>buf</code> at the specified <code>offset</code>as big-endian. Supports up to 48 bits of accuracy. Behavior is undefined when<code>value</code> is anything other than a
- signed integer.</p>
- </div><div><pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">allocUnsafe</span><span class="hl-1">(</span><span class="hl-8">6</span><span class="hl-1">);</span><br/><br/><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">writeIntBE</span><span class="hl-1">(</span><span class="hl-8">0x1234567890ab</span><span class="hl-1">, </span><span class="hl-8">0</span><span class="hl-1">, </span><span class="hl-8">6</span><span class="hl-1">);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">);</span><br/><span class="hl-9">// Prints: <Buffer 12 34 56 78 90 ab></span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v0.11.15</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Number to be written to <code>buf</code>.</p>
- </div></div></li><li><h5>offset: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Number of bytes to skip before starting to write. Must satisfy <code>0 <= offset <= buf.length - byteLength</code>.</p>
- </div></div></li><li><h5>byteLength: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Number of bytes to write. Must satisfy <code>0 < byteLength <= 6</code>.</p>
- </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div><p><code>offset</code> plus the number of bytes written.</p>
- </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeIntLE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">write<wbr/>IntLE<a href="#writeIntLE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">write<wbr/>IntLE<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, offset<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, byteLength<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1019</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Writes <code>byteLength</code> bytes of <code>value</code> to <code>buf</code> at the specified <code>offset</code>as little-endian. Supports up to 48 bits of accuracy. Behavior is undefined
- when <code>value</code> is anything other than a signed integer.</p>
- </div><div><pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">allocUnsafe</span><span class="hl-1">(</span><span class="hl-8">6</span><span class="hl-1">);</span><br/><br/><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">writeIntLE</span><span class="hl-1">(</span><span class="hl-8">0x1234567890ab</span><span class="hl-1">, </span><span class="hl-8">0</span><span class="hl-1">, </span><span class="hl-8">6</span><span class="hl-1">);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">);</span><br/><span class="hl-9">// Prints: <Buffer ab 90 78 56 34 12></span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v0.11.15</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Number to be written to <code>buf</code>.</p>
- </div></div></li><li><h5>offset: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Number of bytes to skip before starting to write. Must satisfy <code>0 <= offset <= buf.length - byteLength</code>.</p>
- </div></div></li><li><h5>byteLength: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Number of bytes to write. Must satisfy <code>0 < byteLength <= 6</code>.</p>
- </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div><p><code>offset</code> plus the number of bytes written.</p>
- </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeUInt16BE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">writeUInt16BE<a href="#writeUInt16BE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">writeUInt16BE<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1640</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Writes <code>value</code> to <code>buf</code> at the specified <code>offset</code> as big-endian. The <code>value</code>must be a valid unsigned 16-bit integer. Behavior is undefined when <code>value</code>is anything other than an
- unsigned 16-bit integer.</p>
- </div><div><p>This function is also available under the <code>writeUint16BE</code> alias.</p>
- <pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">allocUnsafe</span><span class="hl-1">(</span><span class="hl-8">4</span><span class="hl-1">);</span><br/><br/><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">writeUInt16BE</span><span class="hl-1">(</span><span class="hl-8">0xdead</span><span class="hl-1">, </span><span class="hl-8">0</span><span class="hl-1">);</span><br/><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">writeUInt16BE</span><span class="hl-1">(</span><span class="hl-8">0xbeef</span><span class="hl-1">, </span><span class="hl-8">2</span><span class="hl-1">);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">);</span><br/><span class="hl-9">// Prints: <Buffer de ad be ef></span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v0.5.5</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Number to be written to <code>buf</code>.</p>
- </div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div><p><code>offset</code> plus the number of bytes written.</p>
- </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeUInt16LE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">writeUInt16LE<a href="#writeUInt16LE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">writeUInt16LE<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1612</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Writes <code>value</code> to <code>buf</code> at the specified <code>offset</code> as little-endian. The <code>value</code>must be a valid unsigned 16-bit integer. Behavior is undefined when <code>value</code> is
- anything other than an unsigned 16-bit integer.</p>
- </div><div><p>This function is also available under the <code>writeUint16LE</code> alias.</p>
- <pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">allocUnsafe</span><span class="hl-1">(</span><span class="hl-8">4</span><span class="hl-1">);</span><br/><br/><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">writeUInt16LE</span><span class="hl-1">(</span><span class="hl-8">0xdead</span><span class="hl-1">, </span><span class="hl-8">0</span><span class="hl-1">);</span><br/><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">writeUInt16LE</span><span class="hl-1">(</span><span class="hl-8">0xbeef</span><span class="hl-1">, </span><span class="hl-8">2</span><span class="hl-1">);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">);</span><br/><span class="hl-9">// Prints: <Buffer ad de ef be></span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v0.5.5</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Number to be written to <code>buf</code>.</p>
- </div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div><p><code>offset</code> plus the number of bytes written.</p>
- </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeUInt32BE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">writeUInt32BE<a href="#writeUInt32BE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">writeUInt32BE<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1694</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Writes <code>value</code> to <code>buf</code> at the specified <code>offset</code> as big-endian. The <code>value</code>must be a valid unsigned 32-bit integer. Behavior is undefined when <code>value</code>is anything other than an
- unsigned 32-bit integer.</p>
- </div><div><p>This function is also available under the <code>writeUint32BE</code> alias.</p>
- <pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">allocUnsafe</span><span class="hl-1">(</span><span class="hl-8">4</span><span class="hl-1">);</span><br/><br/><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">writeUInt32BE</span><span class="hl-1">(</span><span class="hl-8">0xfeedface</span><span class="hl-1">, </span><span class="hl-8">0</span><span class="hl-1">);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">);</span><br/><span class="hl-9">// Prints: <Buffer fe ed fa ce></span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v0.5.5</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Number to be written to <code>buf</code>.</p>
- </div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div><p><code>offset</code> plus the number of bytes written.</p>
- </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeUInt32LE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">writeUInt32LE<a href="#writeUInt32LE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">writeUInt32LE<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1667</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Writes <code>value</code> to <code>buf</code> at the specified <code>offset</code> as little-endian. The <code>value</code>must be a valid unsigned 32-bit integer. Behavior is undefined when <code>value</code> is
- anything other than an unsigned 32-bit integer.</p>
- </div><div><p>This function is also available under the <code>writeUint32LE</code> alias.</p>
- <pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">allocUnsafe</span><span class="hl-1">(</span><span class="hl-8">4</span><span class="hl-1">);</span><br/><br/><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">writeUInt32LE</span><span class="hl-1">(</span><span class="hl-8">0xfeedface</span><span class="hl-1">, </span><span class="hl-8">0</span><span class="hl-1">);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">);</span><br/><span class="hl-9">// Prints: <Buffer ce fa ed fe></span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v0.5.5</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Number to be written to <code>buf</code>.</p>
- </div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div><p><code>offset</code> plus the number of bytes written.</p>
- </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeUInt8" class="tsd-anchor"></a><h3 class="tsd-anchor-link">writeUInt8<a href="#writeUInt8" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">writeUInt8<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1584</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Writes <code>value</code> to <code>buf</code> at the specified <code>offset</code>. <code>value</code> must be a
- valid unsigned 8-bit integer. Behavior is undefined when <code>value</code> is anything
- other than an unsigned 8-bit integer.</p>
- </div><div><p>This function is also available under the <code>writeUint8</code> alias.</p>
- <pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">allocUnsafe</span><span class="hl-1">(</span><span class="hl-8">4</span><span class="hl-1">);</span><br/><br/><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">writeUInt8</span><span class="hl-1">(</span><span class="hl-8">0x3</span><span class="hl-1">, </span><span class="hl-8">0</span><span class="hl-1">);</span><br/><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">writeUInt8</span><span class="hl-1">(</span><span class="hl-8">0x4</span><span class="hl-1">, </span><span class="hl-8">1</span><span class="hl-1">);</span><br/><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">writeUInt8</span><span class="hl-1">(</span><span class="hl-8">0x23</span><span class="hl-1">, </span><span class="hl-8">2</span><span class="hl-1">);</span><br/><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">writeUInt8</span><span class="hl-1">(</span><span class="hl-8">0x42</span><span class="hl-1">, </span><span class="hl-8">3</span><span class="hl-1">);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">);</span><br/><span class="hl-9">// Prints: <Buffer 03 04 23 42></span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v0.5.0</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Number to be written to <code>buf</code>.</p>
- </div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div><p><code>offset</code> plus the number of bytes written.</p>
- </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeUIntBE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">writeUIntBE<a href="#writeUIntBE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">writeUIntBE<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, offset<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, byteLength<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:993</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Writes <code>byteLength</code> bytes of <code>value</code> to <code>buf</code> at the specified <code>offset</code>as big-endian. Supports up to 48 bits of accuracy. Behavior is undefined
- when <code>value</code> is anything other than an unsigned integer.</p>
- </div><div><p>This function is also available under the <code>writeUintBE</code> alias.</p>
- <pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">allocUnsafe</span><span class="hl-1">(</span><span class="hl-8">6</span><span class="hl-1">);</span><br/><br/><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">writeUIntBE</span><span class="hl-1">(</span><span class="hl-8">0x1234567890ab</span><span class="hl-1">, </span><span class="hl-8">0</span><span class="hl-1">, </span><span class="hl-8">6</span><span class="hl-1">);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">);</span><br/><span class="hl-9">// Prints: <Buffer 12 34 56 78 90 ab></span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v0.5.5</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Number to be written to <code>buf</code>.</p>
- </div></div></li><li><h5>offset: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Number of bytes to skip before starting to write. Must satisfy <code>0 <= offset <= buf.length - byteLength</code>.</p>
- </div></div></li><li><h5>byteLength: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Number of bytes to write. Must satisfy <code>0 < byteLength <= 6</code>.</p>
- </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div><p><code>offset</code> plus the number of bytes written.</p>
- </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeUIntLE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">writeUIntLE<a href="#writeUIntLE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">writeUIntLE<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, offset<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, byteLength<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:965</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Writes <code>byteLength</code> bytes of <code>value</code> to <code>buf</code> at the specified <code>offset</code>as little-endian. Supports up to 48 bits of accuracy. Behavior is undefined
- when <code>value</code> is anything other than an unsigned integer.</p>
- </div><div><p>This function is also available under the <code>writeUintLE</code> alias.</p>
- <pre><code class="language-js"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-0">Buffer</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-5">'buffer'</span><span class="hl-1">;</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-2">buf</span><span class="hl-1"> = </span><span class="hl-0">Buffer</span><span class="hl-1">.</span><span class="hl-6">allocUnsafe</span><span class="hl-1">(</span><span class="hl-8">6</span><span class="hl-1">);</span><br/><br/><span class="hl-0">buf</span><span class="hl-1">.</span><span class="hl-6">writeUIntLE</span><span class="hl-1">(</span><span class="hl-8">0x1234567890ab</span><span class="hl-1">, </span><span class="hl-8">0</span><span class="hl-1">, </span><span class="hl-8">6</span><span class="hl-1">);</span><br/><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">buf</span><span class="hl-1">);</span><br/><span class="hl-9">// Prints: <Buffer ab 90 78 56 34 12></span>
- </code></pre>
- </div><dl class="tsd-comment-tags"><dt>since</dt><dd><p>v0.5.5</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Number to be written to <code>buf</code>.</p>
- </div></div></li><li><h5>offset: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Number of bytes to skip before starting to write. Must satisfy <code>0 <= offset <= buf.length - byteLength</code>.</p>
- </div></div></li><li><h5>byteLength: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Number of bytes to write. Must satisfy <code>0 < byteLength <= 6</code>.</p>
- </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div><p><code>offset</code> plus the number of bytes written.</p>
- </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeUint16BE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">write<wbr/>Uint16BE<a href="#writeUint16BE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">write<wbr/>Uint16BE<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1645</li></ul></aside><div class="tsd-comment tsd-typography"><dl class="tsd-comment-tags"><dt>alias</dt><dd><p>Buffer.writeUInt16BE</p>
- </dd><dt>since</dt><dd><p>v14.9.0, v12.19.0</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">number</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeUint16LE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">write<wbr/>Uint16LE<a href="#writeUint16LE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">write<wbr/>Uint16LE<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1617</li></ul></aside><div class="tsd-comment tsd-typography"><dl class="tsd-comment-tags"><dt>alias</dt><dd><p>Buffer.writeUInt16LE</p>
- </dd><dt>since</dt><dd><p>v14.9.0, v12.19.0</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">number</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeUint32BE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">write<wbr/>Uint32BE<a href="#writeUint32BE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">write<wbr/>Uint32BE<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1699</li></ul></aside><div class="tsd-comment tsd-typography"><dl class="tsd-comment-tags"><dt>alias</dt><dd><p>Buffer.writeUInt32BE</p>
- </dd><dt>since</dt><dd><p>v14.9.0, v12.19.0</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">number</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeUint32LE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">write<wbr/>Uint32LE<a href="#writeUint32LE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">write<wbr/>Uint32LE<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1672</li></ul></aside><div class="tsd-comment tsd-typography"><dl class="tsd-comment-tags"><dt>alias</dt><dd><p>Buffer.writeUInt32LE</p>
- </dd><dt>since</dt><dd><p>v14.9.0, v12.19.0</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">number</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeUint8" class="tsd-anchor"></a><h3 class="tsd-anchor-link">write<wbr/>Uint8<a href="#writeUint8" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">write<wbr/>Uint8<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, offset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:1589</li></ul></aside><div class="tsd-comment tsd-typography"><dl class="tsd-comment-tags"><dt>alias</dt><dd><p>Buffer.writeUInt8</p>
- </dd><dt>since</dt><dd><p>v14.9.0, v12.19.0</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">number</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> offset: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeUintBE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">write<wbr/>UintBE<a href="#writeUintBE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">write<wbr/>UintBE<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, offset<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, byteLength<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:998</li></ul></aside><div class="tsd-comment tsd-typography"><dl class="tsd-comment-tags"><dt>alias</dt><dd><p>Buffer.writeUIntBE</p>
- </dd><dt>since</dt><dd><p>v14.9.0, v12.19.0</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">number</span></h5></li><li><h5>offset: <span class="tsd-signature-type">number</span></h5></li><li><h5>byteLength: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeUintLE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">write<wbr/>UintLE<a href="#writeUintLE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external"><li class="tsd-signature tsd-kind-icon">write<wbr/>UintLE<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, offset<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, byteLength<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@types/node/buffer.d.ts:970</li></ul></aside><div class="tsd-comment tsd-typography"><dl class="tsd-comment-tags"><dt>alias</dt><dd><p>Buffer.writeUIntLE</p>
- </dd><dt>since</dt><dd><p>v14.9.0, v12.19.0</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">number</span></h5></li><li><h5>offset: <span class="tsd-signature-type">number</span></h5></li><li><h5>byteLength: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section></section></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class=""><a href="../modules.html">Modules</a></li><li class="current tsd-kind-module"><a href="../modules/RcsbFv3DAssembly.html">Rcsb<wbr/>Fv3DAssembly</a><ul><li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/RcsbFv3DAssembly._internal_.html"><internal></a><ul><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.__Users_joan_devel_rcsb_saguaro_3d_node_modules_molstar_lib_mol_geo_geometry_text_font_atlas_.html">"/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>geo/geometry/text/font-<wbr/>atlas"</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.__Users_joan_devel_rcsb_saguaro_3d_node_modules_molstar_lib_mol_gl_render_object_.html">"/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>gl/render-<wbr/>object"</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.__Users_joan_devel_rcsb_saguaro_3d_node_modules_molstar_lib_mol_gl_renderable_schema_.html">"/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>gl/renderable/schema"</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.__Users_joan_devel_rcsb_saguaro_3d_node_modules_molstar_lib_mol_model_structure_model_.html">"/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>model/structure/model"</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.__Users_joan_devel_rcsb_saguaro_3d_node_modules_molstar_lib_mol_model_structure_model_properties_atomic_.html">"/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>model/structure/model/properties/atomic"</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.__Users_joan_devel_rcsb_saguaro_3d_node_modules_molstar_lib_mol_plugin_state_builder_structure_representation_.html">"/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>plugin-<wbr/>state/builder/structure/representation"</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.__Users_joan_devel_rcsb_saguaro_3d_node_modules_molstar_lib_mol_plugin_state_transforms_data_.html">"/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>plugin-<wbr/>state/transforms/data"</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.__Users_joan_devel_rcsb_saguaro_3d_node_modules_molstar_lib_mol_plugin_state_transforms_misc_.html">"/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>plugin-<wbr/>state/transforms/misc"</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.__Users_joan_devel_rcsb_saguaro_3d_node_modules_molstar_lib_mol_plugin_state_transforms_model_.html">"/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>plugin-<wbr/>state/transforms/model"</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.__Users_joan_devel_rcsb_saguaro_3d_node_modules_molstar_lib_mol_plugin_state_transforms_representation_.html">"/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>plugin-<wbr/>state/transforms/representation"</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.__Users_joan_devel_rcsb_saguaro_3d_node_modules_molstar_lib_mol_plugin_state_transforms_shape_.html">"/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>plugin-<wbr/>state/transforms/shape"</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.__Users_joan_devel_rcsb_saguaro_3d_node_modules_molstar_lib_mol_plugin_state_transforms_volume_.html">"/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>plugin-<wbr/>state/transforms/volume"</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.__Users_joan_devel_rcsb_saguaro_3d_node_modules_molstar_lib_mol_repr_structure_representation_.html">"/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>repr/structure/representation"</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.__Users_joan_devel_rcsb_saguaro_3d_node_modules_molstar_lib_mol_repr_volume_representation_.html">"/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>repr/volume/representation"</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.__Users_joan_devel_rcsb_saguaro_3d_node_modules_molstar_lib_mol_script_language_symbol_.html">"/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>script/language/symbol"</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.__Users_joan_devel_rcsb_saguaro_3d_node_modules_molstar_lib_mol_script_language_type_.html">"/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>script/language/type"</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.__Users_joan_devel_rcsb_saguaro_3d_node_modules_molstar_lib_mol_state_state_builder_.html">"/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>state/state/builder"</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.__Users_joan_devel_rcsb_saguaro_3d_node_modules_molstar_lib_mol_state_transformer_.html">"/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>state/transformer"</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.__Users_joan_devel_rcsb_saguaro_3d_node_modules_molstar_lib_mol_task_execution_synchronous_.html">"/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>task/execution/synchronous"</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.__Users_joan_devel_rcsb_saguaro_3d_node_modules_molstar_lib_mol_util_binding_.html">"/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>util/binding"</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.__Users_joan_devel_rcsb_saguaro_3d_node_modules_molstar_lib_mol_util_clip_.html">"/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>util/clip"</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.__Users_joan_devel_rcsb_saguaro_3d_node_modules_molstar_lib_mol_util_color_color_.html">"/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>util/color/color"</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.__Users_joan_devel_rcsb_saguaro_3d_node_modules_molstar_lib_mol_util_color_index_.html">"/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>util/color/index"</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.__Users_joan_devel_rcsb_saguaro_3d_node_modules_molstar_lib_mol_util_uuid_.html">"/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>util/uuid"</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Arguments.html">Arguments</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.ArrayEncoder.html">Array<wbr/>Encoder</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Assembly.html">Assembly</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Asset.html">Asset</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.AtomicHierarchy.html">Atomic<wbr/>Hierarchy</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.AtomicIndex.html">Atomic<wbr/>Index</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Axes3D.html">Axes3D</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Binding.html">Binding</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.BitFlags.html">Bit<wbr/>Flags</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Box3D.html">Box3D</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Bundle.html">Bundle</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.ButtonsType.html">Buttons<wbr/>Type</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Camera.html">Camera</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.CameraTransitionManager.html">Camera<wbr/>Transition<wbr/>Manager</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Canvas3D.html">Canvas3D</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Canvas3DContext.html">Canvas3DContext</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Category.html">Category</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Cell.html">Cell</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.CifCategory.html">Cif<wbr/>Category</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.CifExportContext.html">Cif<wbr/>Export<wbr/>Context</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.CifField.html">Cif<wbr/>Field</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Clipping.html">Clipping</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.CoarseHierarchy.html">Coarse<wbr/>Hierarchy</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Collection.html">Collection</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Color.html">Color</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.ColorTheme.html">Color<wbr/>Theme</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Column.html">Column</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.CompiledQueryFn.html">Compiled<wbr/>Query<wbr/>Fn</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Coordinates.html">Coordinates</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.CubeFile.html">Cube<wbr/>File</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.CustomPropertyDescriptor.html">Custom<wbr/>Property<wbr/>Descriptor</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Cylinders.html">Cylinders</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.DirectVolume.html">Direct<wbr/>Volume</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.DxFile.html">Dx<wbr/>File</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Encoding.html">Encoding</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Expression.html">Expression</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Field.html">Field</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Generators.html">Generators</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Geometry.html">Geometry</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Grid.html">Grid</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Image.html">Image</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Indexed.html">Indexed</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Indexed-1.html">Indexed</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.InputObserver.html">Input<wbr/>Observer</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.IntAdjacencyGraph.html">Int<wbr/>Adjacency<wbr/>Graph</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.IntMap.html">Int<wbr/>Map</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.InterUnitBonds.html">Inter<wbr/>Unit<wbr/>Bonds</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.InterUnitGraph.html">Inter<wbr/>Unit<wbr/>Graph</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.InteractivityManager.html">Interactivity<wbr/>Manager</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Interval.html">Interval</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.IntraUnitBonds.html">Intra<wbr/>Unit<wbr/>Bonds</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Iterator.html">Iterator</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Keyed.html">Keyed</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Lines.html">Lines</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.List.html">List</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Location.html">Location</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Loci.html">Loci</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Loci-1.html">Loci</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Loci-2.html">Loci</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.LogEntry.html">Log<wbr/>Entry</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Map.html">Map</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.MarkerActions.html">Marker<wbr/>Actions</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Mat3.html">Mat3</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Mat4.html">Mat4</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Material.html">Material</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Mesh.html">Mesh</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Model.html">Model</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.ModifiersKeys.html">Modifiers<wbr/>Keys</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.MolScriptBuilder.html">Mol<wbr/>Script<wbr/>Builder</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Object3D.html">Object3D</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.ObjectEvent.html">Object<wbr/>Event</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.OrderedMap.html">Ordered<wbr/>Map</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.OrderedSet.html">Ordered<wbr/>Set</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.OrderedSet-1.html">Ordered<wbr/>Set</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Overpaint.html">Overpaint</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.PickingId.html">Picking<wbr/>Id</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.PixelData.html">Pixel<wbr/>Data</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.PluginAnimationManager.html">Plugin<wbr/>Animation<wbr/>Manager</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.PluginBehavior.html">Plugin<wbr/>Behavior</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.PluginCommand.html">Plugin<wbr/>Command</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.PluginSpec.html">Plugin<wbr/>Spec</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.PluginState.html">Plugin<wbr/>State</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.PluginStateAnimation.html">Plugin<wbr/>State<wbr/>Animation</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.PluginStateSnapshotManager.html">Plugin<wbr/>State<wbr/>Snapshot<wbr/>Manager</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.PluginToastManager.html">Plugin<wbr/>Toast<wbr/>Manager</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Points.html">Points</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.PrincipalAxes.html">Principal<wbr/>Axes</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Progress.html">Progress</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Quat.html">Quat</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.QueryRuntimeArguments.html">Query<wbr/>Runtime<wbr/>Arguments</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.QuerySymbolRuntime.html">Query<wbr/>Symbol<wbr/>Runtime</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Renderer.html">Renderer</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Representation.html">Representation</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.RepresentationProvider.html">Representation<wbr/>Provider</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Result.html">Result</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.RuntimeContext.html">Runtime<wbr/>Context</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.RxEventHelper.html">Rx<wbr/>Event<wbr/>Helper</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Scene.html">Scene</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Script.html">Script</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Segmentation.html">Segmentation</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Seq.html">Seq</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Sequence.html">Sequence</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Set.html">Set</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Set-1.html">Set</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Shape.html">Shape</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.SizeTheme.html">Size<wbr/>Theme</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.SortedArray.html">Sorted<wbr/>Array</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.SortedRanges.html">Sorted<wbr/>Ranges</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Spacegroup.html">Spacegroup</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.SpacegroupCell.html">Spacegroup<wbr/>Cell</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Sphere3D.html">Sphere3D</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Spheres.html">Spheres</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Stack.html">Stack</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.State.html">State</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.StateAction.html">State<wbr/>Action</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.StateBuilder.html">State<wbr/>Builder</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.StateObject.html">State<wbr/>Object</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.StateObjectCell.html">State<wbr/>Object<wbr/>Cell</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.StateObjectRef.html">State<wbr/>Object<wbr/>Ref</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.StateObjectSelector.html">State<wbr/>Object<wbr/>Selector</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.StateTree.html">State<wbr/>Tree</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.StateTreeSpine.html">State<wbr/>Tree<wbr/>Spine</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.StereoCamera.html">Stereo<wbr/>Camera</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Structure.html">Structure</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Structure-1.html">Structure</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.StructureComponentManager.html">Structure<wbr/>Component<wbr/>Manager</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.StructureHierarchyManager.html">Structure<wbr/>Hierarchy<wbr/>Manager</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.StructureQuery.html">Structure<wbr/>Query</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.StructureRepresentationBuilder.html">Structure<wbr/>Representation<wbr/>Builder</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.StructureRepresentationPresetProvider.html">Structure<wbr/>Representation<wbr/>Preset<wbr/>Provider</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.StructureRepresentationRegistry.html">Structure<wbr/>Representation<wbr/>Registry</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.StructureResult.html">Structure<wbr/>Result</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.StructureSelection.html">Structure<wbr/>Selection</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.StructureSequence.html">Structure<wbr/>Sequence</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Substance.html">Substance</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.SymmetryGroup.html">Symmetry<wbr/>Group</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.SymmetryOperator.html">Symmetry<wbr/>Operator</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Table.html">Table</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Task.html">Task</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.TaskManager.html">Task<wbr/>Manager</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Tensor.html">Tensor</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Text.html">Text</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.TextureMesh.html">Texture<wbr/>Mesh</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Theme.html">Theme</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Time.html">Time</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Topology.html">Topology</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Traits.html">Traits</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.TrajectoryHierarchyPresetProvider.html">Trajectory<wbr/>Hierarchy<wbr/>Preset<wbr/>Provider</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Transform.html">Transform</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Transformer.html">Transformer</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Transparency.html">Transparency</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Type.html">Type</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.UUID.html">UUID</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Unit.html">Unit</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.UnitRing.html">Unit<wbr/>Ring</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.UnitRings.html">Unit<wbr/>Rings</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.ValueBox.html">Value<wbr/>Box</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.ValueCell.html">Value<wbr/>Cell</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.ValueRef.html">Value<wbr/>Ref</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Vec2.html">Vec2</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Vec3.html">Vec3</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Vec4.html">Vec4</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Viewport.html">Viewport</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.ViewportScreenshotHelper.html">Viewport<wbr/>Screenshot<wbr/>Helper</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Visual.html">Visual</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.VisualUpdateState.html">Visual<wbr/>Update<wbr/>State</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Volume.html">Volume</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.VolumeHierarchyManager.html">Volume<wbr/>Hierarchy<wbr/>Manager</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.VolumeRepresentationRegistry.html">Volume<wbr/>Representation<wbr/>Registry</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.VolumeServerHeader.html">Volume<wbr/>Server<wbr/>Header</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.VolumeServerInfo.html">Volume<wbr/>Server<wbr/>Info</a></li><li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.VolumeStreaming.html">Volume<wbr/>Streaming</a></li></ul></li></ul></li><li class=" tsd-kind-module"><a href="../modules/RcsbFv3DCustom.html">Rcsb<wbr/>Fv3DCustom</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="current tsd-kind-interface tsd-parent-kind-namespace tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html" class="tsd-kind-icon">Buffer</a><ul><li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#BYTES_PER_ELEMENT" class="tsd-kind-icon">BYTES_<wbr/>PER_<wbr/>ELEMENT</a></li><li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#_toStringTag_" class="tsd-kind-icon">[to<wbr/>String<wbr/>Tag]</a></li><li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#buffer" class="tsd-kind-icon">buffer</a></li><li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#byteLength" class="tsd-kind-icon">byte<wbr/>Length</a></li><li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#byteOffset" class="tsd-kind-icon">byte<wbr/>Offset</a></li><li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#length" class="tsd-kind-icon">length</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#_iterator_" class="tsd-kind-icon">[iterator]</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#at" class="tsd-kind-icon">at</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#compare" class="tsd-kind-icon">compare</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#copy" class="tsd-kind-icon">copy</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#copyWithin" class="tsd-kind-icon">copy<wbr/>Within</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-overwrite tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#entries" class="tsd-kind-icon">entries</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#equals" class="tsd-kind-icon">equals</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#every" class="tsd-kind-icon">every</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-overwrite tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#fill" class="tsd-kind-icon">fill</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#filter" class="tsd-kind-icon">filter</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#find" class="tsd-kind-icon">find</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#findIndex" class="tsd-kind-icon">find<wbr/>Index</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#forEach" class="tsd-kind-icon">for<wbr/>Each</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-overwrite tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#includes" class="tsd-kind-icon">includes</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-overwrite tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#indexOf" class="tsd-kind-icon">index<wbr/>Of</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#join" class="tsd-kind-icon">join</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-overwrite tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#keys" class="tsd-kind-icon">keys</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-overwrite tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#lastIndexOf" class="tsd-kind-icon">last<wbr/>Index<wbr/>Of</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#map" class="tsd-kind-icon">map</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readBigInt64BE" class="tsd-kind-icon">read<wbr/>Big<wbr/>Int64BE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readBigInt64LE" class="tsd-kind-icon">read<wbr/>Big<wbr/>Int64LE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readBigUInt64BE" class="tsd-kind-icon">read<wbr/>BigUInt64BE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readBigUInt64LE" class="tsd-kind-icon">read<wbr/>BigUInt64LE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readBigUint64BE" class="tsd-kind-icon">read<wbr/>Big<wbr/>Uint64BE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readBigUint64LE" class="tsd-kind-icon">read<wbr/>Big<wbr/>Uint64LE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readDoubleBE" class="tsd-kind-icon">read<wbr/>DoubleBE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readDoubleLE" class="tsd-kind-icon">read<wbr/>DoubleLE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readFloatBE" class="tsd-kind-icon">read<wbr/>FloatBE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readFloatLE" class="tsd-kind-icon">read<wbr/>FloatLE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readInt16BE" class="tsd-kind-icon">read<wbr/>Int16BE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readInt16LE" class="tsd-kind-icon">read<wbr/>Int16LE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readInt32BE" class="tsd-kind-icon">read<wbr/>Int32BE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readInt32LE" class="tsd-kind-icon">read<wbr/>Int32LE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readInt8" class="tsd-kind-icon">read<wbr/>Int8</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readIntBE" class="tsd-kind-icon">read<wbr/>IntBE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readIntLE" class="tsd-kind-icon">read<wbr/>IntLE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readUInt16BE" class="tsd-kind-icon">readUInt16BE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readUInt16LE" class="tsd-kind-icon">readUInt16LE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readUInt32BE" class="tsd-kind-icon">readUInt32BE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readUInt32LE" class="tsd-kind-icon">readUInt32LE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readUInt8" class="tsd-kind-icon">readUInt8</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readUIntBE" class="tsd-kind-icon">readUIntBE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readUIntLE" class="tsd-kind-icon">readUIntLE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readUint16BE" class="tsd-kind-icon">read<wbr/>Uint16BE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readUint16LE" class="tsd-kind-icon">read<wbr/>Uint16LE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readUint32BE" class="tsd-kind-icon">read<wbr/>Uint32BE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readUint32LE" class="tsd-kind-icon">read<wbr/>Uint32LE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readUint8" class="tsd-kind-icon">read<wbr/>Uint8</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readUintBE" class="tsd-kind-icon">read<wbr/>UintBE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readUintLE" class="tsd-kind-icon">read<wbr/>UintLE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-has-type-parameter tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#reduce" class="tsd-kind-icon">reduce</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-has-type-parameter tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#reduceRight" class="tsd-kind-icon">reduce<wbr/>Right</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-overwrite tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#reverse" class="tsd-kind-icon">reverse</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#set" class="tsd-kind-icon">set</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-overwrite tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#slice" class="tsd-kind-icon">slice</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#some" class="tsd-kind-icon">some</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#sort" class="tsd-kind-icon">sort</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-overwrite tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#subarray" class="tsd-kind-icon">subarray</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#swap16" class="tsd-kind-icon">swap16</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#swap32" class="tsd-kind-icon">swap32</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#swap64" class="tsd-kind-icon">swap64</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#toJSON" class="tsd-kind-icon">toJSON</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#toLocaleString" class="tsd-kind-icon">to<wbr/>Locale<wbr/>String</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-overwrite tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#toString" class="tsd-kind-icon">to<wbr/>String</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#valueOf" class="tsd-kind-icon">value<wbr/>Of</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-overwrite tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#values" class="tsd-kind-icon">values</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#write" class="tsd-kind-icon">write</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeBigInt64BE" class="tsd-kind-icon">write<wbr/>Big<wbr/>Int64BE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeBigInt64LE" class="tsd-kind-icon">write<wbr/>Big<wbr/>Int64LE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeBigUInt64BE" class="tsd-kind-icon">write<wbr/>BigUInt64BE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeBigUInt64LE" class="tsd-kind-icon">write<wbr/>BigUInt64LE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeBigUint64BE" class="tsd-kind-icon">write<wbr/>Big<wbr/>Uint64BE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeBigUint64LE" class="tsd-kind-icon">write<wbr/>Big<wbr/>Uint64LE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeDoubleBE" class="tsd-kind-icon">write<wbr/>DoubleBE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeDoubleLE" class="tsd-kind-icon">write<wbr/>DoubleLE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeFloatBE" class="tsd-kind-icon">write<wbr/>FloatBE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeFloatLE" class="tsd-kind-icon">write<wbr/>FloatLE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeInt16BE" class="tsd-kind-icon">write<wbr/>Int16BE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeInt16LE" class="tsd-kind-icon">write<wbr/>Int16LE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeInt32BE" class="tsd-kind-icon">write<wbr/>Int32BE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeInt32LE" class="tsd-kind-icon">write<wbr/>Int32LE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeInt8" class="tsd-kind-icon">write<wbr/>Int8</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeIntBE" class="tsd-kind-icon">write<wbr/>IntBE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeIntLE" class="tsd-kind-icon">write<wbr/>IntLE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUInt16BE" class="tsd-kind-icon">writeUInt16BE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUInt16LE" class="tsd-kind-icon">writeUInt16LE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUInt32BE" class="tsd-kind-icon">writeUInt32BE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUInt32LE" class="tsd-kind-icon">writeUInt32LE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUInt8" class="tsd-kind-icon">writeUInt8</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUIntBE" class="tsd-kind-icon">writeUIntBE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUIntLE" class="tsd-kind-icon">writeUIntLE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUint16BE" class="tsd-kind-icon">write<wbr/>Uint16BE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUint16LE" class="tsd-kind-icon">write<wbr/>Uint16LE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUint32BE" class="tsd-kind-icon">write<wbr/>Uint32BE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUint32LE" class="tsd-kind-icon">write<wbr/>Uint32LE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUint8" class="tsd-kind-icon">write<wbr/>Uint8</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUintBE" class="tsd-kind-icon">write<wbr/>UintBE</a></li><li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUintLE" class="tsd-kind-icon">write<wbr/>UintLE</a></li></ul></li></ul></nav></div></div></div><footer class="with-border-bottom"><div class="container"><h2>Legend</h2><div class="tsd-legend-group"><ul class="tsd-legend"><li class="tsd-kind-namespace"><span class="tsd-kind-icon">Namespace</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li></ul></div><h2>Settings</h2><p>Theme <select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></p></div></footer><div class="container tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|