RcsbFv3DAssembly._internal_.Buffer.html 538 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298
  1. <!DOCTYPE html><html class="default" lang="en"><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.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
  2. <div class="tsd-toolbar-contents container">
  3. <div class="table-cell" id="tsd-search" data-base="..">
  4. <div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
  5. <ul class="results">
  6. <li class="state loading">Preparing search index...</li>
  7. <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@rcsb/rcsb-saguaro-3d</a></div>
  8. <div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
  9. <div class="container container-main">
  10. <div class="col-8 col-content">
  11. <div class="tsd-page-title">
  12. <ul class="tsd-breadcrumb">
  13. <li><a href="../modules.html">@rcsb/rcsb-saguaro-3d</a></li>
  14. <li><a href="../modules/RcsbFv3DAssembly.html">RcsbFv3DAssembly</a></li>
  15. <li><a href="../modules/RcsbFv3DAssembly._internal_.html">&lt;internal&gt;</a></li>
  16. <li><a href="RcsbFv3DAssembly._internal_.Buffer.html">Buffer</a></li></ul>
  17. <h1>Interface Buffer</h1></div>
  18. <section class="tsd-panel tsd-hierarchy">
  19. <h4>Hierarchy</h4>
  20. <ul class="tsd-hierarchy">
  21. <li><span class="tsd-signature-type">Uint8Array</span>
  22. <ul class="tsd-hierarchy">
  23. <li><span class="target">Buffer</span></li></ul></li></ul></section><aside class="tsd-sources">
  24. <ul>
  25. <li>Defined in node_modules/@types/node/buffer.d.ts:531</li>
  26. <li>Defined in node_modules/@types/node/buffer.d.ts:2195</li></ul></aside>
  27. <section class="tsd-panel-group tsd-index-group">
  28. <section class="tsd-panel tsd-index-panel">
  29. <details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
  30. <h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex=0><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></svg> Index</h5></summary>
  31. <div class="tsd-accordion-details">
  32. <section class="tsd-index-section">
  33. <h3 class="tsd-index-heading">Properties</h3>
  34. <div class="tsd-index-list"><a href="RcsbFv3DAssembly._internal_.Buffer.html#BYTES_PER_ELEMENT" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-1024-path"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)" id="icon-1024-text"></path></svg><span>BYTES_<wbr/>PER_<wbr/>ELEMENT</span></a>
  35. <a href="RcsbFv3DAssembly._internal_.Buffer.html#_toStringTag_" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>[to<wbr/>String<wbr/>Tag]</span></a>
  36. <a href="RcsbFv3DAssembly._internal_.Buffer.html#buffer" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>buffer</span></a>
  37. <a href="RcsbFv3DAssembly._internal_.Buffer.html#byteLength" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>byte<wbr/>Length</span></a>
  38. <a href="RcsbFv3DAssembly._internal_.Buffer.html#byteOffset" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>byte<wbr/>Offset</span></a>
  39. <a href="RcsbFv3DAssembly._internal_.Buffer.html#length" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>length</span></a>
  40. </div></section>
  41. <section class="tsd-index-section">
  42. <h3 class="tsd-index-heading">Methods</h3>
  43. <div class="tsd-index-list"><a href="RcsbFv3DAssembly._internal_.Buffer.html#_iterator_" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-2048-path"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)" id="icon-2048-text"></path></svg><span>[iterator]</span></a>
  44. <a href="RcsbFv3DAssembly._internal_.Buffer.html#at" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>at</span></a>
  45. <a href="RcsbFv3DAssembly._internal_.Buffer.html#compare" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>compare</span></a>
  46. <a href="RcsbFv3DAssembly._internal_.Buffer.html#copy" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>copy</span></a>
  47. <a href="RcsbFv3DAssembly._internal_.Buffer.html#copyWithin" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>copy<wbr/>Within</span></a>
  48. <a href="RcsbFv3DAssembly._internal_.Buffer.html#entries" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>entries</span></a>
  49. <a href="RcsbFv3DAssembly._internal_.Buffer.html#equals" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>equals</span></a>
  50. <a href="RcsbFv3DAssembly._internal_.Buffer.html#every" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>every</span></a>
  51. <a href="RcsbFv3DAssembly._internal_.Buffer.html#fill" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>fill</span></a>
  52. <a href="RcsbFv3DAssembly._internal_.Buffer.html#filter" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>filter</span></a>
  53. <a href="RcsbFv3DAssembly._internal_.Buffer.html#find" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>find</span></a>
  54. <a href="RcsbFv3DAssembly._internal_.Buffer.html#findIndex" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>find<wbr/>Index</span></a>
  55. <a href="RcsbFv3DAssembly._internal_.Buffer.html#forEach" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>for<wbr/>Each</span></a>
  56. <a href="RcsbFv3DAssembly._internal_.Buffer.html#includes" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>includes</span></a>
  57. <a href="RcsbFv3DAssembly._internal_.Buffer.html#indexOf" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>index<wbr/>Of</span></a>
  58. <a href="RcsbFv3DAssembly._internal_.Buffer.html#join" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>join</span></a>
  59. <a href="RcsbFv3DAssembly._internal_.Buffer.html#keys" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>keys</span></a>
  60. <a href="RcsbFv3DAssembly._internal_.Buffer.html#lastIndexOf" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>last<wbr/>Index<wbr/>Of</span></a>
  61. <a href="RcsbFv3DAssembly._internal_.Buffer.html#map" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>map</span></a>
  62. <a href="RcsbFv3DAssembly._internal_.Buffer.html#readBigInt64BE" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>read<wbr/>Big<wbr/>Int64BE</span></a>
  63. <a href="RcsbFv3DAssembly._internal_.Buffer.html#readBigInt64LE" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>read<wbr/>Big<wbr/>Int64LE</span></a>
  64. <a href="RcsbFv3DAssembly._internal_.Buffer.html#readBigUInt64BE" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>read<wbr/>BigUInt64BE</span></a>
  65. <a href="RcsbFv3DAssembly._internal_.Buffer.html#readBigUInt64LE" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>read<wbr/>BigUInt64LE</span></a>
  66. <a href="RcsbFv3DAssembly._internal_.Buffer.html#readBigUint64BE-2" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>read<wbr/>Big<wbr/>Uint64BE</span></a>
  67. <a href="RcsbFv3DAssembly._internal_.Buffer.html#readBigUint64LE-2" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>read<wbr/>Big<wbr/>Uint64LE</span></a>
  68. <a href="RcsbFv3DAssembly._internal_.Buffer.html#readDoubleBE" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>read<wbr/>DoubleBE</span></a>
  69. <a href="RcsbFv3DAssembly._internal_.Buffer.html#readDoubleLE" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>read<wbr/>DoubleLE</span></a>
  70. <a href="RcsbFv3DAssembly._internal_.Buffer.html#readFloatBE" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>read<wbr/>FloatBE</span></a>
  71. <a href="RcsbFv3DAssembly._internal_.Buffer.html#readFloatLE" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>read<wbr/>FloatLE</span></a>
  72. <a href="RcsbFv3DAssembly._internal_.Buffer.html#readInt16BE" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>read<wbr/>Int16BE</span></a>
  73. <a href="RcsbFv3DAssembly._internal_.Buffer.html#readInt16LE" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>read<wbr/>Int16LE</span></a>
  74. <a href="RcsbFv3DAssembly._internal_.Buffer.html#readInt32BE" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>read<wbr/>Int32BE</span></a>
  75. <a href="RcsbFv3DAssembly._internal_.Buffer.html#readInt32LE" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>read<wbr/>Int32LE</span></a>
  76. <a href="RcsbFv3DAssembly._internal_.Buffer.html#readInt8" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>read<wbr/>Int8</span></a>
  77. <a href="RcsbFv3DAssembly._internal_.Buffer.html#readIntBE" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>read<wbr/>IntBE</span></a>
  78. <a href="RcsbFv3DAssembly._internal_.Buffer.html#readIntLE" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>read<wbr/>IntLE</span></a>
  79. <a href="RcsbFv3DAssembly._internal_.Buffer.html#readUInt16BE" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>readUInt16BE</span></a>
  80. <a href="RcsbFv3DAssembly._internal_.Buffer.html#readUInt16LE" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>readUInt16LE</span></a>
  81. <a href="RcsbFv3DAssembly._internal_.Buffer.html#readUInt32BE" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>readUInt32BE</span></a>
  82. <a href="RcsbFv3DAssembly._internal_.Buffer.html#readUInt32LE" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>readUInt32LE</span></a>
  83. <a href="RcsbFv3DAssembly._internal_.Buffer.html#readUInt8" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>readUInt8</span></a>
  84. <a href="RcsbFv3DAssembly._internal_.Buffer.html#readUIntBE" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>readUIntBE</span></a>
  85. <a href="RcsbFv3DAssembly._internal_.Buffer.html#readUIntLE" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>readUIntLE</span></a>
  86. <a href="RcsbFv3DAssembly._internal_.Buffer.html#readUint16BE-2" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>read<wbr/>Uint16BE</span></a>
  87. <a href="RcsbFv3DAssembly._internal_.Buffer.html#readUint16LE-2" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>read<wbr/>Uint16LE</span></a>
  88. <a href="RcsbFv3DAssembly._internal_.Buffer.html#readUint32BE-2" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>read<wbr/>Uint32BE</span></a>
  89. <a href="RcsbFv3DAssembly._internal_.Buffer.html#readUint32LE-2" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>read<wbr/>Uint32LE</span></a>
  90. <a href="RcsbFv3DAssembly._internal_.Buffer.html#readUint8-2" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>read<wbr/>Uint8</span></a>
  91. <a href="RcsbFv3DAssembly._internal_.Buffer.html#readUintBE-2" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>read<wbr/>UintBE</span></a>
  92. <a href="RcsbFv3DAssembly._internal_.Buffer.html#readUintLE-2" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>read<wbr/>UintLE</span></a>
  93. <a href="RcsbFv3DAssembly._internal_.Buffer.html#reduce" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>reduce</span></a>
  94. <a href="RcsbFv3DAssembly._internal_.Buffer.html#reduceRight" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>reduce<wbr/>Right</span></a>
  95. <a href="RcsbFv3DAssembly._internal_.Buffer.html#reverse" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>reverse</span></a>
  96. <a href="RcsbFv3DAssembly._internal_.Buffer.html#set" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>set</span></a>
  97. <a href="RcsbFv3DAssembly._internal_.Buffer.html#slice" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>slice</span></a>
  98. <a href="RcsbFv3DAssembly._internal_.Buffer.html#some" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>some</span></a>
  99. <a href="RcsbFv3DAssembly._internal_.Buffer.html#sort" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>sort</span></a>
  100. <a href="RcsbFv3DAssembly._internal_.Buffer.html#subarray" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>subarray</span></a>
  101. <a href="RcsbFv3DAssembly._internal_.Buffer.html#swap16" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>swap16</span></a>
  102. <a href="RcsbFv3DAssembly._internal_.Buffer.html#swap32" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>swap32</span></a>
  103. <a href="RcsbFv3DAssembly._internal_.Buffer.html#swap64" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>swap64</span></a>
  104. <a href="RcsbFv3DAssembly._internal_.Buffer.html#toJSON" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>toJSON</span></a>
  105. <a href="RcsbFv3DAssembly._internal_.Buffer.html#toLocaleString" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>to<wbr/>Locale<wbr/>String</span></a>
  106. <a href="RcsbFv3DAssembly._internal_.Buffer.html#toString" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>to<wbr/>String</span></a>
  107. <a href="RcsbFv3DAssembly._internal_.Buffer.html#valueOf" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>value<wbr/>Of</span></a>
  108. <a href="RcsbFv3DAssembly._internal_.Buffer.html#values" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>values</span></a>
  109. <a href="RcsbFv3DAssembly._internal_.Buffer.html#write" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>write</span></a>
  110. <a href="RcsbFv3DAssembly._internal_.Buffer.html#writeBigInt64BE" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>write<wbr/>Big<wbr/>Int64BE</span></a>
  111. <a href="RcsbFv3DAssembly._internal_.Buffer.html#writeBigInt64LE" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>write<wbr/>Big<wbr/>Int64LE</span></a>
  112. <a href="RcsbFv3DAssembly._internal_.Buffer.html#writeBigUInt64BE" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>write<wbr/>BigUInt64BE</span></a>
  113. <a href="RcsbFv3DAssembly._internal_.Buffer.html#writeBigUInt64LE" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>write<wbr/>BigUInt64LE</span></a>
  114. <a href="RcsbFv3DAssembly._internal_.Buffer.html#writeBigUint64BE-2" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>write<wbr/>Big<wbr/>Uint64BE</span></a>
  115. <a href="RcsbFv3DAssembly._internal_.Buffer.html#writeBigUint64LE-2" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>write<wbr/>Big<wbr/>Uint64LE</span></a>
  116. <a href="RcsbFv3DAssembly._internal_.Buffer.html#writeDoubleBE" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>write<wbr/>DoubleBE</span></a>
  117. <a href="RcsbFv3DAssembly._internal_.Buffer.html#writeDoubleLE" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>write<wbr/>DoubleLE</span></a>
  118. <a href="RcsbFv3DAssembly._internal_.Buffer.html#writeFloatBE" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>write<wbr/>FloatBE</span></a>
  119. <a href="RcsbFv3DAssembly._internal_.Buffer.html#writeFloatLE" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>write<wbr/>FloatLE</span></a>
  120. <a href="RcsbFv3DAssembly._internal_.Buffer.html#writeInt16BE" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>write<wbr/>Int16BE</span></a>
  121. <a href="RcsbFv3DAssembly._internal_.Buffer.html#writeInt16LE" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>write<wbr/>Int16LE</span></a>
  122. <a href="RcsbFv3DAssembly._internal_.Buffer.html#writeInt32BE" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>write<wbr/>Int32BE</span></a>
  123. <a href="RcsbFv3DAssembly._internal_.Buffer.html#writeInt32LE" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>write<wbr/>Int32LE</span></a>
  124. <a href="RcsbFv3DAssembly._internal_.Buffer.html#writeInt8" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>write<wbr/>Int8</span></a>
  125. <a href="RcsbFv3DAssembly._internal_.Buffer.html#writeIntBE" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>write<wbr/>IntBE</span></a>
  126. <a href="RcsbFv3DAssembly._internal_.Buffer.html#writeIntLE" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>write<wbr/>IntLE</span></a>
  127. <a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUInt16BE" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>writeUInt16BE</span></a>
  128. <a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUInt16LE" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>writeUInt16LE</span></a>
  129. <a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUInt32BE" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>writeUInt32BE</span></a>
  130. <a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUInt32LE" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>writeUInt32LE</span></a>
  131. <a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUInt8" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>writeUInt8</span></a>
  132. <a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUIntBE" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>writeUIntBE</span></a>
  133. <a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUIntLE" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>writeUIntLE</span></a>
  134. <a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUint16BE-2" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>write<wbr/>Uint16BE</span></a>
  135. <a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUint16LE-2" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>write<wbr/>Uint16LE</span></a>
  136. <a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUint32BE-2" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>write<wbr/>Uint32BE</span></a>
  137. <a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUint32LE-2" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>write<wbr/>Uint32LE</span></a>
  138. <a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUint8-2" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>write<wbr/>Uint8</span></a>
  139. <a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUintBE-2" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>write<wbr/>UintBE</span></a>
  140. <a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUintLE-2" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>write<wbr/>UintLE</span></a>
  141. </div></section></div></details></section></section>
  142. <section class="tsd-panel-group tsd-member-group">
  143. <h2>Properties</h2>
  144. <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>
  145. <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>BYTES_<wbr/>PER_<wbr/>ELEMENT</span><a href="#BYTES_PER_ELEMENT" aria-label="Permalink" class="tsd-anchor-icon"><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" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></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" id="icon-anchor-c"></path></svg></a></h3>
  146. <div class="tsd-signature">BYTES_<wbr/>PER_<wbr/>ELEMENT<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
  147. <div class="tsd-comment tsd-typography"><p>The size in bytes of each element in the array.</p>
  148. </div><aside class="tsd-sources">
  149. <p>Inherited from Uint8Array.BYTES_PER_ELEMENT</p>
  150. <ul>
  151. <li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2108</li></ul></aside></section>
  152. <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>
  153. <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>[to<wbr/>String<wbr/>Tag]</span><a href="#_toStringTag_" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  154. <div class="tsd-signature">[to<wbr/>String<wbr/>Tag]<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;Uint8Array&quot;</span></div><aside class="tsd-sources">
  155. <p>Inherited from Uint8Array.__@toStringTag@23</p>
  156. <ul>
  157. <li>Defined in node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts:282</li></ul></aside></section>
  158. <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>
  159. <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>buffer</span><a href="#buffer" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  160. <div class="tsd-signature">buffer<span class="tsd-signature-symbol">:</span> <a href="../types/RcsbFv3DAssembly._internal_.ArrayBufferLike.html" class="tsd-signature-type" data-tsd-kind="Type alias">ArrayBufferLike</a></div>
  161. <div class="tsd-comment tsd-typography"><p>The ArrayBuffer instance referenced by the array.</p>
  162. </div><aside class="tsd-sources">
  163. <p>Inherited from Uint8Array.buffer</p>
  164. <ul>
  165. <li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2113</li></ul></aside></section>
  166. <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>
  167. <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>byte<wbr/>Length</span><a href="#byteLength" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  168. <div class="tsd-signature">byte<wbr/>Length<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
  169. <div class="tsd-comment tsd-typography"><p>The length in bytes of the array.</p>
  170. </div><aside class="tsd-sources">
  171. <p>Inherited from Uint8Array.byteLength</p>
  172. <ul>
  173. <li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2118</li></ul></aside></section>
  174. <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>
  175. <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>byte<wbr/>Offset</span><a href="#byteOffset" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  176. <div class="tsd-signature">byte<wbr/>Offset<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
  177. <div class="tsd-comment tsd-typography"><p>The offset in bytes of the array.</p>
  178. </div><aside class="tsd-sources">
  179. <p>Inherited from Uint8Array.byteOffset</p>
  180. <ul>
  181. <li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2123</li></ul></aside></section>
  182. <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>
  183. <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>length</span><a href="#length" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  184. <div class="tsd-signature">length<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
  185. <div class="tsd-comment tsd-typography"><p>The length of the array.</p>
  186. </div><aside class="tsd-sources">
  187. <p>Inherited from Uint8Array.length</p>
  188. <ul>
  189. <li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2222</li></ul></aside></section></section>
  190. <section class="tsd-panel-group tsd-member-group">
  191. <h2>Methods</h2>
  192. <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>
  193. <h3 class="tsd-anchor-link"><span>[iterator]</span><a href="#_iterator_" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  194. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external">
  195. <li class="tsd-signature tsd-anchor-link" id="_iterator_._iterator_-1">[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">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span><a href="#_iterator_._iterator_-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  196. <li class="tsd-description">
  197. <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">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
  198. <p>Inherited from Uint8Array.__@iterator@85</p>
  199. <ul>
  200. <li>Defined in node_modules/typescript/lib/lib.es2015.iterable.d.ts:272</li></ul></aside></li></ul></section>
  201. <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>
  202. <h3 class="tsd-anchor-link"><span>at</span><a href="#at" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  203. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external">
  204. <li class="tsd-signature tsd-anchor-link" id="at.at-1">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><a href="#at.at-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  205. <li class="tsd-description">
  206. <div class="tsd-comment tsd-typography"><p>Takes an integer value and returns the item at that index,
  207. allowing for positive and negative integers.
  208. Negative integers count back from the last item in the array.</p>
  209. </div>
  210. <div class="tsd-parameters">
  211. <h4 class="tsd-parameters-title">Parameters</h4>
  212. <ul class="tsd-parameter-list">
  213. <li>
  214. <h5>index: <span class="tsd-signature-type">number</span></h5></li></ul></div>
  215. <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><aside class="tsd-sources">
  216. <p>Inherited from Uint8Array.at</p>
  217. <ul>
  218. <li>Defined in node_modules/@types/node/globals.d.ts:86</li></ul></aside></li></ul></section>
  219. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="compare" class="tsd-anchor"></a>
  220. <h3 class="tsd-anchor-link"><span>compare</span><a href="#compare" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  221. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  222. <li class="tsd-signature tsd-anchor-link" id="compare.compare-1">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><a href="#compare.compare-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  223. <li class="tsd-description">
  224. <div class="tsd-comment tsd-typography"><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.
  225. Comparison is based on the actual sequence of bytes in each <code>Buffer</code>.</p>
  226. <ul>
  227. <li><code>0</code> is returned if <code>target</code> is the same as <code>buf</code></li>
  228. <li><code>1</code> is returned if <code>target</code> should come <em>before</em><code>buf</code> when sorted.</li>
  229. <li><code>-1</code> is returned if <code>target</code> should come <em>after</em><code>buf</code> when sorted.</li>
  230. </ul>
  231. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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-4">&#39;ABC&#39;</span><span class="hl-1">);</span><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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-4">&#39;BCD&#39;</span><span class="hl-1">);</span><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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-4">&#39;ABCD&#39;</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: [ &lt;Buffer 41 42 43&gt;, &lt;Buffer 41 42 43 44&gt;, &lt;Buffer 42 43 44&gt; ]</span><br/><span class="hl-9">// (This result is equal to: [buf1, buf3, buf2].)</span>
  232. </code></pre>
  233. <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>
  234. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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-2">const</span><span class="hl-1"> </span><span class="hl-5">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>
  235. </code></pre>
  236. <p><code>ERR_OUT_OF_RANGE</code> is thrown if <code>targetStart &lt; 0</code>, <code>sourceStart &lt; 0</code>,<code>targetEnd &gt; target.byteLength</code>, or <code>sourceEnd &gt; source.byteLength</code>.</p>
  237. <h3>Since</h3><p>v0.11.13</p>
  238. </div>
  239. <div class="tsd-parameters">
  240. <h4 class="tsd-parameters-title">Parameters</h4>
  241. <ul class="tsd-parameter-list">
  242. <li>
  243. <h5>target: <span class="tsd-signature-type">Uint8Array</span></h5>
  244. <div class="tsd-comment tsd-typography"><p>A <code>Buffer</code> or Uint8Array with which to compare <code>buf</code>.</p>
  245. </div></li>
  246. <li>
  247. <h5><code class="tsd-tag ts-flagOptional">Optional</code> targetStart: <span class="tsd-signature-type">number</span></h5>
  248. <div class="tsd-comment tsd-typography"><p>The offset within <code>target</code> at which to begin comparison.</p>
  249. </div></li>
  250. <li>
  251. <h5><code class="tsd-tag ts-flagOptional">Optional</code> targetEnd: <span class="tsd-signature-type">number</span></h5>
  252. <div class="tsd-comment tsd-typography"><p>The offset within <code>target</code> at which to end comparison (not inclusive).</p>
  253. </div></li>
  254. <li>
  255. <h5><code class="tsd-tag ts-flagOptional">Optional</code> sourceStart: <span class="tsd-signature-type">number</span></h5>
  256. <div class="tsd-comment tsd-typography"><p>The offset within <code>buf</code> at which to begin comparison.</p>
  257. </div></li>
  258. <li>
  259. <h5><code class="tsd-tag ts-flagOptional">Optional</code> sourceEnd: <span class="tsd-signature-type">number</span></h5>
  260. <div class="tsd-comment tsd-typography"><p>The offset within <code>buf</code> at which to end comparison (not inclusive).</p>
  261. </div></li></ul></div>
  262. <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><aside class="tsd-sources">
  263. <ul>
  264. <li>Defined in node_modules/@types/node/buffer.d.ts:707</li></ul></aside></li></ul></section>
  265. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="copy" class="tsd-anchor"></a>
  266. <h3 class="tsd-anchor-link"><span>copy</span><a href="#copy" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  267. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  268. <li class="tsd-signature tsd-anchor-link" id="copy.copy-1">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><a href="#copy.copy-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  269. <li class="tsd-description">
  270. <div class="tsd-comment tsd-typography"><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>
  271. <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
  272. for all TypedArrays, including Node.js <code>Buffer</code>s, although it takes
  273. different function arguments.</p>
  274. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-9">// Create two `Buffer` instances.</span><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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-2">const</span><span class="hl-1"> </span><span class="hl-5">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-4">&#39;!&#39;</span><span class="hl-1">);</span><br/><br/><span class="hl-7">for</span><span class="hl-1"> (</span><span class="hl-2">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"> &lt; </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 &#39;a&#39;.</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-4">&#39;ascii&#39;</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>
  275. </code></pre>
  276. <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-4">&#39;buffer&#39;</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-2">const</span><span class="hl-1"> </span><span class="hl-5">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-2">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"> &lt; </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 &#39;a&#39;.</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>
  277. </code></pre>
  278. <h3>Since</h3><p>v0.1.90</p>
  279. <h3>Returns</h3><p>The number of bytes copied.</p>
  280. </div>
  281. <div class="tsd-parameters">
  282. <h4 class="tsd-parameters-title">Parameters</h4>
  283. <ul class="tsd-parameter-list">
  284. <li>
  285. <h5>target: <span class="tsd-signature-type">Uint8Array</span></h5>
  286. <div class="tsd-comment tsd-typography"><p>A <code>Buffer</code> or Uint8Array to copy into.</p>
  287. </div></li>
  288. <li>
  289. <h5><code class="tsd-tag ts-flagOptional">Optional</code> targetStart: <span class="tsd-signature-type">number</span></h5>
  290. <div class="tsd-comment tsd-typography"><p>The offset within <code>target</code> at which to begin writing.</p>
  291. </div></li>
  292. <li>
  293. <h5><code class="tsd-tag ts-flagOptional">Optional</code> sourceStart: <span class="tsd-signature-type">number</span></h5>
  294. <div class="tsd-comment tsd-typography"><p>The offset within <code>buf</code> from which to begin copying.</p>
  295. </div></li>
  296. <li>
  297. <h5><code class="tsd-tag ts-flagOptional">Optional</code> sourceEnd: <span class="tsd-signature-type">number</span></h5>
  298. <div class="tsd-comment tsd-typography"><p>The offset within <code>buf</code> at which to stop copying (not inclusive).</p>
  299. </div></li></ul></div>
  300. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  301. <ul>
  302. <li>Defined in node_modules/@types/node/buffer.d.ts:761</li></ul></aside></li></ul></section>
  303. <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>
  304. <h3 class="tsd-anchor-link"><span>copy<wbr/>Within</span><a href="#copyWithin" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  305. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external">
  306. <li class="tsd-signature tsd-anchor-link" id="copyWithin.copyWithin-1">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">&lt;internal&gt;</a><span class="tsd-signature-symbol">.</span><a href="../variables/RcsbFv3DAssembly._internal_.Buffer-2.html" class="tsd-signature-type" data-tsd-kind="Variable">Buffer</a><a href="#copyWithin.copyWithin-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  307. <li class="tsd-description">
  308. <div class="tsd-comment tsd-typography"><p>Returns the this object after copying a section of the array identified by start and end
  309. to the same array starting at position target</p>
  310. </div>
  311. <div class="tsd-parameters">
  312. <h4 class="tsd-parameters-title">Parameters</h4>
  313. <ul class="tsd-parameter-list">
  314. <li>
  315. <h5>target: <span class="tsd-signature-type">number</span></h5>
  316. <div class="tsd-comment tsd-typography"><p>If target is negative, it is treated as length+target where length is the
  317. length of the array.</p>
  318. </div></li>
  319. <li>
  320. <h5>start: <span class="tsd-signature-type">number</span></h5>
  321. <div class="tsd-comment tsd-typography"><p>If start is negative, it is treated as length+start. If end is negative, it
  322. is treated as length+end.</p>
  323. </div></li>
  324. <li>
  325. <h5><code class="tsd-tag ts-flagOptional">Optional</code> end: <span class="tsd-signature-type">number</span></h5>
  326. <div class="tsd-comment tsd-typography"><p>If not specified, length of the this object is used as its default value.</p>
  327. </div></li></ul></div>
  328. <h4 class="tsd-returns-title">Returns <a href="../modules/RcsbFv3DAssembly._internal_.html" class="tsd-signature-type" data-tsd-kind="Namespace">&lt;internal&gt;</a><span class="tsd-signature-symbol">.</span><a href="../variables/RcsbFv3DAssembly._internal_.Buffer-2.html" class="tsd-signature-type" data-tsd-kind="Variable">Buffer</a></h4><aside class="tsd-sources">
  329. <p>Inherited from Uint8Array.copyWithin</p>
  330. <ul>
  331. <li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2134</li></ul></aside></li></ul></section>
  332. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="entries" class="tsd-anchor"></a>
  333. <h3 class="tsd-anchor-link"><span>entries</span><a href="#entries" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  334. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  335. <li class="tsd-signature tsd-anchor-link" id="entries.entries-1">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">&lt;</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">&gt;</span><a href="#entries.entries-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  336. <li class="tsd-description">
  337. <div class="tsd-comment tsd-typography"><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
  338. of <code>buf</code>.</p>
  339. <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-4">&#39;buffer&#39;</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-2">const</span><span class="hl-1"> </span><span class="hl-5">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-4">&#39;buffer&#39;</span><span class="hl-1">);</span><br/><br/><span class="hl-7">for</span><span class="hl-1"> (</span><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">pair</span><span class="hl-1"> </span><span class="hl-2">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>
  340. </code></pre>
  341. <h3>Since</h3><p>v1.1.0</p>
  342. </div>
  343. <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">&lt;</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">&gt;</span></h4><aside class="tsd-sources">
  344. <p>Overrides Uint8Array.entries</p>
  345. <ul>
  346. <li>Defined in node_modules/@types/node/buffer.d.ts:2107</li></ul></aside></li></ul></section>
  347. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="equals" class="tsd-anchor"></a>
  348. <h3 class="tsd-anchor-link"><span>equals</span><a href="#equals" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  349. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  350. <li class="tsd-signature tsd-anchor-link" id="equals.equals-1">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><a href="#equals.equals-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  351. <li class="tsd-description">
  352. <div class="tsd-comment tsd-typography"><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>
  353. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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-4">&#39;ABC&#39;</span><span class="hl-1">);</span><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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-4">&#39;414243&#39;</span><span class="hl-1">, </span><span class="hl-4">&#39;hex&#39;</span><span class="hl-1">);</span><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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-4">&#39;ABCD&#39;</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>
  354. </code></pre>
  355. <h3>Since</h3><p>v0.11.13</p>
  356. </div>
  357. <div class="tsd-parameters">
  358. <h4 class="tsd-parameters-title">Parameters</h4>
  359. <ul class="tsd-parameter-list">
  360. <li>
  361. <h5>otherBuffer: <span class="tsd-signature-type">Uint8Array</span></h5>
  362. <div class="tsd-comment tsd-typography"><p>A <code>Buffer</code> or Uint8Array with which to compare <code>buf</code>.</p>
  363. </div></li></ul></div>
  364. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
  365. <ul>
  366. <li>Defined in node_modules/@types/node/buffer.d.ts:652</li></ul></aside></li></ul></section>
  367. <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>
  368. <h3 class="tsd-anchor-link"><span>every</span><a href="#every" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  369. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external">
  370. <li class="tsd-signature tsd-anchor-link" id="every.every-1">every<span class="tsd-signature-symbol">(</span>predicate<span class="tsd-signature-symbol">: </span><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"> =&gt; </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">)</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><a href="#every.every-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  371. <li class="tsd-description">
  372. <div class="tsd-comment tsd-typography"><p>Determines whether all the members of an array satisfy the specified test.</p>
  373. </div>
  374. <div class="tsd-parameters">
  375. <h4 class="tsd-parameters-title">Parameters</h4>
  376. <ul class="tsd-parameter-list">
  377. <li>
  378. <h5>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"> =&gt; </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">)</span></h5>
  379. <div class="tsd-comment tsd-typography"><p>A function that accepts up to three arguments. The every method calls
  380. the predicate function for each element in the array until the predicate returns a value
  381. which is coercible to the Boolean value false, or until the end of the array.</p>
  382. </div>
  383. <ul class="tsd-parameters">
  384. <li class="tsd-parameter-signature">
  385. <ul class="tsd-signatures tsd-kind-type-literal tsd-is-external">
  386. <li class="tsd-signature"><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>
  387. <li class="tsd-description">
  388. <div class="tsd-parameters">
  389. <h4 class="tsd-parameters-title">Parameters</h4>
  390. <ul class="tsd-parameter-list">
  391. <li>
  392. <h5>value: <span class="tsd-signature-type">number</span></h5></li>
  393. <li>
  394. <h5>index: <span class="tsd-signature-type">number</span></h5></li>
  395. <li>
  396. <h5>array: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
  397. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">unknown</span></h4></li></ul></li></ul></li>
  398. <li>
  399. <h5><code class="tsd-tag ts-flagOptional">Optional</code> thisArg: <span class="tsd-signature-type">any</span></h5>
  400. <div class="tsd-comment tsd-typography"><p>An object to which the this keyword can refer in the predicate function.
  401. If thisArg is omitted, undefined is used as the this value.</p>
  402. </div></li></ul></div>
  403. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
  404. <p>Inherited from Uint8Array.every</p>
  405. <ul>
  406. <li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2144</li></ul></aside></li></ul></section>
  407. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="fill" class="tsd-anchor"></a>
  408. <h3 class="tsd-anchor-link"><span>fill</span><a href="#fill" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  409. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  410. <li class="tsd-signature tsd-anchor-link" id="fill.fill-1">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="../types/RcsbFv3DAssembly._internal_.BufferEncoding.html" 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">&lt;internal&gt;</a><span class="tsd-signature-symbol">.</span><a href="../variables/RcsbFv3DAssembly._internal_.Buffer-2.html" class="tsd-signature-type" data-tsd-kind="Variable">Buffer</a><a href="#fill.fill-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  411. <li class="tsd-description">
  412. <div class="tsd-comment tsd-typography"><p>Fills <code>buf</code> with the specified <code>value</code>. If the <code>offset</code> and <code>end</code> are not given,
  413. the entire <code>buf</code> will be filled:</p>
  414. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-9">// Fill a `Buffer` with the ASCII character &#39;h&#39;.</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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-4">&#39;h&#39;</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>
  415. </code></pre>
  416. <p><code>value</code> is coerced to a <code>uint32</code> value if it is not a string, <code>Buffer</code>, or
  417. integer. If the resulting integer is greater than <code>255</code> (decimal), <code>buf</code> will be
  418. filled with <code>value &amp;#x26; 255</code>.</p>
  419. <p>If the final write of a <code>fill()</code> operation falls on a multi-byte character,
  420. then only the bytes of that character that fit into <code>buf</code> are written:</p>
  421. <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-4">&#39;buffer&#39;</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-4">&#39;</span><span class="hl-13">\u0222</span><span class="hl-4">&#39;</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: &lt;Buffer c8 a2 c8 a2 c8&gt;</span>
  422. </code></pre>
  423. <p>If <code>value</code> contains invalid characters, it is truncated; if no valid
  424. fill data remains, an exception is thrown:</p>
  425. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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-4">&#39;a&#39;</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: &lt;Buffer 61 61 61 61 61&gt;</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-4">&#39;aazz&#39;</span><span class="hl-1">, </span><span class="hl-4">&#39;hex&#39;</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: &lt;Buffer aa aa aa aa aa&gt;</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-4">&#39;zz&#39;</span><span class="hl-1">, </span><span class="hl-4">&#39;hex&#39;</span><span class="hl-1">));</span><br/><span class="hl-9">// Throws an exception.</span>
  426. </code></pre>
  427. <h3>Since</h3><p>v0.5.0</p>
  428. <h3>Returns</h3><p>A reference to <code>buf</code>.</p>
  429. </div>
  430. <div class="tsd-parameters">
  431. <h4 class="tsd-parameters-title">Parameters</h4>
  432. <ul class="tsd-parameter-list">
  433. <li>
  434. <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>
  435. <div class="tsd-comment tsd-typography"><p>The value with which to fill <code>buf</code>.</p>
  436. </div></li>
  437. <li>
  438. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5>
  439. <div class="tsd-comment tsd-typography"><p>Number of bytes to skip before starting to fill <code>buf</code>.</p>
  440. </div></li>
  441. <li>
  442. <h5><code class="tsd-tag ts-flagOptional">Optional</code> end: <span class="tsd-signature-type">number</span></h5>
  443. <div class="tsd-comment tsd-typography"><p>Where to stop filling <code>buf</code> (not inclusive).</p>
  444. </div></li>
  445. <li>
  446. <h5><code class="tsd-tag ts-flagOptional">Optional</code> encoding: <a href="../types/RcsbFv3DAssembly._internal_.BufferEncoding.html" class="tsd-signature-type" data-tsd-kind="Type alias">BufferEncoding</a></h5>
  447. <div class="tsd-comment tsd-typography"><p>The encoding for <code>value</code> if <code>value</code> is a string.</p>
  448. </div></li></ul></div>
  449. <h4 class="tsd-returns-title">Returns <a href="../modules/RcsbFv3DAssembly._internal_.html" class="tsd-signature-type" data-tsd-kind="Namespace">&lt;internal&gt;</a><span class="tsd-signature-symbol">.</span><a href="../variables/RcsbFv3DAssembly._internal_.Buffer-2.html" class="tsd-signature-type" data-tsd-kind="Variable">Buffer</a></h4><aside class="tsd-sources">
  450. <p>Overrides Uint8Array.fill</p>
  451. <ul>
  452. <li>Defined in node_modules/@types/node/buffer.d.ts:1945</li></ul></aside></li></ul></section>
  453. <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>
  454. <h3 class="tsd-anchor-link"><span>filter</span><a href="#filter" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  455. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external">
  456. <li class="tsd-signature tsd-anchor-link" id="filter.filter-1">filter<span class="tsd-signature-symbol">(</span>predicate<span class="tsd-signature-symbol">: </span><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"> =&gt; </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</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><a href="#filter.filter-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  457. <li class="tsd-description">
  458. <div class="tsd-comment tsd-typography"><p>Returns the elements of an array that meet the condition specified in a callback function.</p>
  459. </div>
  460. <div class="tsd-parameters">
  461. <h4 class="tsd-parameters-title">Parameters</h4>
  462. <ul class="tsd-parameter-list">
  463. <li>
  464. <h5>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"> =&gt; </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span></h5>
  465. <div class="tsd-comment tsd-typography"><p>A function that accepts up to three arguments. The filter method calls
  466. the predicate function one time for each element in the array.</p>
  467. </div>
  468. <ul class="tsd-parameters">
  469. <li class="tsd-parameter-signature">
  470. <ul class="tsd-signatures tsd-kind-type-literal tsd-is-external">
  471. <li class="tsd-signature"><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>
  472. <li class="tsd-description">
  473. <div class="tsd-parameters">
  474. <h4 class="tsd-parameters-title">Parameters</h4>
  475. <ul class="tsd-parameter-list">
  476. <li>
  477. <h5>value: <span class="tsd-signature-type">number</span></h5></li>
  478. <li>
  479. <h5>index: <span class="tsd-signature-type">number</span></h5></li>
  480. <li>
  481. <h5>array: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
  482. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4></li></ul></li></ul></li>
  483. <li>
  484. <h5><code class="tsd-tag ts-flagOptional">Optional</code> thisArg: <span class="tsd-signature-type">any</span></h5>
  485. <div class="tsd-comment tsd-typography"><p>An object to which the this keyword can refer in the predicate function.
  486. If thisArg is omitted, undefined is used as the this value.</p>
  487. </div></li></ul></div>
  488. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Uint8Array</span></h4><aside class="tsd-sources">
  489. <p>Inherited from Uint8Array.filter</p>
  490. <ul>
  491. <li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2163</li></ul></aside></li></ul></section>
  492. <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>
  493. <h3 class="tsd-anchor-link"><span>find</span><a href="#find" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  494. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external">
  495. <li class="tsd-signature tsd-anchor-link" id="find.find-1">find<span class="tsd-signature-symbol">(</span>predicate<span class="tsd-signature-symbol">: </span><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"> =&gt; </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</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><a href="#find.find-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  496. <li class="tsd-description">
  497. <div class="tsd-comment tsd-typography"><p>Returns the value of the first element in the array where predicate is true, and undefined
  498. otherwise.</p>
  499. </div>
  500. <div class="tsd-parameters">
  501. <h4 class="tsd-parameters-title">Parameters</h4>
  502. <ul class="tsd-parameter-list">
  503. <li>
  504. <h5>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"> =&gt; </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span></h5>
  505. <div class="tsd-comment tsd-typography"><p>find calls predicate once for each element of the array, in ascending
  506. order, until it finds one where predicate returns true. If such an element is found, find
  507. immediately returns that element value. Otherwise, find returns undefined.</p>
  508. </div>
  509. <ul class="tsd-parameters">
  510. <li class="tsd-parameter-signature">
  511. <ul class="tsd-signatures tsd-kind-type-literal tsd-is-external">
  512. <li class="tsd-signature"><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>
  513. <li class="tsd-description">
  514. <div class="tsd-parameters">
  515. <h4 class="tsd-parameters-title">Parameters</h4>
  516. <ul class="tsd-parameter-list">
  517. <li>
  518. <h5>value: <span class="tsd-signature-type">number</span></h5></li>
  519. <li>
  520. <h5>index: <span class="tsd-signature-type">number</span></h5></li>
  521. <li>
  522. <h5>obj: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
  523. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></li></ul></li>
  524. <li>
  525. <h5><code class="tsd-tag ts-flagOptional">Optional</code> thisArg: <span class="tsd-signature-type">any</span></h5>
  526. <div class="tsd-comment tsd-typography"><p>If provided, it will be used as the this value for each invocation of
  527. predicate. If it is not provided, undefined is used instead.</p>
  528. </div></li></ul></div>
  529. <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><aside class="tsd-sources">
  530. <p>Inherited from Uint8Array.find</p>
  531. <ul>
  532. <li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2174</li></ul></aside></li></ul></section>
  533. <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>
  534. <h3 class="tsd-anchor-link"><span>find<wbr/>Index</span><a href="#findIndex" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  535. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external">
  536. <li class="tsd-signature tsd-anchor-link" id="findIndex.findIndex-1">find<wbr/>Index<span class="tsd-signature-symbol">(</span>predicate<span class="tsd-signature-symbol">: </span><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"> =&gt; </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</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><a href="#findIndex.findIndex-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  537. <li class="tsd-description">
  538. <div class="tsd-comment tsd-typography"><p>Returns the index of the first element in the array where predicate is true, and -1
  539. otherwise.</p>
  540. </div>
  541. <div class="tsd-parameters">
  542. <h4 class="tsd-parameters-title">Parameters</h4>
  543. <ul class="tsd-parameter-list">
  544. <li>
  545. <h5>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"> =&gt; </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span></h5>
  546. <div class="tsd-comment tsd-typography"><p>find calls predicate once for each element of the array, in ascending
  547. order, until it finds one where predicate returns true. If such an element is found,
  548. findIndex immediately returns that element index. Otherwise, findIndex returns -1.</p>
  549. </div>
  550. <ul class="tsd-parameters">
  551. <li class="tsd-parameter-signature">
  552. <ul class="tsd-signatures tsd-kind-type-literal tsd-is-external">
  553. <li class="tsd-signature"><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>
  554. <li class="tsd-description">
  555. <div class="tsd-parameters">
  556. <h4 class="tsd-parameters-title">Parameters</h4>
  557. <ul class="tsd-parameter-list">
  558. <li>
  559. <h5>value: <span class="tsd-signature-type">number</span></h5></li>
  560. <li>
  561. <h5>index: <span class="tsd-signature-type">number</span></h5></li>
  562. <li>
  563. <h5>obj: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
  564. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></li></ul></li>
  565. <li>
  566. <h5><code class="tsd-tag ts-flagOptional">Optional</code> thisArg: <span class="tsd-signature-type">any</span></h5>
  567. <div class="tsd-comment tsd-typography"><p>If provided, it will be used as the this value for each invocation of
  568. predicate. If it is not provided, undefined is used instead.</p>
  569. </div></li></ul></div>
  570. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  571. <p>Inherited from Uint8Array.findIndex</p>
  572. <ul>
  573. <li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2185</li></ul></aside></li></ul></section>
  574. <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>
  575. <h3 class="tsd-anchor-link"><span>for<wbr/>Each</span><a href="#forEach" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  576. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external">
  577. <li class="tsd-signature tsd-anchor-link" id="forEach.forEach-1">for<wbr/>Each<span class="tsd-signature-symbol">(</span>callbackfn<span class="tsd-signature-symbol">: </span><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"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</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><a href="#forEach.forEach-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  578. <li class="tsd-description">
  579. <div class="tsd-comment tsd-typography"><p>Performs the specified action for each element in an array.</p>
  580. </div>
  581. <div class="tsd-parameters">
  582. <h4 class="tsd-parameters-title">Parameters</h4>
  583. <ul class="tsd-parameter-list">
  584. <li>
  585. <h5>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"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span></h5>
  586. <div class="tsd-comment tsd-typography"><p>A function that accepts up to three arguments. forEach calls the
  587. callbackfn function one time for each element in the array.</p>
  588. </div>
  589. <ul class="tsd-parameters">
  590. <li class="tsd-parameter-signature">
  591. <ul class="tsd-signatures tsd-kind-type-literal tsd-is-external">
  592. <li class="tsd-signature"><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>
  593. <li class="tsd-description">
  594. <div class="tsd-parameters">
  595. <h4 class="tsd-parameters-title">Parameters</h4>
  596. <ul class="tsd-parameter-list">
  597. <li>
  598. <h5>value: <span class="tsd-signature-type">number</span></h5></li>
  599. <li>
  600. <h5>index: <span class="tsd-signature-type">number</span></h5></li>
  601. <li>
  602. <h5>array: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
  603. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></li>
  604. <li>
  605. <h5><code class="tsd-tag ts-flagOptional">Optional</code> thisArg: <span class="tsd-signature-type">any</span></h5>
  606. <div class="tsd-comment tsd-typography"><p>An object to which the this keyword can refer in the callbackfn function.
  607. If thisArg is omitted, undefined is used as the this value.</p>
  608. </div></li></ul></div>
  609. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
  610. <p>Inherited from Uint8Array.forEach</p>
  611. <ul>
  612. <li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2194</li></ul></aside></li></ul></section>
  613. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="includes" class="tsd-anchor"></a>
  614. <h3 class="tsd-anchor-link"><span>includes</span><a href="#includes" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  615. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  616. <li class="tsd-signature tsd-anchor-link" id="includes.includes-1">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">&lt;internal&gt;</a><span class="tsd-signature-symbol">.</span><a href="../variables/RcsbFv3DAssembly._internal_.Buffer-2.html" 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="../types/RcsbFv3DAssembly._internal_.BufferEncoding.html" 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><a href="#includes.includes-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  617. <li class="tsd-description">
  618. <div class="tsd-comment tsd-typography"><p>Equivalent to <code>buf.indexOf() !== -1</code>.</p>
  619. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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-4">&#39;this is a buffer&#39;</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-4">&#39;this&#39;</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-4">&#39;is&#39;</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-4">&#39;a buffer&#39;</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 &#39;a&#39;)</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-4">&#39;a buffer example&#39;</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-4">&#39;a buffer example&#39;</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-4">&#39;this&#39;</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>
  620. </code></pre>
  621. <h3>Since</h3><p>v5.3.0</p>
  622. <h3>Returns</h3><p><code>true</code> if <code>value</code> was found in <code>buf</code>, <code>false</code> otherwise.</p>
  623. </div>
  624. <div class="tsd-parameters">
  625. <h4 class="tsd-parameters-title">Parameters</h4>
  626. <ul class="tsd-parameter-list">
  627. <li>
  628. <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">&lt;internal&gt;</a><span class="tsd-signature-symbol">.</span><a href="../variables/RcsbFv3DAssembly._internal_.Buffer-2.html" class="tsd-signature-type" data-tsd-kind="Variable">Buffer</a></h5>
  629. <div class="tsd-comment tsd-typography"><p>What to search for.</p>
  630. </div></li>
  631. <li>
  632. <h5><code class="tsd-tag ts-flagOptional">Optional</code> byteOffset: <span class="tsd-signature-type">number</span></h5>
  633. <div class="tsd-comment tsd-typography"><p>Where to begin searching in <code>buf</code>. If negative, then offset is calculated from the end of <code>buf</code>.</p>
  634. </div></li>
  635. <li>
  636. <h5><code class="tsd-tag ts-flagOptional">Optional</code> encoding: <a href="../types/RcsbFv3DAssembly._internal_.BufferEncoding.html" class="tsd-signature-type" data-tsd-kind="Type alias">BufferEncoding</a></h5>
  637. <div class="tsd-comment tsd-typography"><p>If <code>value</code> is a string, this is its encoding.</p>
  638. </div></li></ul></div>
  639. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
  640. <p>Overrides Uint8Array.includes</p>
  641. <ul>
  642. <li>Defined in node_modules/@types/node/buffer.d.ts:2137</li></ul></aside></li></ul></section>
  643. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="indexOf" class="tsd-anchor"></a>
  644. <h3 class="tsd-anchor-link"><span>index<wbr/>Of</span><a href="#indexOf" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  645. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  646. <li class="tsd-signature tsd-anchor-link" id="indexOf.indexOf-1">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="../types/RcsbFv3DAssembly._internal_.BufferEncoding.html" 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><a href="#indexOf.indexOf-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  647. <li class="tsd-description">
  648. <div class="tsd-comment tsd-typography"><p>If <code>value</code> is:</p>
  649. <ul>
  650. <li>a string, <code>value</code> is interpreted according to the character encoding in<code>encoding</code>.</li>
  651. <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.
  652. To compare a partial <code>Buffer</code>, use <code>buf.slice()</code>.</li>
  653. <li>a number, <code>value</code> will be interpreted as an unsigned 8-bit integer
  654. value between <code>0</code> and <code>255</code>.</li>
  655. </ul>
  656. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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-4">&#39;this is a buffer&#39;</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-4">&#39;this&#39;</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-4">&#39;is&#39;</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-4">&#39;a buffer&#39;</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 &#39;a&#39;)</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-4">&#39;a buffer example&#39;</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-4">&#39;a buffer example&#39;</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-2">const</span><span class="hl-1"> </span><span class="hl-5">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-4">&#39;</span><span class="hl-13">\u039a\u0391\u03a3\u03a3\u0395</span><span class="hl-4">&#39;</span><span class="hl-1">, </span><span class="hl-4">&#39;utf16le&#39;</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-4">&#39;</span><span class="hl-13">\u03a3</span><span class="hl-4">&#39;</span><span class="hl-1">, </span><span class="hl-8">0</span><span class="hl-1">, </span><span class="hl-4">&#39;utf16le&#39;</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-4">&#39;</span><span class="hl-13">\u03a3</span><span class="hl-4">&#39;</span><span class="hl-1">, -</span><span class="hl-8">4</span><span class="hl-1">, </span><span class="hl-4">&#39;utf16le&#39;</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: 6</span>
  657. </code></pre>
  658. <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,
  659. an integer between 0 and 255.</p>
  660. <p>If <code>byteOffset</code> is not a number, it will be coerced to a number. If the result
  661. of coercion is <code>NaN</code> or <code>0</code>, then the entire buffer will be searched. This
  662. 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>
  663. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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-4">&#39;abcdef&#39;</span><span class="hl-1">);</span><br/><br/><span class="hl-9">// Passing a value that&#39;s a number, but not a valid byte.</span><br/><span class="hl-9">// Prints: 2, equivalent to searching for 99 or &#39;c&#39;.</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-4">&#39;b&#39;</span><span class="hl-1">, </span><span class="hl-2">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-4">&#39;b&#39;</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-4">&#39;b&#39;</span><span class="hl-1">, </span><span class="hl-2">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-4">&#39;b&#39;</span><span class="hl-1">, []));</span>
  664. </code></pre>
  665. <p>If <code>value</code> is an empty string or empty <code>Buffer</code> and <code>byteOffset</code> is less
  666. 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>
  667. <h3>Since</h3><p>v1.5.0</p>
  668. <h3>Returns</h3><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>
  669. </div>
  670. <div class="tsd-parameters">
  671. <h4 class="tsd-parameters-title">Parameters</h4>
  672. <ul class="tsd-parameter-list">
  673. <li>
  674. <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>
  675. <div class="tsd-comment tsd-typography"><p>What to search for.</p>
  676. </div></li>
  677. <li>
  678. <h5><code class="tsd-tag ts-flagOptional">Optional</code> byteOffset: <span class="tsd-signature-type">number</span></h5>
  679. <div class="tsd-comment tsd-typography"><p>Where to begin searching in <code>buf</code>. If negative, then offset is calculated from the end of <code>buf</code>.</p>
  680. </div></li>
  681. <li>
  682. <h5><code class="tsd-tag ts-flagOptional">Optional</code> encoding: <a href="../types/RcsbFv3DAssembly._internal_.BufferEncoding.html" class="tsd-signature-type" data-tsd-kind="Type alias">BufferEncoding</a></h5>
  683. <div class="tsd-comment tsd-typography"><p>If <code>value</code> is a string, this is the encoding used to determine the binary representation of the string that will be searched for in <code>buf</code>.</p>
  684. </div></li></ul></div>
  685. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  686. <p>Overrides Uint8Array.indexOf</p>
  687. <ul>
  688. <li>Defined in node_modules/@types/node/buffer.d.ts:2014</li></ul></aside></li></ul></section>
  689. <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>
  690. <h3 class="tsd-anchor-link"><span>join</span><a href="#join" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  691. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external">
  692. <li class="tsd-signature tsd-anchor-link" id="join.join-1">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><a href="#join.join-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  693. <li class="tsd-description">
  694. <div class="tsd-comment tsd-typography"><p>Adds all the elements of an array separated by the specified separator string.</p>
  695. </div>
  696. <div class="tsd-parameters">
  697. <h4 class="tsd-parameters-title">Parameters</h4>
  698. <ul class="tsd-parameter-list">
  699. <li>
  700. <h5><code class="tsd-tag ts-flagOptional">Optional</code> separator: <span class="tsd-signature-type">string</span></h5>
  701. <div class="tsd-comment tsd-typography"><p>A string used to separate one element of an array from the next in the
  702. resulting String. If omitted, the array elements are separated with a comma.</p>
  703. </div></li></ul></div>
  704. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
  705. <p>Inherited from Uint8Array.join</p>
  706. <ul>
  707. <li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2209</li></ul></aside></li></ul></section>
  708. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="keys" class="tsd-anchor"></a>
  709. <h3 class="tsd-anchor-link"><span>keys</span><a href="#keys" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  710. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  711. <li class="tsd-signature tsd-anchor-link" id="keys.keys-1">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">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span><a href="#keys.keys-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  712. <li class="tsd-description">
  713. <div class="tsd-comment tsd-typography"><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>
  714. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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-4">&#39;buffer&#39;</span><span class="hl-1">);</span><br/><br/><span class="hl-7">for</span><span class="hl-1"> (</span><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">key</span><span class="hl-1"> </span><span class="hl-2">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>
  715. </code></pre>
  716. <h3>Since</h3><p>v1.1.0</p>
  717. </div>
  718. <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">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
  719. <p>Overrides Uint8Array.keys</p>
  720. <ul>
  721. <li>Defined in node_modules/@types/node/buffer.d.ts:2159</li></ul></aside></li></ul></section>
  722. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="lastIndexOf" class="tsd-anchor"></a>
  723. <h3 class="tsd-anchor-link"><span>last<wbr/>Index<wbr/>Of</span><a href="#lastIndexOf" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  724. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  725. <li class="tsd-signature tsd-anchor-link" id="lastIndexOf.lastIndexOf-1">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="../types/RcsbFv3DAssembly._internal_.BufferEncoding.html" 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><a href="#lastIndexOf.lastIndexOf-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  726. <li class="tsd-description">
  727. <div class="tsd-comment tsd-typography"><p>Identical to <code>buf.indexOf()</code>, except the last occurrence of <code>value</code> is found
  728. rather than the first occurrence.</p>
  729. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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-4">&#39;this buffer is a buffer&#39;</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-4">&#39;this&#39;</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-4">&#39;buffer&#39;</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-4">&#39;buffer&#39;</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 &#39;a&#39;)</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-4">&#39;yolo&#39;</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-4">&#39;buffer&#39;</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-4">&#39;buffer&#39;</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-2">const</span><span class="hl-1"> </span><span class="hl-5">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-4">&#39;</span><span class="hl-13">\u039a\u0391\u03a3\u03a3\u0395</span><span class="hl-4">&#39;</span><span class="hl-1">, </span><span class="hl-4">&#39;utf16le&#39;</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-4">&#39;</span><span class="hl-13">\u03a3</span><span class="hl-4">&#39;</span><span class="hl-1">, </span><span class="hl-2">undefined</span><span class="hl-1">, </span><span class="hl-4">&#39;utf16le&#39;</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-4">&#39;</span><span class="hl-13">\u03a3</span><span class="hl-4">&#39;</span><span class="hl-1">, -</span><span class="hl-8">5</span><span class="hl-1">, </span><span class="hl-4">&#39;utf16le&#39;</span><span class="hl-1">));</span><br/><span class="hl-9">// Prints: 4</span>
  730. </code></pre>
  731. <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,
  732. an integer between 0 and 255.</p>
  733. <p>If <code>byteOffset</code> is not a number, it will be coerced to a number. Any arguments
  734. that coerce to <code>NaN</code>, like <code>{}</code> or <code>undefined</code>, will search the whole buffer.
  735. 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>
  736. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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-4">&#39;abcdef&#39;</span><span class="hl-1">);</span><br/><br/><span class="hl-9">// Passing a value that&#39;s a number, but not a valid byte.</span><br/><span class="hl-9">// Prints: 2, equivalent to searching for 99 or &#39;c&#39;.</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-4">&#39;b&#39;</span><span class="hl-1">, </span><span class="hl-2">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-4">&#39;b&#39;</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-4">&#39;b&#39;</span><span class="hl-1">, </span><span class="hl-2">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-4">&#39;b&#39;</span><span class="hl-1">, []));</span>
  737. </code></pre>
  738. <p>If <code>value</code> is an empty string or empty <code>Buffer</code>, <code>byteOffset</code> will be returned.</p>
  739. <h3>Since</h3><p>v6.0.0</p>
  740. <h3>Returns</h3><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>
  741. </div>
  742. <div class="tsd-parameters">
  743. <h4 class="tsd-parameters-title">Parameters</h4>
  744. <ul class="tsd-parameter-list">
  745. <li>
  746. <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>
  747. <div class="tsd-comment tsd-typography"><p>What to search for.</p>
  748. </div></li>
  749. <li>
  750. <h5><code class="tsd-tag ts-flagOptional">Optional</code> byteOffset: <span class="tsd-signature-type">number</span></h5></li>
  751. <li>
  752. <h5><code class="tsd-tag ts-flagOptional">Optional</code> encoding: <a href="../types/RcsbFv3DAssembly._internal_.BufferEncoding.html" class="tsd-signature-type" data-tsd-kind="Type alias">BufferEncoding</a></h5>
  753. <div class="tsd-comment tsd-typography"><p>If <code>value</code> is a string, this is the encoding used to determine the binary representation of the string that will be searched for in <code>buf</code>.</p>
  754. </div></li></ul></div>
  755. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  756. <p>Overrides Uint8Array.lastIndexOf</p>
  757. <ul>
  758. <li>Defined in node_modules/@types/node/buffer.d.ts:2082</li></ul></aside></li></ul></section>
  759. <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>
  760. <h3 class="tsd-anchor-link"><span>map</span><a href="#map" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  761. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external">
  762. <li class="tsd-signature tsd-anchor-link" id="map.map-1">map<span class="tsd-signature-symbol">(</span>callbackfn<span class="tsd-signature-symbol">: </span><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"> =&gt; </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</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><a href="#map.map-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  763. <li class="tsd-description">
  764. <div class="tsd-comment tsd-typography"><p>Calls a defined callback function on each element of an array, and returns an array that
  765. contains the results.</p>
  766. </div>
  767. <div class="tsd-parameters">
  768. <h4 class="tsd-parameters-title">Parameters</h4>
  769. <ul class="tsd-parameter-list">
  770. <li>
  771. <h5>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"> =&gt; </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span></h5>
  772. <div class="tsd-comment tsd-typography"><p>A function that accepts up to three arguments. The map method calls the
  773. callbackfn function one time for each element in the array.</p>
  774. </div>
  775. <ul class="tsd-parameters">
  776. <li class="tsd-parameter-signature">
  777. <ul class="tsd-signatures tsd-kind-type-literal tsd-is-external">
  778. <li class="tsd-signature"><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>
  779. <li class="tsd-description">
  780. <div class="tsd-parameters">
  781. <h4 class="tsd-parameters-title">Parameters</h4>
  782. <ul class="tsd-parameter-list">
  783. <li>
  784. <h5>value: <span class="tsd-signature-type">number</span></h5></li>
  785. <li>
  786. <h5>index: <span class="tsd-signature-type">number</span></h5></li>
  787. <li>
  788. <h5>array: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
  789. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></li></ul></li>
  790. <li>
  791. <h5><code class="tsd-tag ts-flagOptional">Optional</code> thisArg: <span class="tsd-signature-type">any</span></h5>
  792. <div class="tsd-comment tsd-typography"><p>An object to which the this keyword can refer in the callbackfn function.
  793. If thisArg is omitted, undefined is used as the this value.</p>
  794. </div></li></ul></div>
  795. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Uint8Array</span></h4><aside class="tsd-sources">
  796. <p>Inherited from Uint8Array.map</p>
  797. <ul>
  798. <li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2232</li></ul></aside></li></ul></section>
  799. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readBigInt64BE" class="tsd-anchor"></a>
  800. <h3 class="tsd-anchor-link"><span>read<wbr/>Big<wbr/>Int64BE</span><a href="#readBigInt64BE" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  801. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  802. <li class="tsd-signature tsd-anchor-link" id="readBigInt64BE.readBigInt64BE-1">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><a href="#readBigInt64BE.readBigInt64BE-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  803. <li class="tsd-description">
  804. <div class="tsd-comment tsd-typography"><p>Reads a signed, big-endian 64-bit integer from <code>buf</code> at the specified <code>offset</code>.</p>
  805. <p>Integers read from a <code>Buffer</code> are interpreted as two&#39;s complement signed
  806. values.</p>
  807. <h3>Since</h3><p>v12.0.0, v10.20.0</p>
  808. </div>
  809. <div class="tsd-parameters">
  810. <h4 class="tsd-parameters-title">Parameters</h4>
  811. <ul class="tsd-parameter-list">
  812. <li>
  813. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5>
  814. <div class="tsd-comment tsd-typography"><p>Number of bytes to skip before starting to read. Must satisfy: <code>0 &lt;= offset &lt;= buf.length - 8</code>.</p>
  815. </div></li></ul></div>
  816. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">bigint</span></h4><aside class="tsd-sources">
  817. <ul>
  818. <li>Defined in node_modules/@types/node/buffer.d.ts:1093</li></ul></aside></li></ul></section>
  819. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readBigInt64LE" class="tsd-anchor"></a>
  820. <h3 class="tsd-anchor-link"><span>read<wbr/>Big<wbr/>Int64LE</span><a href="#readBigInt64LE" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  821. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  822. <li class="tsd-signature tsd-anchor-link" id="readBigInt64LE.readBigInt64LE-1">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><a href="#readBigInt64LE.readBigInt64LE-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  823. <li class="tsd-description">
  824. <div class="tsd-comment tsd-typography"><p>Reads a signed, little-endian 64-bit integer from <code>buf</code> at the specified<code>offset</code>.</p>
  825. <p>Integers read from a <code>Buffer</code> are interpreted as two&#39;s complement signed
  826. values.</p>
  827. <h3>Since</h3><p>v12.0.0, v10.20.0</p>
  828. </div>
  829. <div class="tsd-parameters">
  830. <h4 class="tsd-parameters-title">Parameters</h4>
  831. <ul class="tsd-parameter-list">
  832. <li>
  833. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5>
  834. <div class="tsd-comment tsd-typography"><p>Number of bytes to skip before starting to read. Must satisfy: <code>0 &lt;= offset &lt;= buf.length - 8</code>.</p>
  835. </div></li></ul></div>
  836. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">bigint</span></h4><aside class="tsd-sources">
  837. <ul>
  838. <li>Defined in node_modules/@types/node/buffer.d.ts:1102</li></ul></aside></li></ul></section>
  839. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readBigUInt64BE" class="tsd-anchor"></a>
  840. <h3 class="tsd-anchor-link"><span>read<wbr/>BigUInt64BE</span><a href="#readBigUInt64BE" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  841. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  842. <li class="tsd-signature tsd-anchor-link" id="readBigUInt64BE.readBigUInt64BE-1">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><a href="#readBigUInt64BE.readBigUInt64BE-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  843. <li class="tsd-description">
  844. <div class="tsd-comment tsd-typography"><p>Reads an unsigned, big-endian 64-bit integer from <code>buf</code> at the specified<code>offset</code>.</p>
  845. <p>This function is also available under the <code>readBigUint64BE</code> alias.</p>
  846. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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>
  847. </code></pre>
  848. <h3>Since</h3><p>v12.0.0, v10.20.0</p>
  849. </div>
  850. <div class="tsd-parameters">
  851. <h4 class="tsd-parameters-title">Parameters</h4>
  852. <ul class="tsd-parameter-list">
  853. <li>
  854. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5>
  855. <div class="tsd-comment tsd-typography"><p>Number of bytes to skip before starting to read. Must satisfy: <code>0 &lt;= offset &lt;= buf.length - 8</code>.</p>
  856. </div></li></ul></div>
  857. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">bigint</span></h4><aside class="tsd-sources">
  858. <ul>
  859. <li>Defined in node_modules/@types/node/buffer.d.ts:1057</li></ul></aside></li></ul></section>
  860. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readBigUInt64LE" class="tsd-anchor"></a>
  861. <h3 class="tsd-anchor-link"><span>read<wbr/>BigUInt64LE</span><a href="#readBigUInt64LE" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  862. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  863. <li class="tsd-signature tsd-anchor-link" id="readBigUInt64LE.readBigUInt64LE-1">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><a href="#readBigUInt64LE.readBigUInt64LE-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  864. <li class="tsd-description">
  865. <div class="tsd-comment tsd-typography"><p>Reads an unsigned, little-endian 64-bit integer from <code>buf</code> at the specified<code>offset</code>.</p>
  866. <p>This function is also available under the <code>readBigUint64LE</code> alias.</p>
  867. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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>
  868. </code></pre>
  869. <h3>Since</h3><p>v12.0.0, v10.20.0</p>
  870. </div>
  871. <div class="tsd-parameters">
  872. <h4 class="tsd-parameters-title">Parameters</h4>
  873. <ul class="tsd-parameter-list">
  874. <li>
  875. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5>
  876. <div class="tsd-comment tsd-typography"><p>Number of bytes to skip before starting to read. Must satisfy: <code>0 &lt;= offset &lt;= buf.length - 8</code>.</p>
  877. </div></li></ul></div>
  878. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">bigint</span></h4><aside class="tsd-sources">
  879. <ul>
  880. <li>Defined in node_modules/@types/node/buffer.d.ts:1079</li></ul></aside></li></ul></section>
  881. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readBigUint64BE-2" class="tsd-anchor"></a>
  882. <h3 class="tsd-anchor-link"><span>read<wbr/>Big<wbr/>Uint64BE</span><a href="#readBigUint64BE-2" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  883. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  884. <li class="tsd-signature tsd-anchor-link" id="readBigUint64BE-2.readBigUint64BE-3">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><a href="#readBigUint64BE-2.readBigUint64BE-3" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  885. <li class="tsd-description">
  886. <div class="tsd-comment tsd-typography">
  887. <h3>Alias</h3><p>Buffer.readBigUInt64BE</p>
  888. <h3>Since</h3><p>v14.10.0, v12.19.0</p>
  889. </div>
  890. <div class="tsd-parameters">
  891. <h4 class="tsd-parameters-title">Parameters</h4>
  892. <ul class="tsd-parameter-list">
  893. <li>
  894. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5></li></ul></div>
  895. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">bigint</span></h4><aside class="tsd-sources">
  896. <ul>
  897. <li>Defined in node_modules/@types/node/buffer.d.ts:1062</li></ul></aside></li></ul></section>
  898. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readBigUint64LE-2" class="tsd-anchor"></a>
  899. <h3 class="tsd-anchor-link"><span>read<wbr/>Big<wbr/>Uint64LE</span><a href="#readBigUint64LE-2" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  900. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  901. <li class="tsd-signature tsd-anchor-link" id="readBigUint64LE-2.readBigUint64LE-3">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><a href="#readBigUint64LE-2.readBigUint64LE-3" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  902. <li class="tsd-description">
  903. <div class="tsd-comment tsd-typography">
  904. <h3>Alias</h3><p>Buffer.readBigUInt64LE</p>
  905. <h3>Since</h3><p>v14.10.0, v12.19.0</p>
  906. </div>
  907. <div class="tsd-parameters">
  908. <h4 class="tsd-parameters-title">Parameters</h4>
  909. <ul class="tsd-parameter-list">
  910. <li>
  911. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5></li></ul></div>
  912. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">bigint</span></h4><aside class="tsd-sources">
  913. <ul>
  914. <li>Defined in node_modules/@types/node/buffer.d.ts:1084</li></ul></aside></li></ul></section>
  915. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readDoubleBE" class="tsd-anchor"></a>
  916. <h3 class="tsd-anchor-link"><span>read<wbr/>DoubleBE</span><a href="#readDoubleBE" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  917. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  918. <li class="tsd-signature tsd-anchor-link" id="readDoubleBE.readDoubleBE-1">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><a href="#readDoubleBE.readDoubleBE-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  919. <li class="tsd-description">
  920. <div class="tsd-comment tsd-typography"><p>Reads a 64-bit, big-endian double from <code>buf</code> at the specified <code>offset</code>.</p>
  921. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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>
  922. </code></pre>
  923. <h3>Since</h3><p>v0.11.15</p>
  924. </div>
  925. <div class="tsd-parameters">
  926. <h4 class="tsd-parameters-title">Parameters</h4>
  927. <ul class="tsd-parameter-list">
  928. <li>
  929. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5>
  930. <div class="tsd-comment tsd-typography"><p>Number of bytes to skip before starting to read. Must satisfy <code>0 &lt;= offset &lt;= buf.length - 8</code>.</p>
  931. </div></li></ul></div>
  932. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  933. <ul>
  934. <li>Defined in node_modules/@types/node/buffer.d.ts:1469</li></ul></aside></li></ul></section>
  935. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readDoubleLE" class="tsd-anchor"></a>
  936. <h3 class="tsd-anchor-link"><span>read<wbr/>DoubleLE</span><a href="#readDoubleLE" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  937. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  938. <li class="tsd-signature tsd-anchor-link" id="readDoubleLE.readDoubleLE-1">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><a href="#readDoubleLE.readDoubleLE-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  939. <li class="tsd-description">
  940. <div class="tsd-comment tsd-typography"><p>Reads a 64-bit, little-endian double from <code>buf</code> at the specified <code>offset</code>.</p>
  941. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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>
  942. </code></pre>
  943. <h3>Since</h3><p>v0.11.15</p>
  944. </div>
  945. <div class="tsd-parameters">
  946. <h4 class="tsd-parameters-title">Parameters</h4>
  947. <ul class="tsd-parameter-list">
  948. <li>
  949. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5>
  950. <div class="tsd-comment tsd-typography"><p>Number of bytes to skip before starting to read. Must satisfy <code>0 &lt;= offset &lt;= buf.length - 8</code>.</p>
  951. </div></li></ul></div>
  952. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  953. <ul>
  954. <li>Defined in node_modules/@types/node/buffer.d.ts:1454</li></ul></aside></li></ul></section>
  955. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readFloatBE" class="tsd-anchor"></a>
  956. <h3 class="tsd-anchor-link"><span>read<wbr/>FloatBE</span><a href="#readFloatBE" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  957. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  958. <li class="tsd-signature tsd-anchor-link" id="readFloatBE.readFloatBE-1">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><a href="#readFloatBE.readFloatBE-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  959. <li class="tsd-description">
  960. <div class="tsd-comment tsd-typography"><p>Reads a 32-bit, big-endian float from <code>buf</code> at the specified <code>offset</code>.</p>
  961. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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>
  962. </code></pre>
  963. <h3>Since</h3><p>v0.11.15</p>
  964. </div>
  965. <div class="tsd-parameters">
  966. <h4 class="tsd-parameters-title">Parameters</h4>
  967. <ul class="tsd-parameter-list">
  968. <li>
  969. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5>
  970. <div class="tsd-comment tsd-typography"><p>Number of bytes to skip before starting to read. Must satisfy <code>0 &lt;= offset &lt;= buf.length - 4</code>.</p>
  971. </div></li></ul></div>
  972. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  973. <ul>
  974. <li>Defined in node_modules/@types/node/buffer.d.ts:1437</li></ul></aside></li></ul></section>
  975. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readFloatLE" class="tsd-anchor"></a>
  976. <h3 class="tsd-anchor-link"><span>read<wbr/>FloatLE</span><a href="#readFloatLE" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  977. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  978. <li class="tsd-signature tsd-anchor-link" id="readFloatLE.readFloatLE-1">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><a href="#readFloatLE.readFloatLE-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  979. <li class="tsd-description">
  980. <div class="tsd-comment tsd-typography"><p>Reads a 32-bit, little-endian float from <code>buf</code> at the specified <code>offset</code>.</p>
  981. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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>
  982. </code></pre>
  983. <h3>Since</h3><p>v0.11.15</p>
  984. </div>
  985. <div class="tsd-parameters">
  986. <h4 class="tsd-parameters-title">Parameters</h4>
  987. <ul class="tsd-parameter-list">
  988. <li>
  989. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5>
  990. <div class="tsd-comment tsd-typography"><p>Number of bytes to skip before starting to read. Must satisfy <code>0 &lt;= offset &lt;= buf.length - 4</code>.</p>
  991. </div></li></ul></div>
  992. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  993. <ul>
  994. <li>Defined in node_modules/@types/node/buffer.d.ts:1422</li></ul></aside></li></ul></section>
  995. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readInt16BE" class="tsd-anchor"></a>
  996. <h3 class="tsd-anchor-link"><span>read<wbr/>Int16BE</span><a href="#readInt16BE" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  997. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  998. <li class="tsd-signature tsd-anchor-link" id="readInt16BE.readInt16BE-1">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><a href="#readInt16BE.readInt16BE-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  999. <li class="tsd-description">
  1000. <div class="tsd-comment tsd-typography"><p>Reads a signed, big-endian 16-bit integer from <code>buf</code> at the specified <code>offset</code>.</p>
  1001. <p>Integers read from a <code>Buffer</code> are interpreted as two&#39;s complement signed values.</p>
  1002. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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>
  1003. </code></pre>
  1004. <h3>Since</h3><p>v0.5.5</p>
  1005. </div>
  1006. <div class="tsd-parameters">
  1007. <h4 class="tsd-parameters-title">Parameters</h4>
  1008. <ul class="tsd-parameter-list">
  1009. <li>
  1010. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5>
  1011. <div class="tsd-comment tsd-typography"><p>Number of bytes to skip before starting to read. Must satisfy <code>0 &lt;= offset &lt;= buf.length - 2</code>.</p>
  1012. </div></li></ul></div>
  1013. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  1014. <ul>
  1015. <li>Defined in node_modules/@types/node/buffer.d.ts:1369</li></ul></aside></li></ul></section>
  1016. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readInt16LE" class="tsd-anchor"></a>
  1017. <h3 class="tsd-anchor-link"><span>read<wbr/>Int16LE</span><a href="#readInt16LE" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  1018. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  1019. <li class="tsd-signature tsd-anchor-link" id="readInt16LE.readInt16LE-1">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><a href="#readInt16LE.readInt16LE-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  1020. <li class="tsd-description">
  1021. <div class="tsd-comment tsd-typography"><p>Reads a signed, little-endian 16-bit integer from <code>buf</code> at the specified<code>offset</code>.</p>
  1022. <p>Integers read from a <code>Buffer</code> are interpreted as two&#39;s complement signed values.</p>
  1023. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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>
  1024. </code></pre>
  1025. <h3>Since</h3><p>v0.5.5</p>
  1026. </div>
  1027. <div class="tsd-parameters">
  1028. <h4 class="tsd-parameters-title">Parameters</h4>
  1029. <ul class="tsd-parameter-list">
  1030. <li>
  1031. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5>
  1032. <div class="tsd-comment tsd-typography"><p>Number of bytes to skip before starting to read. Must satisfy <code>0 &lt;= offset &lt;= buf.length - 2</code>.</p>
  1033. </div></li></ul></div>
  1034. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  1035. <ul>
  1036. <li>Defined in node_modules/@types/node/buffer.d.ts:1352</li></ul></aside></li></ul></section>
  1037. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readInt32BE" class="tsd-anchor"></a>
  1038. <h3 class="tsd-anchor-link"><span>read<wbr/>Int32BE</span><a href="#readInt32BE" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  1039. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  1040. <li class="tsd-signature tsd-anchor-link" id="readInt32BE.readInt32BE-1">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><a href="#readInt32BE.readInt32BE-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  1041. <li class="tsd-description">
  1042. <div class="tsd-comment tsd-typography"><p>Reads a signed, big-endian 32-bit integer from <code>buf</code> at the specified <code>offset</code>.</p>
  1043. <p>Integers read from a <code>Buffer</code> are interpreted as two&#39;s complement signed values.</p>
  1044. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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>
  1045. </code></pre>
  1046. <h3>Since</h3><p>v0.5.5</p>
  1047. </div>
  1048. <div class="tsd-parameters">
  1049. <h4 class="tsd-parameters-title">Parameters</h4>
  1050. <ul class="tsd-parameter-list">
  1051. <li>
  1052. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5>
  1053. <div class="tsd-comment tsd-typography"><p>Number of bytes to skip before starting to read. Must satisfy <code>0 &lt;= offset &lt;= buf.length - 4</code>.</p>
  1054. </div></li></ul></div>
  1055. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  1056. <ul>
  1057. <li>Defined in node_modules/@types/node/buffer.d.ts:1405</li></ul></aside></li></ul></section>
  1058. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readInt32LE" class="tsd-anchor"></a>
  1059. <h3 class="tsd-anchor-link"><span>read<wbr/>Int32LE</span><a href="#readInt32LE" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  1060. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  1061. <li class="tsd-signature tsd-anchor-link" id="readInt32LE.readInt32LE-1">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><a href="#readInt32LE.readInt32LE-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  1062. <li class="tsd-description">
  1063. <div class="tsd-comment tsd-typography"><p>Reads a signed, little-endian 32-bit integer from <code>buf</code> at the specified<code>offset</code>.</p>
  1064. <p>Integers read from a <code>Buffer</code> are interpreted as two&#39;s complement signed values.</p>
  1065. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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>
  1066. </code></pre>
  1067. <h3>Since</h3><p>v0.5.5</p>
  1068. </div>
  1069. <div class="tsd-parameters">
  1070. <h4 class="tsd-parameters-title">Parameters</h4>
  1071. <ul class="tsd-parameter-list">
  1072. <li>
  1073. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5>
  1074. <div class="tsd-comment tsd-typography"><p>Number of bytes to skip before starting to read. Must satisfy <code>0 &lt;= offset &lt;= buf.length - 4</code>.</p>
  1075. </div></li></ul></div>
  1076. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  1077. <ul>
  1078. <li>Defined in node_modules/@types/node/buffer.d.ts:1388</li></ul></aside></li></ul></section>
  1079. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readInt8" class="tsd-anchor"></a>
  1080. <h3 class="tsd-anchor-link"><span>read<wbr/>Int8</span><a href="#readInt8" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  1081. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  1082. <li class="tsd-signature tsd-anchor-link" id="readInt8.readInt8-1">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><a href="#readInt8.readInt8-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  1083. <li class="tsd-description">
  1084. <div class="tsd-comment tsd-typography"><p>Reads a signed 8-bit integer from <code>buf</code> at the specified <code>offset</code>.</p>
  1085. <p>Integers read from a <code>Buffer</code> are interpreted as two&#39;s complement signed values.</p>
  1086. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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>
  1087. </code></pre>
  1088. <h3>Since</h3><p>v0.5.0</p>
  1089. </div>
  1090. <div class="tsd-parameters">
  1091. <h4 class="tsd-parameters-title">Parameters</h4>
  1092. <ul class="tsd-parameter-list">
  1093. <li>
  1094. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5>
  1095. <div class="tsd-comment tsd-typography"><p>Number of bytes to skip before starting to read. Must satisfy <code>0 &lt;= offset &lt;= buf.length - 1</code>.</p>
  1096. </div></li></ul></div>
  1097. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  1098. <ul>
  1099. <li>Defined in node_modules/@types/node/buffer.d.ts:1333</li></ul></aside></li></ul></section>
  1100. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readIntBE" class="tsd-anchor"></a>
  1101. <h3 class="tsd-anchor-link"><span>read<wbr/>IntBE</span><a href="#readIntBE" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  1102. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  1103. <li class="tsd-signature tsd-anchor-link" id="readIntBE.readIntBE-1">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><a href="#readIntBE.readIntBE-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  1104. <li class="tsd-description">
  1105. <div class="tsd-comment tsd-typography"><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&#39;s complement signed value
  1106. supporting up to 48 bits of accuracy.</p>
  1107. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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>
  1108. </code></pre>
  1109. <h3>Since</h3><p>v0.11.15</p>
  1110. </div>
  1111. <div class="tsd-parameters">
  1112. <h4 class="tsd-parameters-title">Parameters</h4>
  1113. <ul class="tsd-parameter-list">
  1114. <li>
  1115. <h5>offset: <span class="tsd-signature-type">number</span></h5>
  1116. <div class="tsd-comment tsd-typography"><p>Number of bytes to skip before starting to read. Must satisfy <code>0 &lt;= offset &lt;= buf.length - byteLength</code>.</p>
  1117. </div></li>
  1118. <li>
  1119. <h5>byteLength: <span class="tsd-signature-type">number</span></h5>
  1120. <div class="tsd-comment tsd-typography"><p>Number of bytes to read. Must satisfy <code>0 &lt; byteLength &lt;= 6</code>.</p>
  1121. </div></li></ul></div>
  1122. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  1123. <ul>
  1124. <li>Defined in node_modules/@types/node/buffer.d.ts:1190</li></ul></aside></li></ul></section>
  1125. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readIntLE" class="tsd-anchor"></a>
  1126. <h3 class="tsd-anchor-link"><span>read<wbr/>IntLE</span><a href="#readIntLE" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  1127. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  1128. <li class="tsd-signature tsd-anchor-link" id="readIntLE.readIntLE-1">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><a href="#readIntLE.readIntLE-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  1129. <li class="tsd-description">
  1130. <div class="tsd-comment tsd-typography"><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&#39;s complement signed value
  1131. supporting up to 48 bits of accuracy.</p>
  1132. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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>
  1133. </code></pre>
  1134. <h3>Since</h3><p>v0.11.15</p>
  1135. </div>
  1136. <div class="tsd-parameters">
  1137. <h4 class="tsd-parameters-title">Parameters</h4>
  1138. <ul class="tsd-parameter-list">
  1139. <li>
  1140. <h5>offset: <span class="tsd-signature-type">number</span></h5>
  1141. <div class="tsd-comment tsd-typography"><p>Number of bytes to skip before starting to read. Must satisfy <code>0 &lt;= offset &lt;= buf.length - byteLength</code>.</p>
  1142. </div></li>
  1143. <li>
  1144. <h5>byteLength: <span class="tsd-signature-type">number</span></h5>
  1145. <div class="tsd-comment tsd-typography"><p>Number of bytes to read. Must satisfy <code>0 &lt; byteLength &lt;= 6</code>.</p>
  1146. </div></li></ul></div>
  1147. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  1148. <ul>
  1149. <li>Defined in node_modules/@types/node/buffer.d.ts:1169</li></ul></aside></li></ul></section>
  1150. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readUInt16BE" class="tsd-anchor"></a>
  1151. <h3 class="tsd-anchor-link"><span>readUInt16BE</span><a href="#readUInt16BE" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  1152. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  1153. <li class="tsd-signature tsd-anchor-link" id="readUInt16BE.readUInt16BE-1">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><a href="#readUInt16BE.readUInt16BE-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  1154. <li class="tsd-description">
  1155. <div class="tsd-comment tsd-typography"><p>Reads an unsigned, big-endian 16-bit integer from <code>buf</code> at the specified<code>offset</code>.</p>
  1156. <p>This function is also available under the <code>readUint16BE</code> alias.</p>
  1157. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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>
  1158. </code></pre>
  1159. <h3>Since</h3><p>v0.5.5</p>
  1160. </div>
  1161. <div class="tsd-parameters">
  1162. <h4 class="tsd-parameters-title">Parameters</h4>
  1163. <ul class="tsd-parameter-list">
  1164. <li>
  1165. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5>
  1166. <div class="tsd-comment tsd-typography"><p>Number of bytes to skip before starting to read. Must satisfy <code>0 &lt;= offset &lt;= buf.length - 2</code>.</p>
  1167. </div></li></ul></div>
  1168. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  1169. <ul>
  1170. <li>Defined in node_modules/@types/node/buffer.d.ts:1261</li></ul></aside></li></ul></section>
  1171. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readUInt16LE" class="tsd-anchor"></a>
  1172. <h3 class="tsd-anchor-link"><span>readUInt16LE</span><a href="#readUInt16LE" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  1173. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  1174. <li class="tsd-signature tsd-anchor-link" id="readUInt16LE.readUInt16LE-1">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><a href="#readUInt16LE.readUInt16LE-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  1175. <li class="tsd-description">
  1176. <div class="tsd-comment tsd-typography"><p>Reads an unsigned, little-endian 16-bit integer from <code>buf</code> at the specified<code>offset</code>.</p>
  1177. <p>This function is also available under the <code>readUint16LE</code> alias.</p>
  1178. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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>
  1179. </code></pre>
  1180. <h3>Since</h3><p>v0.5.5</p>
  1181. </div>
  1182. <div class="tsd-parameters">
  1183. <h4 class="tsd-parameters-title">Parameters</h4>
  1184. <ul class="tsd-parameter-list">
  1185. <li>
  1186. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5>
  1187. <div class="tsd-comment tsd-typography"><p>Number of bytes to skip before starting to read. Must satisfy <code>0 &lt;= offset &lt;= buf.length - 2</code>.</p>
  1188. </div></li></ul></div>
  1189. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  1190. <ul>
  1191. <li>Defined in node_modules/@types/node/buffer.d.ts:1237</li></ul></aside></li></ul></section>
  1192. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readUInt32BE" class="tsd-anchor"></a>
  1193. <h3 class="tsd-anchor-link"><span>readUInt32BE</span><a href="#readUInt32BE" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  1194. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  1195. <li class="tsd-signature tsd-anchor-link" id="readUInt32BE.readUInt32BE-1">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><a href="#readUInt32BE.readUInt32BE-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  1196. <li class="tsd-description">
  1197. <div class="tsd-comment tsd-typography"><p>Reads an unsigned, big-endian 32-bit integer from <code>buf</code> at the specified<code>offset</code>.</p>
  1198. <p>This function is also available under the <code>readUint32BE</code> alias.</p>
  1199. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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>
  1200. </code></pre>
  1201. <h3>Since</h3><p>v0.5.5</p>
  1202. </div>
  1203. <div class="tsd-parameters">
  1204. <h4 class="tsd-parameters-title">Parameters</h4>
  1205. <ul class="tsd-parameter-list">
  1206. <li>
  1207. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5>
  1208. <div class="tsd-comment tsd-typography"><p>Number of bytes to skip before starting to read. Must satisfy <code>0 &lt;= offset &lt;= buf.length - 4</code>.</p>
  1209. </div></li></ul></div>
  1210. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  1211. <ul>
  1212. <li>Defined in node_modules/@types/node/buffer.d.ts:1307</li></ul></aside></li></ul></section>
  1213. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readUInt32LE" class="tsd-anchor"></a>
  1214. <h3 class="tsd-anchor-link"><span>readUInt32LE</span><a href="#readUInt32LE" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  1215. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  1216. <li class="tsd-signature tsd-anchor-link" id="readUInt32LE.readUInt32LE-1">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><a href="#readUInt32LE.readUInt32LE-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  1217. <li class="tsd-description">
  1218. <div class="tsd-comment tsd-typography"><p>Reads an unsigned, little-endian 32-bit integer from <code>buf</code> at the specified<code>offset</code>.</p>
  1219. <p>This function is also available under the <code>readUint32LE</code> alias.</p>
  1220. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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>
  1221. </code></pre>
  1222. <h3>Since</h3><p>v0.5.5</p>
  1223. </div>
  1224. <div class="tsd-parameters">
  1225. <h4 class="tsd-parameters-title">Parameters</h4>
  1226. <ul class="tsd-parameter-list">
  1227. <li>
  1228. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5>
  1229. <div class="tsd-comment tsd-typography"><p>Number of bytes to skip before starting to read. Must satisfy <code>0 &lt;= offset &lt;= buf.length - 4</code>.</p>
  1230. </div></li></ul></div>
  1231. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  1232. <ul>
  1233. <li>Defined in node_modules/@types/node/buffer.d.ts:1285</li></ul></aside></li></ul></section>
  1234. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readUInt8" class="tsd-anchor"></a>
  1235. <h3 class="tsd-anchor-link"><span>readUInt8</span><a href="#readUInt8" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  1236. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  1237. <li class="tsd-signature tsd-anchor-link" id="readUInt8.readUInt8-1">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><a href="#readUInt8.readUInt8-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  1238. <li class="tsd-description">
  1239. <div class="tsd-comment tsd-typography"><p>Reads an unsigned 8-bit integer from <code>buf</code> at the specified <code>offset</code>.</p>
  1240. <p>This function is also available under the <code>readUint8</code> alias.</p>
  1241. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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>
  1242. </code></pre>
  1243. <h3>Since</h3><p>v0.5.0</p>
  1244. </div>
  1245. <div class="tsd-parameters">
  1246. <h4 class="tsd-parameters-title">Parameters</h4>
  1247. <ul class="tsd-parameter-list">
  1248. <li>
  1249. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5>
  1250. <div class="tsd-comment tsd-typography"><p>Number of bytes to skip before starting to read. Must satisfy <code>0 &lt;= offset &lt;= buf.length - 1</code>.</p>
  1251. </div></li></ul></div>
  1252. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  1253. <ul>
  1254. <li>Defined in node_modules/@types/node/buffer.d.ts:1211</li></ul></aside></li></ul></section>
  1255. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readUIntBE" class="tsd-anchor"></a>
  1256. <h3 class="tsd-anchor-link"><span>readUIntBE</span><a href="#readUIntBE" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  1257. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  1258. <li class="tsd-signature tsd-anchor-link" id="readUIntBE.readUIntBE-1">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><a href="#readUIntBE.readUIntBE-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  1259. <li class="tsd-description">
  1260. <div class="tsd-comment tsd-typography"><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
  1261. up to 48 bits of accuracy.</p>
  1262. <p>This function is also available under the <code>readUintBE</code> alias.</p>
  1263. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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>
  1264. </code></pre>
  1265. <h3>Since</h3><p>v0.11.15</p>
  1266. </div>
  1267. <div class="tsd-parameters">
  1268. <h4 class="tsd-parameters-title">Parameters</h4>
  1269. <ul class="tsd-parameter-list">
  1270. <li>
  1271. <h5>offset: <span class="tsd-signature-type">number</span></h5>
  1272. <div class="tsd-comment tsd-typography"><p>Number of bytes to skip before starting to read. Must satisfy <code>0 &lt;= offset &lt;= buf.length - byteLength</code>.</p>
  1273. </div></li>
  1274. <li>
  1275. <h5>byteLength: <span class="tsd-signature-type">number</span></h5>
  1276. <div class="tsd-comment tsd-typography"><p>Number of bytes to read. Must satisfy <code>0 &lt; byteLength &lt;= 6</code>.</p>
  1277. </div></li></ul></div>
  1278. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  1279. <ul>
  1280. <li>Defined in node_modules/@types/node/buffer.d.ts:1147</li></ul></aside></li></ul></section>
  1281. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readUIntLE" class="tsd-anchor"></a>
  1282. <h3 class="tsd-anchor-link"><span>readUIntLE</span><a href="#readUIntLE" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  1283. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  1284. <li class="tsd-signature tsd-anchor-link" id="readUIntLE.readUIntLE-1">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><a href="#readUIntLE.readUIntLE-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  1285. <li class="tsd-description">
  1286. <div class="tsd-comment tsd-typography"><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
  1287. up to 48 bits of accuracy.</p>
  1288. <p>This function is also available under the <code>readUintLE</code> alias.</p>
  1289. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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>
  1290. </code></pre>
  1291. <h3>Since</h3><p>v0.11.15</p>
  1292. </div>
  1293. <div class="tsd-parameters">
  1294. <h4 class="tsd-parameters-title">Parameters</h4>
  1295. <ul class="tsd-parameter-list">
  1296. <li>
  1297. <h5>offset: <span class="tsd-signature-type">number</span></h5>
  1298. <div class="tsd-comment tsd-typography"><p>Number of bytes to skip before starting to read. Must satisfy <code>0 &lt;= offset &lt;= buf.length - byteLength</code>.</p>
  1299. </div></li>
  1300. <li>
  1301. <h5>byteLength: <span class="tsd-signature-type">number</span></h5>
  1302. <div class="tsd-comment tsd-typography"><p>Number of bytes to read. Must satisfy <code>0 &lt; byteLength &lt;= 6</code>.</p>
  1303. </div></li></ul></div>
  1304. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  1305. <ul>
  1306. <li>Defined in node_modules/@types/node/buffer.d.ts:1121</li></ul></aside></li></ul></section>
  1307. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readUint16BE-2" class="tsd-anchor"></a>
  1308. <h3 class="tsd-anchor-link"><span>read<wbr/>Uint16BE</span><a href="#readUint16BE-2" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  1309. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  1310. <li class="tsd-signature tsd-anchor-link" id="readUint16BE-2.readUint16BE-3">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><a href="#readUint16BE-2.readUint16BE-3" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  1311. <li class="tsd-description">
  1312. <div class="tsd-comment tsd-typography">
  1313. <h3>Alias</h3><p>Buffer.readUInt16BE</p>
  1314. <h3>Since</h3><p>v14.9.0, v12.19.0</p>
  1315. </div>
  1316. <div class="tsd-parameters">
  1317. <h4 class="tsd-parameters-title">Parameters</h4>
  1318. <ul class="tsd-parameter-list">
  1319. <li>
  1320. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5></li></ul></div>
  1321. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  1322. <ul>
  1323. <li>Defined in node_modules/@types/node/buffer.d.ts:1266</li></ul></aside></li></ul></section>
  1324. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readUint16LE-2" class="tsd-anchor"></a>
  1325. <h3 class="tsd-anchor-link"><span>read<wbr/>Uint16LE</span><a href="#readUint16LE-2" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  1326. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  1327. <li class="tsd-signature tsd-anchor-link" id="readUint16LE-2.readUint16LE-3">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><a href="#readUint16LE-2.readUint16LE-3" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  1328. <li class="tsd-description">
  1329. <div class="tsd-comment tsd-typography">
  1330. <h3>Alias</h3><p>Buffer.readUInt16LE</p>
  1331. <h3>Since</h3><p>v14.9.0, v12.19.0</p>
  1332. </div>
  1333. <div class="tsd-parameters">
  1334. <h4 class="tsd-parameters-title">Parameters</h4>
  1335. <ul class="tsd-parameter-list">
  1336. <li>
  1337. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5></li></ul></div>
  1338. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  1339. <ul>
  1340. <li>Defined in node_modules/@types/node/buffer.d.ts:1242</li></ul></aside></li></ul></section>
  1341. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readUint32BE-2" class="tsd-anchor"></a>
  1342. <h3 class="tsd-anchor-link"><span>read<wbr/>Uint32BE</span><a href="#readUint32BE-2" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  1343. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  1344. <li class="tsd-signature tsd-anchor-link" id="readUint32BE-2.readUint32BE-3">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><a href="#readUint32BE-2.readUint32BE-3" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  1345. <li class="tsd-description">
  1346. <div class="tsd-comment tsd-typography">
  1347. <h3>Alias</h3><p>Buffer.readUInt32BE</p>
  1348. <h3>Since</h3><p>v14.9.0, v12.19.0</p>
  1349. </div>
  1350. <div class="tsd-parameters">
  1351. <h4 class="tsd-parameters-title">Parameters</h4>
  1352. <ul class="tsd-parameter-list">
  1353. <li>
  1354. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5></li></ul></div>
  1355. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  1356. <ul>
  1357. <li>Defined in node_modules/@types/node/buffer.d.ts:1312</li></ul></aside></li></ul></section>
  1358. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readUint32LE-2" class="tsd-anchor"></a>
  1359. <h3 class="tsd-anchor-link"><span>read<wbr/>Uint32LE</span><a href="#readUint32LE-2" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  1360. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  1361. <li class="tsd-signature tsd-anchor-link" id="readUint32LE-2.readUint32LE-3">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><a href="#readUint32LE-2.readUint32LE-3" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  1362. <li class="tsd-description">
  1363. <div class="tsd-comment tsd-typography">
  1364. <h3>Alias</h3><p>Buffer.readUInt32LE</p>
  1365. <h3>Since</h3><p>v14.9.0, v12.19.0</p>
  1366. </div>
  1367. <div class="tsd-parameters">
  1368. <h4 class="tsd-parameters-title">Parameters</h4>
  1369. <ul class="tsd-parameter-list">
  1370. <li>
  1371. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5></li></ul></div>
  1372. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  1373. <ul>
  1374. <li>Defined in node_modules/@types/node/buffer.d.ts:1290</li></ul></aside></li></ul></section>
  1375. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readUint8-2" class="tsd-anchor"></a>
  1376. <h3 class="tsd-anchor-link"><span>read<wbr/>Uint8</span><a href="#readUint8-2" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  1377. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  1378. <li class="tsd-signature tsd-anchor-link" id="readUint8-2.readUint8-3">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><a href="#readUint8-2.readUint8-3" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  1379. <li class="tsd-description">
  1380. <div class="tsd-comment tsd-typography">
  1381. <h3>Alias</h3><p>Buffer.readUInt8</p>
  1382. <h3>Since</h3><p>v14.9.0, v12.19.0</p>
  1383. </div>
  1384. <div class="tsd-parameters">
  1385. <h4 class="tsd-parameters-title">Parameters</h4>
  1386. <ul class="tsd-parameter-list">
  1387. <li>
  1388. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5></li></ul></div>
  1389. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  1390. <ul>
  1391. <li>Defined in node_modules/@types/node/buffer.d.ts:1216</li></ul></aside></li></ul></section>
  1392. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readUintBE-2" class="tsd-anchor"></a>
  1393. <h3 class="tsd-anchor-link"><span>read<wbr/>UintBE</span><a href="#readUintBE-2" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  1394. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  1395. <li class="tsd-signature tsd-anchor-link" id="readUintBE-2.readUintBE-3">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><a href="#readUintBE-2.readUintBE-3" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  1396. <li class="tsd-description">
  1397. <div class="tsd-comment tsd-typography">
  1398. <h3>Alias</h3><p>Buffer.readUIntBE</p>
  1399. <h3>Since</h3><p>v14.9.0, v12.19.0</p>
  1400. </div>
  1401. <div class="tsd-parameters">
  1402. <h4 class="tsd-parameters-title">Parameters</h4>
  1403. <ul class="tsd-parameter-list">
  1404. <li>
  1405. <h5>offset: <span class="tsd-signature-type">number</span></h5></li>
  1406. <li>
  1407. <h5>byteLength: <span class="tsd-signature-type">number</span></h5></li></ul></div>
  1408. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  1409. <ul>
  1410. <li>Defined in node_modules/@types/node/buffer.d.ts:1152</li></ul></aside></li></ul></section>
  1411. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="readUintLE-2" class="tsd-anchor"></a>
  1412. <h3 class="tsd-anchor-link"><span>read<wbr/>UintLE</span><a href="#readUintLE-2" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  1413. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  1414. <li class="tsd-signature tsd-anchor-link" id="readUintLE-2.readUintLE-3">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><a href="#readUintLE-2.readUintLE-3" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  1415. <li class="tsd-description">
  1416. <div class="tsd-comment tsd-typography">
  1417. <h3>Alias</h3><p>Buffer.readUIntLE</p>
  1418. <h3>Since</h3><p>v14.9.0, v12.19.0</p>
  1419. </div>
  1420. <div class="tsd-parameters">
  1421. <h4 class="tsd-parameters-title">Parameters</h4>
  1422. <ul class="tsd-parameter-list">
  1423. <li>
  1424. <h5>offset: <span class="tsd-signature-type">number</span></h5></li>
  1425. <li>
  1426. <h5>byteLength: <span class="tsd-signature-type">number</span></h5></li></ul></div>
  1427. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  1428. <ul>
  1429. <li>Defined in node_modules/@types/node/buffer.d.ts:1126</li></ul></aside></li></ul></section>
  1430. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a id="reduce" class="tsd-anchor"></a>
  1431. <h3 class="tsd-anchor-link"><span>reduce</span><a href="#reduce" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  1432. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external">
  1433. <li class="tsd-signature tsd-anchor-link" id="reduce.reduce-1">reduce<span class="tsd-signature-symbol">(</span>callbackfn<span class="tsd-signature-symbol">: </span><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"> =&gt; </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#reduce.reduce-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  1434. <li class="tsd-description">
  1435. <div class="tsd-comment tsd-typography"><p>Calls the specified callback function for all the elements in an array. The return value of
  1436. the callback function is the accumulated result, and is provided as an argument in the next
  1437. call to the callback function.</p>
  1438. </div>
  1439. <div class="tsd-parameters">
  1440. <h4 class="tsd-parameters-title">Parameters</h4>
  1441. <ul class="tsd-parameter-list">
  1442. <li>
  1443. <h5>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"> =&gt; </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span></h5>
  1444. <div class="tsd-comment tsd-typography"><p>A function that accepts up to four arguments. The reduce method calls the
  1445. callbackfn function one time for each element in the array.</p>
  1446. </div>
  1447. <ul class="tsd-parameters">
  1448. <li class="tsd-parameter-signature">
  1449. <ul class="tsd-signatures tsd-kind-type-literal tsd-is-external">
  1450. <li class="tsd-signature"><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>
  1451. <li class="tsd-description">
  1452. <div class="tsd-parameters">
  1453. <h4 class="tsd-parameters-title">Parameters</h4>
  1454. <ul class="tsd-parameter-list">
  1455. <li>
  1456. <h5>previousValue: <span class="tsd-signature-type">number</span></h5></li>
  1457. <li>
  1458. <h5>currentValue: <span class="tsd-signature-type">number</span></h5></li>
  1459. <li>
  1460. <h5>currentIndex: <span class="tsd-signature-type">number</span></h5></li>
  1461. <li>
  1462. <h5>array: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
  1463. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></li></ul></li></ul></div>
  1464. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  1465. <p>Inherited from Uint8Array.reduce</p>
  1466. <ul>
  1467. <li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2244</li></ul></aside></li>
  1468. <li class="tsd-signature tsd-anchor-link" id="reduce.reduce-2">reduce<span class="tsd-signature-symbol">(</span>callbackfn<span class="tsd-signature-symbol">: </span><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"> =&gt; </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</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><a href="#reduce.reduce-2" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  1469. <li class="tsd-description">
  1470. <div class="tsd-parameters">
  1471. <h4 class="tsd-parameters-title">Parameters</h4>
  1472. <ul class="tsd-parameter-list">
  1473. <li>
  1474. <h5>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"> =&gt; </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span></h5>
  1475. <ul class="tsd-parameters">
  1476. <li class="tsd-parameter-signature">
  1477. <ul class="tsd-signatures tsd-kind-type-literal tsd-is-external">
  1478. <li class="tsd-signature"><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>
  1479. <li class="tsd-description">
  1480. <div class="tsd-parameters">
  1481. <h4 class="tsd-parameters-title">Parameters</h4>
  1482. <ul class="tsd-parameter-list">
  1483. <li>
  1484. <h5>previousValue: <span class="tsd-signature-type">number</span></h5></li>
  1485. <li>
  1486. <h5>currentValue: <span class="tsd-signature-type">number</span></h5></li>
  1487. <li>
  1488. <h5>currentIndex: <span class="tsd-signature-type">number</span></h5></li>
  1489. <li>
  1490. <h5>array: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
  1491. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></li></ul></li>
  1492. <li>
  1493. <h5>initialValue: <span class="tsd-signature-type">number</span></h5></li></ul></div>
  1494. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  1495. <p>Inherited from Uint8Array.reduce</p>
  1496. <ul>
  1497. <li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2245</li></ul></aside></li>
  1498. <li class="tsd-signature tsd-anchor-link" id="reduce.reduce-3">reduce<span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">U</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span>callbackfn<span class="tsd-signature-symbol">: </span><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"> =&gt; </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">U</span><span class="tsd-signature-symbol">)</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><a href="#reduce.reduce-3" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  1499. <li class="tsd-description">
  1500. <div class="tsd-comment tsd-typography"><p>Calls the specified callback function for all the elements in an array. The return value of
  1501. the callback function is the accumulated result, and is provided as an argument in the next
  1502. call to the callback function.</p>
  1503. </div>
  1504. <div class="tsd-type-parameters">
  1505. <h4 class="tsd-type-parameters-title">Type Parameters</h4>
  1506. <ul class="tsd-type-parameters">
  1507. <li>
  1508. <h4>U</h4></li></ul></div>
  1509. <div class="tsd-parameters">
  1510. <h4 class="tsd-parameters-title">Parameters</h4>
  1511. <ul class="tsd-parameter-list">
  1512. <li>
  1513. <h5>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"> =&gt; </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">U</span><span class="tsd-signature-symbol">)</span></h5>
  1514. <div class="tsd-comment tsd-typography"><p>A function that accepts up to four arguments. The reduce method calls the
  1515. callbackfn function one time for each element in the array.</p>
  1516. </div>
  1517. <ul class="tsd-parameters">
  1518. <li class="tsd-parameter-signature">
  1519. <ul class="tsd-signatures tsd-kind-type-literal tsd-is-external">
  1520. <li class="tsd-signature"><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>
  1521. <li class="tsd-description">
  1522. <div class="tsd-parameters">
  1523. <h4 class="tsd-parameters-title">Parameters</h4>
  1524. <ul class="tsd-parameter-list">
  1525. <li>
  1526. <h5>previousValue: <span class="tsd-signature-type" data-tsd-kind="Type parameter">U</span></h5></li>
  1527. <li>
  1528. <h5>currentValue: <span class="tsd-signature-type">number</span></h5></li>
  1529. <li>
  1530. <h5>currentIndex: <span class="tsd-signature-type">number</span></h5></li>
  1531. <li>
  1532. <h5>array: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
  1533. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type" data-tsd-kind="Type parameter">U</span></h4></li></ul></li></ul></li>
  1534. <li>
  1535. <h5>initialValue: <span class="tsd-signature-type" data-tsd-kind="Type parameter">U</span></h5>
  1536. <div class="tsd-comment tsd-typography"><p>If initialValue is specified, it is used as the initial value to start
  1537. the accumulation. The first call to the callbackfn function provides this value as an argument
  1538. instead of an array value.</p>
  1539. </div></li></ul></div>
  1540. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type" data-tsd-kind="Type parameter">U</span></h4><aside class="tsd-sources">
  1541. <p>Inherited from Uint8Array.reduce</p>
  1542. <ul>
  1543. <li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2257</li></ul></aside></li></ul></section>
  1544. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a id="reduceRight" class="tsd-anchor"></a>
  1545. <h3 class="tsd-anchor-link"><span>reduce<wbr/>Right</span><a href="#reduceRight" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  1546. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external">
  1547. <li class="tsd-signature tsd-anchor-link" id="reduceRight.reduceRight-1">reduce<wbr/>Right<span class="tsd-signature-symbol">(</span>callbackfn<span class="tsd-signature-symbol">: </span><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"> =&gt; </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#reduceRight.reduceRight-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  1548. <li class="tsd-description">
  1549. <div class="tsd-comment tsd-typography"><p>Calls the specified callback function for all the elements in an array, in descending order.
  1550. The return value of the callback function is the accumulated result, and is provided as an
  1551. argument in the next call to the callback function.</p>
  1552. </div>
  1553. <div class="tsd-parameters">
  1554. <h4 class="tsd-parameters-title">Parameters</h4>
  1555. <ul class="tsd-parameter-list">
  1556. <li>
  1557. <h5>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"> =&gt; </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span></h5>
  1558. <div class="tsd-comment tsd-typography"><p>A function that accepts up to four arguments. The reduceRight method calls
  1559. the callbackfn function one time for each element in the array.</p>
  1560. </div>
  1561. <ul class="tsd-parameters">
  1562. <li class="tsd-parameter-signature">
  1563. <ul class="tsd-signatures tsd-kind-type-literal tsd-is-external">
  1564. <li class="tsd-signature"><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>
  1565. <li class="tsd-description">
  1566. <div class="tsd-parameters">
  1567. <h4 class="tsd-parameters-title">Parameters</h4>
  1568. <ul class="tsd-parameter-list">
  1569. <li>
  1570. <h5>previousValue: <span class="tsd-signature-type">number</span></h5></li>
  1571. <li>
  1572. <h5>currentValue: <span class="tsd-signature-type">number</span></h5></li>
  1573. <li>
  1574. <h5>currentIndex: <span class="tsd-signature-type">number</span></h5></li>
  1575. <li>
  1576. <h5>array: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
  1577. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></li></ul></li></ul></div>
  1578. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  1579. <p>Inherited from Uint8Array.reduceRight</p>
  1580. <ul>
  1581. <li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2269</li></ul></aside></li>
  1582. <li class="tsd-signature tsd-anchor-link" id="reduceRight.reduceRight-2">reduce<wbr/>Right<span class="tsd-signature-symbol">(</span>callbackfn<span class="tsd-signature-symbol">: </span><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"> =&gt; </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</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><a href="#reduceRight.reduceRight-2" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  1583. <li class="tsd-description">
  1584. <div class="tsd-parameters">
  1585. <h4 class="tsd-parameters-title">Parameters</h4>
  1586. <ul class="tsd-parameter-list">
  1587. <li>
  1588. <h5>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"> =&gt; </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span></h5>
  1589. <ul class="tsd-parameters">
  1590. <li class="tsd-parameter-signature">
  1591. <ul class="tsd-signatures tsd-kind-type-literal tsd-is-external">
  1592. <li class="tsd-signature"><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>
  1593. <li class="tsd-description">
  1594. <div class="tsd-parameters">
  1595. <h4 class="tsd-parameters-title">Parameters</h4>
  1596. <ul class="tsd-parameter-list">
  1597. <li>
  1598. <h5>previousValue: <span class="tsd-signature-type">number</span></h5></li>
  1599. <li>
  1600. <h5>currentValue: <span class="tsd-signature-type">number</span></h5></li>
  1601. <li>
  1602. <h5>currentIndex: <span class="tsd-signature-type">number</span></h5></li>
  1603. <li>
  1604. <h5>array: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
  1605. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></li></ul></li>
  1606. <li>
  1607. <h5>initialValue: <span class="tsd-signature-type">number</span></h5></li></ul></div>
  1608. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  1609. <p>Inherited from Uint8Array.reduceRight</p>
  1610. <ul>
  1611. <li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2270</li></ul></aside></li>
  1612. <li class="tsd-signature tsd-anchor-link" id="reduceRight.reduceRight-3">reduce<wbr/>Right<span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">U</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span>callbackfn<span class="tsd-signature-symbol">: </span><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"> =&gt; </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">U</span><span class="tsd-signature-symbol">)</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><a href="#reduceRight.reduceRight-3" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  1613. <li class="tsd-description">
  1614. <div class="tsd-comment tsd-typography"><p>Calls the specified callback function for all the elements in an array, in descending order.
  1615. The return value of the callback function is the accumulated result, and is provided as an
  1616. argument in the next call to the callback function.</p>
  1617. </div>
  1618. <div class="tsd-type-parameters">
  1619. <h4 class="tsd-type-parameters-title">Type Parameters</h4>
  1620. <ul class="tsd-type-parameters">
  1621. <li>
  1622. <h4>U</h4></li></ul></div>
  1623. <div class="tsd-parameters">
  1624. <h4 class="tsd-parameters-title">Parameters</h4>
  1625. <ul class="tsd-parameter-list">
  1626. <li>
  1627. <h5>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"> =&gt; </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">U</span><span class="tsd-signature-symbol">)</span></h5>
  1628. <div class="tsd-comment tsd-typography"><p>A function that accepts up to four arguments. The reduceRight method calls
  1629. the callbackfn function one time for each element in the array.</p>
  1630. </div>
  1631. <ul class="tsd-parameters">
  1632. <li class="tsd-parameter-signature">
  1633. <ul class="tsd-signatures tsd-kind-type-literal tsd-is-external">
  1634. <li class="tsd-signature"><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>
  1635. <li class="tsd-description">
  1636. <div class="tsd-parameters">
  1637. <h4 class="tsd-parameters-title">Parameters</h4>
  1638. <ul class="tsd-parameter-list">
  1639. <li>
  1640. <h5>previousValue: <span class="tsd-signature-type" data-tsd-kind="Type parameter">U</span></h5></li>
  1641. <li>
  1642. <h5>currentValue: <span class="tsd-signature-type">number</span></h5></li>
  1643. <li>
  1644. <h5>currentIndex: <span class="tsd-signature-type">number</span></h5></li>
  1645. <li>
  1646. <h5>array: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
  1647. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type" data-tsd-kind="Type parameter">U</span></h4></li></ul></li></ul></li>
  1648. <li>
  1649. <h5>initialValue: <span class="tsd-signature-type" data-tsd-kind="Type parameter">U</span></h5>
  1650. <div class="tsd-comment tsd-typography"><p>If initialValue is specified, it is used as the initial value to start
  1651. the accumulation. The first call to the callbackfn function provides this value as an argument
  1652. instead of an array value.</p>
  1653. </div></li></ul></div>
  1654. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type" data-tsd-kind="Type parameter">U</span></h4><aside class="tsd-sources">
  1655. <p>Inherited from Uint8Array.reduceRight</p>
  1656. <ul>
  1657. <li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2282</li></ul></aside></li></ul></section>
  1658. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="reverse" class="tsd-anchor"></a>
  1659. <h3 class="tsd-anchor-link"><span>reverse</span><a href="#reverse" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  1660. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  1661. <li class="tsd-signature tsd-anchor-link" id="reverse.reverse-1">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">&lt;internal&gt;</a><span class="tsd-signature-symbol">.</span><a href="../variables/RcsbFv3DAssembly._internal_.Buffer-2.html" class="tsd-signature-type" data-tsd-kind="Variable">Buffer</a><a href="#reverse.reverse-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  1662. <li class="tsd-description">
  1663. <h4 class="tsd-returns-title">Returns <a href="../modules/RcsbFv3DAssembly._internal_.html" class="tsd-signature-type" data-tsd-kind="Namespace">&lt;internal&gt;</a><span class="tsd-signature-symbol">.</span><a href="../variables/RcsbFv3DAssembly._internal_.Buffer-2.html" class="tsd-signature-type" data-tsd-kind="Variable">Buffer</a></h4><aside class="tsd-sources">
  1664. <p>Overrides Uint8Array.reverse</p>
  1665. <ul>
  1666. <li>Defined in node_modules/@types/node/buffer.d.ts:1470</li></ul></aside></li></ul></section>
  1667. <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>
  1668. <h3 class="tsd-anchor-link"><span>set</span><a href="#set" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  1669. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external">
  1670. <li class="tsd-signature tsd-anchor-link" id="set.set-1">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">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</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><a href="#set.set-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  1671. <li class="tsd-description">
  1672. <div class="tsd-comment tsd-typography"><p>Sets a value or an array of values.</p>
  1673. </div>
  1674. <div class="tsd-parameters">
  1675. <h4 class="tsd-parameters-title">Parameters</h4>
  1676. <ul class="tsd-parameter-list">
  1677. <li>
  1678. <h5>array: <a href="RcsbFv3DAssembly._internal_.ArrayLike.html" class="tsd-signature-type" data-tsd-kind="Interface">ArrayLike</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></h5>
  1679. <div class="tsd-comment tsd-typography"><p>A typed or untyped array of values to set.</p>
  1680. </div></li>
  1681. <li>
  1682. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5>
  1683. <div class="tsd-comment tsd-typography"><p>The index in the current array at which the values are to be written.</p>
  1684. </div></li></ul></div>
  1685. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
  1686. <p>Inherited from Uint8Array.set</p>
  1687. <ul>
  1688. <li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2294</li></ul></aside></li></ul></section>
  1689. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="slice" class="tsd-anchor"></a>
  1690. <h3 class="tsd-anchor-link"><span>slice</span><a href="#slice" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  1691. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  1692. <li class="tsd-signature tsd-anchor-link" id="slice.slice-1">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">&lt;internal&gt;</a><span class="tsd-signature-symbol">.</span><a href="../variables/RcsbFv3DAssembly._internal_.Buffer-2.html" class="tsd-signature-type" data-tsd-kind="Variable">Buffer</a><a href="#slice.slice-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  1693. <li class="tsd-description">
  1694. <div class="tsd-comment tsd-typography"><p>Returns a new <code>Buffer</code> that references the same memory as the original, but
  1695. offset and cropped by the <code>start</code> and <code>end</code> indices.</p>
  1696. <p>This is the same behavior as <code>buf.subarray()</code>.</p>
  1697. <p>This method is not compatible with the <code>Uint8Array.prototype.slice()</code>,
  1698. which is a superclass of <code>Buffer</code>. To copy the slice, use<code>Uint8Array.prototype.slice()</code>.</p>
  1699. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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-4">&#39;buffer&#39;</span><span class="hl-1">);</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">copiedBuf</span><span class="hl-1"> = </span><span class="hl-3">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>
  1700. </code></pre>
  1701. <h3>Since</h3><p>v0.3.0</p>
  1702. </div>
  1703. <div class="tsd-parameters">
  1704. <h4 class="tsd-parameters-title">Parameters</h4>
  1705. <ul class="tsd-parameter-list">
  1706. <li>
  1707. <h5><code class="tsd-tag ts-flagOptional">Optional</code> start: <span class="tsd-signature-type">number</span></h5>
  1708. <div class="tsd-comment tsd-typography"><p>Where the new <code>Buffer</code> will start.</p>
  1709. </div></li>
  1710. <li>
  1711. <h5><code class="tsd-tag ts-flagOptional">Optional</code> end: <span class="tsd-signature-type">number</span></h5>
  1712. <div class="tsd-comment tsd-typography"><p>Where the new <code>Buffer</code> will end (not inclusive).</p>
  1713. </div></li></ul></div>
  1714. <h4 class="tsd-returns-title">Returns <a href="../modules/RcsbFv3DAssembly._internal_.html" class="tsd-signature-type" data-tsd-kind="Namespace">&lt;internal&gt;</a><span class="tsd-signature-symbol">.</span><a href="../variables/RcsbFv3DAssembly._internal_.Buffer-2.html" class="tsd-signature-type" data-tsd-kind="Variable">Buffer</a></h4><aside class="tsd-sources">
  1715. <p>Overrides Uint8Array.slice</p>
  1716. <ul>
  1717. <li>Defined in node_modules/@types/node/buffer.d.ts:788</li></ul></aside></li></ul></section>
  1718. <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>
  1719. <h3 class="tsd-anchor-link"><span>some</span><a href="#some" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  1720. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external">
  1721. <li class="tsd-signature tsd-anchor-link" id="some.some-1">some<span class="tsd-signature-symbol">(</span>predicate<span class="tsd-signature-symbol">: </span><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"> =&gt; </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">)</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><a href="#some.some-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  1722. <li class="tsd-description">
  1723. <div class="tsd-comment tsd-typography"><p>Determines whether the specified callback function returns true for any element of an array.</p>
  1724. </div>
  1725. <div class="tsd-parameters">
  1726. <h4 class="tsd-parameters-title">Parameters</h4>
  1727. <ul class="tsd-parameter-list">
  1728. <li>
  1729. <h5>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"> =&gt; </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">)</span></h5>
  1730. <div class="tsd-comment tsd-typography"><p>A function that accepts up to three arguments. The some method calls
  1731. the predicate function for each element in the array until the predicate returns a value
  1732. which is coercible to the Boolean value true, or until the end of the array.</p>
  1733. </div>
  1734. <ul class="tsd-parameters">
  1735. <li class="tsd-parameter-signature">
  1736. <ul class="tsd-signatures tsd-kind-type-literal tsd-is-external">
  1737. <li class="tsd-signature"><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>
  1738. <li class="tsd-description">
  1739. <div class="tsd-parameters">
  1740. <h4 class="tsd-parameters-title">Parameters</h4>
  1741. <ul class="tsd-parameter-list">
  1742. <li>
  1743. <h5>value: <span class="tsd-signature-type">number</span></h5></li>
  1744. <li>
  1745. <h5>index: <span class="tsd-signature-type">number</span></h5></li>
  1746. <li>
  1747. <h5>array: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
  1748. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">unknown</span></h4></li></ul></li></ul></li>
  1749. <li>
  1750. <h5><code class="tsd-tag ts-flagOptional">Optional</code> thisArg: <span class="tsd-signature-type">any</span></h5>
  1751. <div class="tsd-comment tsd-typography"><p>An object to which the this keyword can refer in the predicate function.
  1752. If thisArg is omitted, undefined is used as the this value.</p>
  1753. </div></li></ul></div>
  1754. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
  1755. <p>Inherited from Uint8Array.some</p>
  1756. <ul>
  1757. <li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2311</li></ul></aside></li></ul></section>
  1758. <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>
  1759. <h3 class="tsd-anchor-link"><span>sort</span><a href="#sort" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  1760. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external">
  1761. <li class="tsd-signature tsd-anchor-link" id="sort.sort-1">sort<span class="tsd-signature-symbol">(</span>compareFn<span class="tsd-signature-symbol">?: </span><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"> =&gt; </span><span class="tsd-signature-type">number</span><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">&lt;internal&gt;</a><span class="tsd-signature-symbol">.</span><a href="../variables/RcsbFv3DAssembly._internal_.Buffer-2.html" class="tsd-signature-type" data-tsd-kind="Variable">Buffer</a><a href="#sort.sort-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  1762. <li class="tsd-description">
  1763. <div class="tsd-comment tsd-typography"><p>Sorts an array.</p>
  1764. </div>
  1765. <div class="tsd-parameters">
  1766. <h4 class="tsd-parameters-title">Parameters</h4>
  1767. <ul class="tsd-parameter-list">
  1768. <li>
  1769. <h5><code class="tsd-tag ts-flagOptional">Optional</code> 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"> =&gt; </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span></h5>
  1770. <div class="tsd-comment tsd-typography"><p>Function used to determine the order of the elements. It is expected to return
  1771. a negative value if first argument is less than second argument, zero if they&#39;re equal and a positive
  1772. value otherwise. If omitted, the elements are sorted in ascending order.</p>
  1773. <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-2">=&gt;</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>
  1774. </code></pre>
  1775. </div>
  1776. <ul class="tsd-parameters">
  1777. <li class="tsd-parameter-signature">
  1778. <ul class="tsd-signatures tsd-kind-type-literal tsd-is-external">
  1779. <li class="tsd-signature"><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>
  1780. <li class="tsd-description">
  1781. <div class="tsd-parameters">
  1782. <h4 class="tsd-parameters-title">Parameters</h4>
  1783. <ul class="tsd-parameter-list">
  1784. <li>
  1785. <h5>a: <span class="tsd-signature-type">number</span></h5></li>
  1786. <li>
  1787. <h5>b: <span class="tsd-signature-type">number</span></h5></li></ul></div>
  1788. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></li></ul></li></ul></div>
  1789. <h4 class="tsd-returns-title">Returns <a href="../modules/RcsbFv3DAssembly._internal_.html" class="tsd-signature-type" data-tsd-kind="Namespace">&lt;internal&gt;</a><span class="tsd-signature-symbol">.</span><a href="../variables/RcsbFv3DAssembly._internal_.Buffer-2.html" class="tsd-signature-type" data-tsd-kind="Variable">Buffer</a></h4><aside class="tsd-sources">
  1790. <p>Inherited from Uint8Array.sort</p>
  1791. <ul>
  1792. <li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2322</li></ul></aside></li></ul></section>
  1793. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="subarray" class="tsd-anchor"></a>
  1794. <h3 class="tsd-anchor-link"><span>subarray</span><a href="#subarray" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  1795. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  1796. <li class="tsd-signature tsd-anchor-link" id="subarray.subarray-1">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">&lt;internal&gt;</a><span class="tsd-signature-symbol">.</span><a href="../variables/RcsbFv3DAssembly._internal_.Buffer-2.html" class="tsd-signature-type" data-tsd-kind="Variable">Buffer</a><a href="#subarray.subarray-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  1797. <li class="tsd-description">
  1798. <div class="tsd-comment tsd-typography"><p>Returns a new <code>Buffer</code> that references the same memory as the original, but
  1799. offset and cropped by the <code>start</code> and <code>end</code> indices.</p>
  1800. <p>Specifying <code>end</code> greater than <code>buf.length</code> will return the same result as
  1801. that of <code>end</code> equal to <code>buf.length</code>.</p>
  1802. <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>
  1803. <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>
  1804. <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-4">&#39;buffer&#39;</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-2">const</span><span class="hl-1"> </span><span class="hl-5">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-2">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"> &lt; </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 &#39;a&#39;.</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-2">const</span><span class="hl-1"> </span><span class="hl-5">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-4">&#39;ascii&#39;</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-4">&#39;ascii&#39;</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>
  1805. </code></pre>
  1806. <p>Specifying negative indexes causes the slice to be generated relative to the
  1807. end of <code>buf</code> rather than the beginning.</p>
  1808. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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-4">&#39;buffer&#39;</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>
  1809. </code></pre>
  1810. <h3>Since</h3><p>v3.0.0</p>
  1811. </div>
  1812. <div class="tsd-parameters">
  1813. <h4 class="tsd-parameters-title">Parameters</h4>
  1814. <ul class="tsd-parameter-list">
  1815. <li>
  1816. <h5><code class="tsd-tag ts-flagOptional">Optional</code> start: <span class="tsd-signature-type">number</span></h5>
  1817. <div class="tsd-comment tsd-typography"><p>Where the new <code>Buffer</code> will start.</p>
  1818. </div></li>
  1819. <li>
  1820. <h5><code class="tsd-tag ts-flagOptional">Optional</code> end: <span class="tsd-signature-type">number</span></h5>
  1821. <div class="tsd-comment tsd-typography"><p>Where the new <code>Buffer</code> will end (not inclusive).</p>
  1822. </div></li></ul></div>
  1823. <h4 class="tsd-returns-title">Returns <a href="../modules/RcsbFv3DAssembly._internal_.html" class="tsd-signature-type" data-tsd-kind="Namespace">&lt;internal&gt;</a><span class="tsd-signature-symbol">.</span><a href="../variables/RcsbFv3DAssembly._internal_.Buffer-2.html" class="tsd-signature-type" data-tsd-kind="Variable">Buffer</a></h4><aside class="tsd-sources">
  1824. <p>Overrides Uint8Array.subarray</p>
  1825. <ul>
  1826. <li>Defined in node_modules/@types/node/buffer.d.ts:848</li></ul></aside></li></ul></section>
  1827. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="swap16" class="tsd-anchor"></a>
  1828. <h3 class="tsd-anchor-link"><span>swap16</span><a href="#swap16" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  1829. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  1830. <li class="tsd-signature tsd-anchor-link" id="swap16.swap16-1">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">&lt;internal&gt;</a><span class="tsd-signature-symbol">.</span><a href="../variables/RcsbFv3DAssembly._internal_.Buffer-2.html" class="tsd-signature-type" data-tsd-kind="Variable">Buffer</a><a href="#swap16.swap16-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  1831. <li class="tsd-description">
  1832. <div class="tsd-comment tsd-typography"><p>Interprets <code>buf</code> as an array of unsigned 16-bit integers and swaps the
  1833. 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>
  1834. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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: &lt;Buffer 01 02 03 04 05 06 07 08&gt;</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: &lt;Buffer 02 01 04 03 06 05 08 07&gt;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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>
  1835. </code></pre>
  1836. <p>One convenient use of <code>buf.swap16()</code> is to perform a fast in-place conversion
  1837. between UTF-16 little-endian and UTF-16 big-endian:</p>
  1838. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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-4">&#39;This is little-endian UTF-16&#39;</span><span class="hl-1">, </span><span class="hl-4">&#39;utf16le&#39;</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>
  1839. </code></pre>
  1840. <h3>Since</h3><p>v5.10.0</p>
  1841. <h3>Returns</h3><p>A reference to <code>buf</code>.</p>
  1842. </div>
  1843. <h4 class="tsd-returns-title">Returns <a href="../modules/RcsbFv3DAssembly._internal_.html" class="tsd-signature-type" data-tsd-kind="Namespace">&lt;internal&gt;</a><span class="tsd-signature-symbol">.</span><a href="../variables/RcsbFv3DAssembly._internal_.Buffer-2.html" class="tsd-signature-type" data-tsd-kind="Variable">Buffer</a></h4><aside class="tsd-sources">
  1844. <ul>
  1845. <li>Defined in node_modules/@types/node/buffer.d.ts:1506</li></ul></aside></li></ul></section>
  1846. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="swap32" class="tsd-anchor"></a>
  1847. <h3 class="tsd-anchor-link"><span>swap32</span><a href="#swap32" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  1848. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  1849. <li class="tsd-signature tsd-anchor-link" id="swap32.swap32-1">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">&lt;internal&gt;</a><span class="tsd-signature-symbol">.</span><a href="../variables/RcsbFv3DAssembly._internal_.Buffer-2.html" class="tsd-signature-type" data-tsd-kind="Variable">Buffer</a><a href="#swap32.swap32-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  1850. <li class="tsd-description">
  1851. <div class="tsd-comment tsd-typography"><p>Interprets <code>buf</code> as an array of unsigned 32-bit integers and swaps the
  1852. 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>
  1853. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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: &lt;Buffer 01 02 03 04 05 06 07 08&gt;</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: &lt;Buffer 04 03 02 01 08 07 06 05&gt;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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>
  1854. </code></pre>
  1855. <h3>Since</h3><p>v5.10.0</p>
  1856. <h3>Returns</h3><p>A reference to <code>buf</code>.</p>
  1857. </div>
  1858. <h4 class="tsd-returns-title">Returns <a href="../modules/RcsbFv3DAssembly._internal_.html" class="tsd-signature-type" data-tsd-kind="Namespace">&lt;internal&gt;</a><span class="tsd-signature-symbol">.</span><a href="../variables/RcsbFv3DAssembly._internal_.Buffer-2.html" class="tsd-signature-type" data-tsd-kind="Variable">Buffer</a></h4><aside class="tsd-sources">
  1859. <ul>
  1860. <li>Defined in node_modules/@types/node/buffer.d.ts:1532</li></ul></aside></li></ul></section>
  1861. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="swap64" class="tsd-anchor"></a>
  1862. <h3 class="tsd-anchor-link"><span>swap64</span><a href="#swap64" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  1863. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  1864. <li class="tsd-signature tsd-anchor-link" id="swap64.swap64-1">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">&lt;internal&gt;</a><span class="tsd-signature-symbol">.</span><a href="../variables/RcsbFv3DAssembly._internal_.Buffer-2.html" class="tsd-signature-type" data-tsd-kind="Variable">Buffer</a><a href="#swap64.swap64-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  1865. <li class="tsd-description">
  1866. <div class="tsd-comment tsd-typography"><p>Interprets <code>buf</code> as an array of 64-bit numbers and swaps byte order <em>in-place</em>.
  1867. Throws <code>ERR_INVALID_BUFFER_SIZE</code> if <code>buf.length</code> is not a multiple of 8.</p>
  1868. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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: &lt;Buffer 01 02 03 04 05 06 07 08&gt;</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: &lt;Buffer 08 07 06 05 04 03 02 01&gt;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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>
  1869. </code></pre>
  1870. <h3>Since</h3><p>v6.3.0</p>
  1871. <h3>Returns</h3><p>A reference to <code>buf</code>.</p>
  1872. </div>
  1873. <h4 class="tsd-returns-title">Returns <a href="../modules/RcsbFv3DAssembly._internal_.html" class="tsd-signature-type" data-tsd-kind="Namespace">&lt;internal&gt;</a><span class="tsd-signature-symbol">.</span><a href="../variables/RcsbFv3DAssembly._internal_.Buffer-2.html" class="tsd-signature-type" data-tsd-kind="Variable">Buffer</a></h4><aside class="tsd-sources">
  1874. <ul>
  1875. <li>Defined in node_modules/@types/node/buffer.d.ts:1558</li></ul></aside></li></ul></section>
  1876. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="toJSON" class="tsd-anchor"></a>
  1877. <h3 class="tsd-anchor-link"><span>toJSON</span><a href="#toJSON" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  1878. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  1879. <li class="tsd-signature tsd-anchor-link" id="toJSON.toJSON-1">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">&quot;Buffer&quot;</span><span class="tsd-signature-symbol"> }</span><a href="#toJSON.toJSON-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  1880. <li class="tsd-description">
  1881. <div class="tsd-comment tsd-typography"><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
  1882. this function when stringifying a <code>Buffer</code> instance.</p>
  1883. <p><code>Buffer.from()</code> accepts objects in the format returned from this method.
  1884. In particular, <code>Buffer.from(buf.toJSON())</code> works like <code>Buffer.from(buf)</code>.</p>
  1885. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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-2">const</span><span class="hl-1"> </span><span class="hl-5">json</span><span class="hl-1"> = </span><span class="hl-3">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: {&quot;type&quot;:&quot;Buffer&quot;,&quot;data&quot;:[1,2,3,4,5]}</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">copy</span><span class="hl-1"> = </span><span class="hl-3">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-2">=&gt;</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"> &amp;#</span><span class="hl-0">x26</span><span class="hl-1">;&amp;#</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-4">&#39;Buffer&#39;</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: &lt;Buffer 01 02 03 04 05&gt;</span>
  1886. </code></pre>
  1887. <h3>Since</h3><p>v0.9.2</p>
  1888. </div>
  1889. <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">&quot;Buffer&quot;</span><span class="tsd-signature-symbol"> }</span></h4>
  1890. <ul class="tsd-parameters">
  1891. <li class="tsd-parameter">
  1892. <h5>data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5></li>
  1893. <li class="tsd-parameter">
  1894. <h5>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;Buffer&quot;</span></h5></li></ul><aside class="tsd-sources">
  1895. <ul>
  1896. <li>Defined in node_modules/@types/node/buffer.d.ts:630</li></ul></aside></li></ul></section>
  1897. <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>
  1898. <h3 class="tsd-anchor-link"><span>to<wbr/>Locale<wbr/>String</span><a href="#toLocaleString" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  1899. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external">
  1900. <li class="tsd-signature tsd-anchor-link" id="toLocaleString.toLocaleString-1">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><a href="#toLocaleString.toLocaleString-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  1901. <li class="tsd-description">
  1902. <div class="tsd-comment tsd-typography"><p>Converts a number to a string by using the current locale.</p>
  1903. </div>
  1904. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
  1905. <p>Inherited from Uint8Array.toLocaleString</p>
  1906. <ul>
  1907. <li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2335</li></ul></aside></li></ul></section>
  1908. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="toString" class="tsd-anchor"></a>
  1909. <h3 class="tsd-anchor-link"><span>to<wbr/>String</span><a href="#toString" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  1910. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  1911. <li class="tsd-signature tsd-anchor-link" id="toString.toString-1">to<wbr/>String<span class="tsd-signature-symbol">(</span>encoding<span class="tsd-signature-symbol">?: </span><a href="../types/RcsbFv3DAssembly._internal_.BufferEncoding.html" 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><a href="#toString.toString-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  1912. <li class="tsd-description">
  1913. <div class="tsd-comment tsd-typography"><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>
  1914. <p>If <code>encoding</code> is <code>&#39;utf8&#39;</code> and a byte sequence in the input is not valid UTF-8,
  1915. then each invalid byte is replaced with the replacement character <code>U+FFFD</code>.</p>
  1916. <p>The maximum length of a string instance (in UTF-16 code units) is available
  1917. as constants.MAX_STRING_LENGTH.</p>
  1918. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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-2">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"> &lt; </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 &#39;a&#39;.</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-4">&#39;utf8&#39;</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-4">&#39;utf8&#39;</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-2">const</span><span class="hl-1"> </span><span class="hl-5">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-4">&#39;tést&#39;</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-4">&#39;hex&#39;</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-4">&#39;utf8&#39;</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-2">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>
  1919. </code></pre>
  1920. <h3>Since</h3><p>v0.1.90</p>
  1921. </div>
  1922. <div class="tsd-parameters">
  1923. <h4 class="tsd-parameters-title">Parameters</h4>
  1924. <ul class="tsd-parameter-list">
  1925. <li>
  1926. <h5><code class="tsd-tag ts-flagOptional">Optional</code> encoding: <a href="../types/RcsbFv3DAssembly._internal_.BufferEncoding.html" class="tsd-signature-type" data-tsd-kind="Type alias">BufferEncoding</a></h5>
  1927. <div class="tsd-comment tsd-typography"><p>The character encoding to use.</p>
  1928. </div></li>
  1929. <li>
  1930. <h5><code class="tsd-tag ts-flagOptional">Optional</code> start: <span class="tsd-signature-type">number</span></h5>
  1931. <div class="tsd-comment tsd-typography"><p>The byte offset to start decoding at.</p>
  1932. </div></li>
  1933. <li>
  1934. <h5><code class="tsd-tag ts-flagOptional">Optional</code> end: <span class="tsd-signature-type">number</span></h5>
  1935. <div class="tsd-comment tsd-typography"><p>The byte offset to stop decoding at (not inclusive).</p>
  1936. </div></li></ul></div>
  1937. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
  1938. <p>Overrides Uint8Array.toString</p>
  1939. <ul>
  1940. <li>Defined in node_modules/@types/node/buffer.d.ts:602</li></ul></aside></li></ul></section>
  1941. <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>
  1942. <h3 class="tsd-anchor-link"><span>value<wbr/>Of</span><a href="#valueOf" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  1943. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external">
  1944. <li class="tsd-signature tsd-anchor-link" id="valueOf.valueOf-1">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><a href="#valueOf.valueOf-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  1945. <li class="tsd-description">
  1946. <div class="tsd-comment tsd-typography"><p>Returns the primitive value of the specified object.</p>
  1947. </div>
  1948. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Uint8Array</span></h4><aside class="tsd-sources">
  1949. <p>Inherited from Uint8Array.valueOf</p>
  1950. <ul>
  1951. <li>Defined in node_modules/typescript/lib/lib.es5.d.ts:2343</li></ul></aside></li></ul></section>
  1952. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="values" class="tsd-anchor"></a>
  1953. <h3 class="tsd-anchor-link"><span>values</span><a href="#values" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  1954. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  1955. <li class="tsd-signature tsd-anchor-link" id="values.values-1">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">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span><a href="#values.values-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  1956. <li class="tsd-description">
  1957. <div class="tsd-comment tsd-typography"><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
  1958. called automatically when a <code>Buffer</code> is used in a <code>for..of</code> statement.</p>
  1959. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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-4">&#39;buffer&#39;</span><span class="hl-1">);</span><br/><br/><span class="hl-7">for</span><span class="hl-1"> (</span><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">value</span><span class="hl-1"> </span><span class="hl-2">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-2">const</span><span class="hl-1"> </span><span class="hl-5">value</span><span class="hl-1"> </span><span class="hl-2">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>
  1960. </code></pre>
  1961. <h3>Since</h3><p>v1.1.0</p>
  1962. </div>
  1963. <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">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
  1964. <p>Overrides Uint8Array.values</p>
  1965. <ul>
  1966. <li>Defined in node_modules/@types/node/buffer.d.ts:2193</li></ul></aside></li></ul></section>
  1967. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="write" class="tsd-anchor"></a>
  1968. <h3 class="tsd-anchor-link"><span>write</span><a href="#write" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  1969. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  1970. <li class="tsd-signature tsd-anchor-link" id="write.write-1">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="../types/RcsbFv3DAssembly._internal_.BufferEncoding.html" 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><a href="#write.write-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  1971. <li class="tsd-description">
  1972. <div class="tsd-comment tsd-typography"><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
  1973. not contain enough space to fit the entire string, only part of <code>string</code> will be
  1974. written. However, partially encoded characters will not be written.</p>
  1975. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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-2">const</span><span class="hl-1"> </span><span class="hl-5">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-4">&#39;</span><span class="hl-13">\u00bd</span><span class="hl-4"> + </span><span class="hl-13">\u00bc</span><span class="hl-4"> = </span><span class="hl-13">\u00be</span><span class="hl-4">&#39;</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-4">`</span><span class="hl-2">${</span><span class="hl-0">len</span><span class="hl-2">}</span><span class="hl-4"> bytes: </span><span class="hl-2">${</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-4">&#39;utf8&#39;</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-2">}</span><span class="hl-4">`</span><span class="hl-1">);</span><br/><span class="hl-9">// Prints: 12 bytes: ½ + ¼ = ¾</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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-2">const</span><span class="hl-1"> </span><span class="hl-5">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-4">&#39;abcd&#39;</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-4">`</span><span class="hl-2">${</span><span class="hl-0">length</span><span class="hl-2">}</span><span class="hl-4"> bytes: </span><span class="hl-2">${</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-4">&#39;utf8&#39;</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-2">}</span><span class="hl-4">`</span><span class="hl-1">);</span><br/><span class="hl-9">// Prints: 2 bytes : ab</span>
  1976. </code></pre>
  1977. <h3>Since</h3><p>v0.1.90</p>
  1978. <h3>Returns</h3><p>Number of bytes written.</p>
  1979. </div>
  1980. <div class="tsd-parameters">
  1981. <h4 class="tsd-parameters-title">Parameters</h4>
  1982. <ul class="tsd-parameter-list">
  1983. <li>
  1984. <h5>string: <span class="tsd-signature-type">string</span></h5>
  1985. <div class="tsd-comment tsd-typography"><p>String to write to <code>buf</code>.</p>
  1986. </div></li>
  1987. <li>
  1988. <h5><code class="tsd-tag ts-flagOptional">Optional</code> encoding: <a href="../types/RcsbFv3DAssembly._internal_.BufferEncoding.html" class="tsd-signature-type" data-tsd-kind="Type alias">BufferEncoding</a></h5>
  1989. <div class="tsd-comment tsd-typography"><p>The character encoding of <code>string</code>.</p>
  1990. </div></li></ul></div>
  1991. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  1992. <ul>
  1993. <li>Defined in node_modules/@types/node/buffer.d.ts:561</li></ul></aside></li>
  1994. <li class="tsd-signature tsd-anchor-link" id="write.write-2">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="../types/RcsbFv3DAssembly._internal_.BufferEncoding.html" 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><a href="#write.write-2" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  1995. <li class="tsd-description">
  1996. <div class="tsd-parameters">
  1997. <h4 class="tsd-parameters-title">Parameters</h4>
  1998. <ul class="tsd-parameter-list">
  1999. <li>
  2000. <h5>string: <span class="tsd-signature-type">string</span></h5></li>
  2001. <li>
  2002. <h5>offset: <span class="tsd-signature-type">number</span></h5></li>
  2003. <li>
  2004. <h5><code class="tsd-tag ts-flagOptional">Optional</code> encoding: <a href="../types/RcsbFv3DAssembly._internal_.BufferEncoding.html" class="tsd-signature-type" data-tsd-kind="Type alias">BufferEncoding</a></h5></li></ul></div>
  2005. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  2006. <ul>
  2007. <li>Defined in node_modules/@types/node/buffer.d.ts:562</li></ul></aside></li>
  2008. <li class="tsd-signature tsd-anchor-link" id="write.write-3">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="../types/RcsbFv3DAssembly._internal_.BufferEncoding.html" 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><a href="#write.write-3" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  2009. <li class="tsd-description">
  2010. <div class="tsd-parameters">
  2011. <h4 class="tsd-parameters-title">Parameters</h4>
  2012. <ul class="tsd-parameter-list">
  2013. <li>
  2014. <h5>string: <span class="tsd-signature-type">string</span></h5></li>
  2015. <li>
  2016. <h5>offset: <span class="tsd-signature-type">number</span></h5></li>
  2017. <li>
  2018. <h5>length: <span class="tsd-signature-type">number</span></h5></li>
  2019. <li>
  2020. <h5><code class="tsd-tag ts-flagOptional">Optional</code> encoding: <a href="../types/RcsbFv3DAssembly._internal_.BufferEncoding.html" class="tsd-signature-type" data-tsd-kind="Type alias">BufferEncoding</a></h5></li></ul></div>
  2021. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  2022. <ul>
  2023. <li>Defined in node_modules/@types/node/buffer.d.ts:563</li></ul></aside></li></ul></section>
  2024. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeBigInt64BE" class="tsd-anchor"></a>
  2025. <h3 class="tsd-anchor-link"><span>write<wbr/>Big<wbr/>Int64BE</span><a href="#writeBigInt64BE" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  2026. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  2027. <li class="tsd-signature tsd-anchor-link" id="writeBigInt64BE.writeBigInt64BE-1">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><a href="#writeBigInt64BE.writeBigInt64BE-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  2028. <li class="tsd-description">
  2029. <div class="tsd-comment tsd-typography"><p>Writes <code>value</code> to <code>buf</code> at the specified <code>offset</code> as big-endian.</p>
  2030. <p><code>value</code> is interpreted and written as a two&#39;s complement signed integer.</p>
  2031. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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-2">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: &lt;Buffer 01 02 03 04 05 06 07 08&gt;</span>
  2032. </code></pre>
  2033. <h3>Since</h3><p>v12.0.0, v10.20.0</p>
  2034. <h3>Returns</h3><p><code>offset</code> plus the number of bytes written.</p>
  2035. </div>
  2036. <div class="tsd-parameters">
  2037. <h4 class="tsd-parameters-title">Parameters</h4>
  2038. <ul class="tsd-parameter-list">
  2039. <li>
  2040. <h5>value: <span class="tsd-signature-type">bigint</span></h5>
  2041. <div class="tsd-comment tsd-typography"><p>Number to be written to <code>buf</code>.</p>
  2042. </div></li>
  2043. <li>
  2044. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5>
  2045. <div class="tsd-comment tsd-typography"><p>Number of bytes to skip before starting to write. Must satisfy: <code>0 &lt;= offset &lt;= buf.length - 8</code>.</p>
  2046. </div></li></ul></div>
  2047. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  2048. <ul>
  2049. <li>Defined in node_modules/@types/node/buffer.d.ts:869</li></ul></aside></li></ul></section>
  2050. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeBigInt64LE" class="tsd-anchor"></a>
  2051. <h3 class="tsd-anchor-link"><span>write<wbr/>Big<wbr/>Int64LE</span><a href="#writeBigInt64LE" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  2052. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  2053. <li class="tsd-signature tsd-anchor-link" id="writeBigInt64LE.writeBigInt64LE-1">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><a href="#writeBigInt64LE.writeBigInt64LE-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  2054. <li class="tsd-description">
  2055. <div class="tsd-comment tsd-typography"><p>Writes <code>value</code> to <code>buf</code> at the specified <code>offset</code> as little-endian.</p>
  2056. <p><code>value</code> is interpreted and written as a two&#39;s complement signed integer.</p>
  2057. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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-2">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: &lt;Buffer 08 07 06 05 04 03 02 01&gt;</span>
  2058. </code></pre>
  2059. <h3>Since</h3><p>v12.0.0, v10.20.0</p>
  2060. <h3>Returns</h3><p><code>offset</code> plus the number of bytes written.</p>
  2061. </div>
  2062. <div class="tsd-parameters">
  2063. <h4 class="tsd-parameters-title">Parameters</h4>
  2064. <ul class="tsd-parameter-list">
  2065. <li>
  2066. <h5>value: <span class="tsd-signature-type">bigint</span></h5>
  2067. <div class="tsd-comment tsd-typography"><p>Number to be written to <code>buf</code>.</p>
  2068. </div></li>
  2069. <li>
  2070. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5>
  2071. <div class="tsd-comment tsd-typography"><p>Number of bytes to skip before starting to write. Must satisfy: <code>0 &lt;= offset &lt;= buf.length - 8</code>.</p>
  2072. </div></li></ul></div>
  2073. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  2074. <ul>
  2075. <li>Defined in node_modules/@types/node/buffer.d.ts:890</li></ul></aside></li></ul></section>
  2076. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeBigUInt64BE" class="tsd-anchor"></a>
  2077. <h3 class="tsd-anchor-link"><span>write<wbr/>BigUInt64BE</span><a href="#writeBigUInt64BE" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  2078. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  2079. <li class="tsd-signature tsd-anchor-link" id="writeBigUInt64BE.writeBigUInt64BE-1">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><a href="#writeBigUInt64BE.writeBigUInt64BE-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  2080. <li class="tsd-description">
  2081. <div class="tsd-comment tsd-typography"><p>Writes <code>value</code> to <code>buf</code> at the specified <code>offset</code> as big-endian.</p>
  2082. <p>This function is also available under the <code>writeBigUint64BE</code> alias.</p>
  2083. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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-2">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: &lt;Buffer de ca fa fe ca ce fa de&gt;</span>
  2084. </code></pre>
  2085. <h3>Since</h3><p>v12.0.0, v10.20.0</p>
  2086. <h3>Returns</h3><p><code>offset</code> plus the number of bytes written.</p>
  2087. </div>
  2088. <div class="tsd-parameters">
  2089. <h4 class="tsd-parameters-title">Parameters</h4>
  2090. <ul class="tsd-parameter-list">
  2091. <li>
  2092. <h5>value: <span class="tsd-signature-type">bigint</span></h5>
  2093. <div class="tsd-comment tsd-typography"><p>Number to be written to <code>buf</code>.</p>
  2094. </div></li>
  2095. <li>
  2096. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5>
  2097. <div class="tsd-comment tsd-typography"><p>Number of bytes to skip before starting to write. Must satisfy: <code>0 &lt;= offset &lt;= buf.length - 8</code>.</p>
  2098. </div></li></ul></div>
  2099. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  2100. <ul>
  2101. <li>Defined in node_modules/@types/node/buffer.d.ts:911</li></ul></aside></li></ul></section>
  2102. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeBigUInt64LE" class="tsd-anchor"></a>
  2103. <h3 class="tsd-anchor-link"><span>write<wbr/>BigUInt64LE</span><a href="#writeBigUInt64LE" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  2104. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  2105. <li class="tsd-signature tsd-anchor-link" id="writeBigUInt64LE.writeBigUInt64LE-1">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><a href="#writeBigUInt64LE.writeBigUInt64LE-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  2106. <li class="tsd-description">
  2107. <div class="tsd-comment tsd-typography"><p>Writes <code>value</code> to <code>buf</code> at the specified <code>offset</code> as little-endian</p>
  2108. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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-2">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: &lt;Buffer de fa ce ca fe fa ca de&gt;</span>
  2109. </code></pre>
  2110. <p>This function is also available under the <code>writeBigUint64LE</code> alias.</p>
  2111. <h3>Since</h3><p>v12.0.0, v10.20.0</p>
  2112. <h3>Returns</h3><p><code>offset</code> plus the number of bytes written.</p>
  2113. </div>
  2114. <div class="tsd-parameters">
  2115. <h4 class="tsd-parameters-title">Parameters</h4>
  2116. <ul class="tsd-parameter-list">
  2117. <li>
  2118. <h5>value: <span class="tsd-signature-type">bigint</span></h5>
  2119. <div class="tsd-comment tsd-typography"><p>Number to be written to <code>buf</code>.</p>
  2120. </div></li>
  2121. <li>
  2122. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5>
  2123. <div class="tsd-comment tsd-typography"><p>Number of bytes to skip before starting to write. Must satisfy: <code>0 &lt;= offset &lt;= buf.length - 8</code>.</p>
  2124. </div></li></ul></div>
  2125. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  2126. <ul>
  2127. <li>Defined in node_modules/@types/node/buffer.d.ts:937</li></ul></aside></li></ul></section>
  2128. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeBigUint64BE-2" class="tsd-anchor"></a>
  2129. <h3 class="tsd-anchor-link"><span>write<wbr/>Big<wbr/>Uint64BE</span><a href="#writeBigUint64BE-2" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  2130. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  2131. <li class="tsd-signature tsd-anchor-link" id="writeBigUint64BE-2.writeBigUint64BE-3">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><a href="#writeBigUint64BE-2.writeBigUint64BE-3" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  2132. <li class="tsd-description">
  2133. <div class="tsd-comment tsd-typography">
  2134. <h3>Alias</h3><p>Buffer.writeBigUInt64BE</p>
  2135. <h3>Since</h3><p>v14.10.0, v12.19.0</p>
  2136. </div>
  2137. <div class="tsd-parameters">
  2138. <h4 class="tsd-parameters-title">Parameters</h4>
  2139. <ul class="tsd-parameter-list">
  2140. <li>
  2141. <h5>value: <span class="tsd-signature-type">bigint</span></h5></li>
  2142. <li>
  2143. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5></li></ul></div>
  2144. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  2145. <ul>
  2146. <li>Defined in node_modules/@types/node/buffer.d.ts:916</li></ul></aside></li></ul></section>
  2147. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeBigUint64LE-2" class="tsd-anchor"></a>
  2148. <h3 class="tsd-anchor-link"><span>write<wbr/>Big<wbr/>Uint64LE</span><a href="#writeBigUint64LE-2" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  2149. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  2150. <li class="tsd-signature tsd-anchor-link" id="writeBigUint64LE-2.writeBigUint64LE-3">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><a href="#writeBigUint64LE-2.writeBigUint64LE-3" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  2151. <li class="tsd-description">
  2152. <div class="tsd-comment tsd-typography">
  2153. <h3>Alias</h3><p>Buffer.writeBigUInt64LE</p>
  2154. <h3>Since</h3><p>v14.10.0, v12.19.0</p>
  2155. </div>
  2156. <div class="tsd-parameters">
  2157. <h4 class="tsd-parameters-title">Parameters</h4>
  2158. <ul class="tsd-parameter-list">
  2159. <li>
  2160. <h5>value: <span class="tsd-signature-type">bigint</span></h5></li>
  2161. <li>
  2162. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5></li></ul></div>
  2163. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  2164. <ul>
  2165. <li>Defined in node_modules/@types/node/buffer.d.ts:942</li></ul></aside></li></ul></section>
  2166. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeDoubleBE" class="tsd-anchor"></a>
  2167. <h3 class="tsd-anchor-link"><span>write<wbr/>DoubleBE</span><a href="#writeDoubleBE" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  2168. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  2169. <li class="tsd-signature tsd-anchor-link" id="writeDoubleBE.writeDoubleBE-1">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><a href="#writeDoubleBE.writeDoubleBE-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  2170. <li class="tsd-description">
  2171. <div class="tsd-comment tsd-typography"><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
  2172. other than a JavaScript number.</p>
  2173. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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: &lt;Buffer 40 5e dd 2f 1a 9f be 77&gt;</span>
  2174. </code></pre>
  2175. <h3>Since</h3><p>v0.11.15</p>
  2176. <h3>Returns</h3><p><code>offset</code> plus the number of bytes written.</p>
  2177. </div>
  2178. <div class="tsd-parameters">
  2179. <h4 class="tsd-parameters-title">Parameters</h4>
  2180. <ul class="tsd-parameter-list">
  2181. <li>
  2182. <h5>value: <span class="tsd-signature-type">number</span></h5>
  2183. <div class="tsd-comment tsd-typography"><p>Number to be written to <code>buf</code>.</p>
  2184. </div></li>
  2185. <li>
  2186. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5>
  2187. <div class="tsd-comment tsd-typography"><p>Number of bytes to skip before starting to write. Must satisfy <code>0 &lt;= offset &lt;= buf.length - 8</code>.</p>
  2188. </div></li></ul></div>
  2189. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  2190. <ul>
  2191. <li>Defined in node_modules/@types/node/buffer.d.ts:1891</li></ul></aside></li></ul></section>
  2192. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeDoubleLE" class="tsd-anchor"></a>
  2193. <h3 class="tsd-anchor-link"><span>write<wbr/>DoubleLE</span><a href="#writeDoubleLE" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  2194. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  2195. <li class="tsd-signature tsd-anchor-link" id="writeDoubleLE.writeDoubleLE-1">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><a href="#writeDoubleLE.writeDoubleLE-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  2196. <li class="tsd-description">
  2197. <div class="tsd-comment tsd-typography"><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
  2198. other than a JavaScript number.</p>
  2199. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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: &lt;Buffer 77 be 9f 1a 2f dd 5e 40&gt;</span>
  2200. </code></pre>
  2201. <h3>Since</h3><p>v0.11.15</p>
  2202. <h3>Returns</h3><p><code>offset</code> plus the number of bytes written.</p>
  2203. </div>
  2204. <div class="tsd-parameters">
  2205. <h4 class="tsd-parameters-title">Parameters</h4>
  2206. <ul class="tsd-parameter-list">
  2207. <li>
  2208. <h5>value: <span class="tsd-signature-type">number</span></h5>
  2209. <div class="tsd-comment tsd-typography"><p>Number to be written to <code>buf</code>.</p>
  2210. </div></li>
  2211. <li>
  2212. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5>
  2213. <div class="tsd-comment tsd-typography"><p>Number of bytes to skip before starting to write. Must satisfy <code>0 &lt;= offset &lt;= buf.length - 8</code>.</p>
  2214. </div></li></ul></div>
  2215. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  2216. <ul>
  2217. <li>Defined in node_modules/@types/node/buffer.d.ts:1871</li></ul></aside></li></ul></section>
  2218. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeFloatBE" class="tsd-anchor"></a>
  2219. <h3 class="tsd-anchor-link"><span>write<wbr/>FloatBE</span><a href="#writeFloatBE" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  2220. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  2221. <li class="tsd-signature tsd-anchor-link" id="writeFloatBE.writeFloatBE-1">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><a href="#writeFloatBE.writeFloatBE-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  2222. <li class="tsd-description">
  2223. <div class="tsd-comment tsd-typography"><p>Writes <code>value</code> to <code>buf</code> at the specified <code>offset</code> as big-endian. Behavior is
  2224. undefined when <code>value</code> is anything other than a JavaScript number.</p>
  2225. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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: &lt;Buffer 4f 4a fe bb&gt;</span>
  2226. </code></pre>
  2227. <h3>Since</h3><p>v0.11.15</p>
  2228. <h3>Returns</h3><p><code>offset</code> plus the number of bytes written.</p>
  2229. </div>
  2230. <div class="tsd-parameters">
  2231. <h4 class="tsd-parameters-title">Parameters</h4>
  2232. <ul class="tsd-parameter-list">
  2233. <li>
  2234. <h5>value: <span class="tsd-signature-type">number</span></h5>
  2235. <div class="tsd-comment tsd-typography"><p>Number to be written to <code>buf</code>.</p>
  2236. </div></li>
  2237. <li>
  2238. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5>
  2239. <div class="tsd-comment tsd-typography"><p>Number of bytes to skip before starting to write. Must satisfy <code>0 &lt;= offset &lt;= buf.length - 4</code>.</p>
  2240. </div></li></ul></div>
  2241. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  2242. <ul>
  2243. <li>Defined in node_modules/@types/node/buffer.d.ts:1851</li></ul></aside></li></ul></section>
  2244. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeFloatLE" class="tsd-anchor"></a>
  2245. <h3 class="tsd-anchor-link"><span>write<wbr/>FloatLE</span><a href="#writeFloatLE" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  2246. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  2247. <li class="tsd-signature tsd-anchor-link" id="writeFloatLE.writeFloatLE-1">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><a href="#writeFloatLE.writeFloatLE-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  2248. <li class="tsd-description">
  2249. <div class="tsd-comment tsd-typography"><p>Writes <code>value</code> to <code>buf</code> at the specified <code>offset</code> as little-endian. Behavior is
  2250. undefined when <code>value</code> is anything other than a JavaScript number.</p>
  2251. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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: &lt;Buffer bb fe 4a 4f&gt;</span>
  2252. </code></pre>
  2253. <h3>Since</h3><p>v0.11.15</p>
  2254. <h3>Returns</h3><p><code>offset</code> plus the number of bytes written.</p>
  2255. </div>
  2256. <div class="tsd-parameters">
  2257. <h4 class="tsd-parameters-title">Parameters</h4>
  2258. <ul class="tsd-parameter-list">
  2259. <li>
  2260. <h5>value: <span class="tsd-signature-type">number</span></h5>
  2261. <div class="tsd-comment tsd-typography"><p>Number to be written to <code>buf</code>.</p>
  2262. </div></li>
  2263. <li>
  2264. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5>
  2265. <div class="tsd-comment tsd-typography"><p>Number of bytes to skip before starting to write. Must satisfy <code>0 &lt;= offset &lt;= buf.length - 4</code>.</p>
  2266. </div></li></ul></div>
  2267. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  2268. <ul>
  2269. <li>Defined in node_modules/@types/node/buffer.d.ts:1831</li></ul></aside></li></ul></section>
  2270. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeInt16BE" class="tsd-anchor"></a>
  2271. <h3 class="tsd-anchor-link"><span>write<wbr/>Int16BE</span><a href="#writeInt16BE" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  2272. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  2273. <li class="tsd-signature tsd-anchor-link" id="writeInt16BE.writeInt16BE-1">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><a href="#writeInt16BE.writeInt16BE-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  2274. <li class="tsd-description">
  2275. <div class="tsd-comment tsd-typography"><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
  2276. anything other than a signed 16-bit integer.</p>
  2277. <p>The <code>value</code> is interpreted and written as a two&#39;s complement signed integer.</p>
  2278. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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: &lt;Buffer 01 02&gt;</span>
  2279. </code></pre>
  2280. <h3>Since</h3><p>v0.5.5</p>
  2281. <h3>Returns</h3><p><code>offset</code> plus the number of bytes written.</p>
  2282. </div>
  2283. <div class="tsd-parameters">
  2284. <h4 class="tsd-parameters-title">Parameters</h4>
  2285. <ul class="tsd-parameter-list">
  2286. <li>
  2287. <h5>value: <span class="tsd-signature-type">number</span></h5>
  2288. <div class="tsd-comment tsd-typography"><p>Number to be written to <code>buf</code>.</p>
  2289. </div></li>
  2290. <li>
  2291. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5>
  2292. <div class="tsd-comment tsd-typography"><p>Number of bytes to skip before starting to write. Must satisfy <code>0 &lt;= offset &lt;= buf.length - 2</code>.</p>
  2293. </div></li></ul></div>
  2294. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  2295. <ul>
  2296. <li>Defined in node_modules/@types/node/buffer.d.ts:1767</li></ul></aside></li></ul></section>
  2297. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeInt16LE" class="tsd-anchor"></a>
  2298. <h3 class="tsd-anchor-link"><span>write<wbr/>Int16LE</span><a href="#writeInt16LE" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  2299. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  2300. <li class="tsd-signature tsd-anchor-link" id="writeInt16LE.writeInt16LE-1">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><a href="#writeInt16LE.writeInt16LE-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  2301. <li class="tsd-description">
  2302. <div class="tsd-comment tsd-typography"><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
  2303. anything other than a signed 16-bit integer.</p>
  2304. <p>The <code>value</code> is interpreted and written as a two&#39;s complement signed integer.</p>
  2305. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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: &lt;Buffer 04 03&gt;</span>
  2306. </code></pre>
  2307. <h3>Since</h3><p>v0.5.5</p>
  2308. <h3>Returns</h3><p><code>offset</code> plus the number of bytes written.</p>
  2309. </div>
  2310. <div class="tsd-parameters">
  2311. <h4 class="tsd-parameters-title">Parameters</h4>
  2312. <ul class="tsd-parameter-list">
  2313. <li>
  2314. <h5>value: <span class="tsd-signature-type">number</span></h5>
  2315. <div class="tsd-comment tsd-typography"><p>Number to be written to <code>buf</code>.</p>
  2316. </div></li>
  2317. <li>
  2318. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5>
  2319. <div class="tsd-comment tsd-typography"><p>Number of bytes to skip before starting to write. Must satisfy <code>0 &lt;= offset &lt;= buf.length - 2</code>.</p>
  2320. </div></li></ul></div>
  2321. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  2322. <ul>
  2323. <li>Defined in node_modules/@types/node/buffer.d.ts:1745</li></ul></aside></li></ul></section>
  2324. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeInt32BE" class="tsd-anchor"></a>
  2325. <h3 class="tsd-anchor-link"><span>write<wbr/>Int32BE</span><a href="#writeInt32BE" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  2326. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  2327. <li class="tsd-signature tsd-anchor-link" id="writeInt32BE.writeInt32BE-1">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><a href="#writeInt32BE.writeInt32BE-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  2328. <li class="tsd-description">
  2329. <div class="tsd-comment tsd-typography"><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
  2330. anything other than a signed 32-bit integer.</p>
  2331. <p>The <code>value</code> is interpreted and written as a two&#39;s complement signed integer.</p>
  2332. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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: &lt;Buffer 01 02 03 04&gt;</span>
  2333. </code></pre>
  2334. <h3>Since</h3><p>v0.5.5</p>
  2335. <h3>Returns</h3><p><code>offset</code> plus the number of bytes written.</p>
  2336. </div>
  2337. <div class="tsd-parameters">
  2338. <h4 class="tsd-parameters-title">Parameters</h4>
  2339. <ul class="tsd-parameter-list">
  2340. <li>
  2341. <h5>value: <span class="tsd-signature-type">number</span></h5>
  2342. <div class="tsd-comment tsd-typography"><p>Number to be written to <code>buf</code>.</p>
  2343. </div></li>
  2344. <li>
  2345. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5>
  2346. <div class="tsd-comment tsd-typography"><p>Number of bytes to skip before starting to write. Must satisfy <code>0 &lt;= offset &lt;= buf.length - 4</code>.</p>
  2347. </div></li></ul></div>
  2348. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  2349. <ul>
  2350. <li>Defined in node_modules/@types/node/buffer.d.ts:1811</li></ul></aside></li></ul></section>
  2351. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeInt32LE" class="tsd-anchor"></a>
  2352. <h3 class="tsd-anchor-link"><span>write<wbr/>Int32LE</span><a href="#writeInt32LE" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  2353. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  2354. <li class="tsd-signature tsd-anchor-link" id="writeInt32LE.writeInt32LE-1">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><a href="#writeInt32LE.writeInt32LE-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  2355. <li class="tsd-description">
  2356. <div class="tsd-comment tsd-typography"><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
  2357. anything other than a signed 32-bit integer.</p>
  2358. <p>The <code>value</code> is interpreted and written as a two&#39;s complement signed integer.</p>
  2359. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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: &lt;Buffer 08 07 06 05&gt;</span>
  2360. </code></pre>
  2361. <h3>Since</h3><p>v0.5.5</p>
  2362. <h3>Returns</h3><p><code>offset</code> plus the number of bytes written.</p>
  2363. </div>
  2364. <div class="tsd-parameters">
  2365. <h4 class="tsd-parameters-title">Parameters</h4>
  2366. <ul class="tsd-parameter-list">
  2367. <li>
  2368. <h5>value: <span class="tsd-signature-type">number</span></h5>
  2369. <div class="tsd-comment tsd-typography"><p>Number to be written to <code>buf</code>.</p>
  2370. </div></li>
  2371. <li>
  2372. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5>
  2373. <div class="tsd-comment tsd-typography"><p>Number of bytes to skip before starting to write. Must satisfy <code>0 &lt;= offset &lt;= buf.length - 4</code>.</p>
  2374. </div></li></ul></div>
  2375. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  2376. <ul>
  2377. <li>Defined in node_modules/@types/node/buffer.d.ts:1789</li></ul></aside></li></ul></section>
  2378. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeInt8" class="tsd-anchor"></a>
  2379. <h3 class="tsd-anchor-link"><span>write<wbr/>Int8</span><a href="#writeInt8" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  2380. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  2381. <li class="tsd-signature tsd-anchor-link" id="writeInt8.writeInt8-1">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><a href="#writeInt8.writeInt8-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  2382. <li class="tsd-description">
  2383. <div class="tsd-comment tsd-typography"><p>Writes <code>value</code> to <code>buf</code> at the specified <code>offset</code>. <code>value</code> must be a valid
  2384. signed 8-bit integer. Behavior is undefined when <code>value</code> is anything other than
  2385. a signed 8-bit integer.</p>
  2386. <p><code>value</code> is interpreted and written as a two&#39;s complement signed integer.</p>
  2387. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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: &lt;Buffer 02 fe&gt;</span>
  2388. </code></pre>
  2389. <h3>Since</h3><p>v0.5.0</p>
  2390. <h3>Returns</h3><p><code>offset</code> plus the number of bytes written.</p>
  2391. </div>
  2392. <div class="tsd-parameters">
  2393. <h4 class="tsd-parameters-title">Parameters</h4>
  2394. <ul class="tsd-parameter-list">
  2395. <li>
  2396. <h5>value: <span class="tsd-signature-type">number</span></h5>
  2397. <div class="tsd-comment tsd-typography"><p>Number to be written to <code>buf</code>.</p>
  2398. </div></li>
  2399. <li>
  2400. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5>
  2401. <div class="tsd-comment tsd-typography"><p>Number of bytes to skip before starting to write. Must satisfy <code>0 &lt;= offset &lt;= buf.length - 1</code>.</p>
  2402. </div></li></ul></div>
  2403. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  2404. <ul>
  2405. <li>Defined in node_modules/@types/node/buffer.d.ts:1723</li></ul></aside></li></ul></section>
  2406. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeIntBE" class="tsd-anchor"></a>
  2407. <h3 class="tsd-anchor-link"><span>write<wbr/>IntBE</span><a href="#writeIntBE" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  2408. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  2409. <li class="tsd-signature tsd-anchor-link" id="writeIntBE.writeIntBE-1">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><a href="#writeIntBE.writeIntBE-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  2410. <li class="tsd-description">
  2411. <div class="tsd-comment tsd-typography"><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
  2412. signed integer.</p>
  2413. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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: &lt;Buffer 12 34 56 78 90 ab&gt;</span>
  2414. </code></pre>
  2415. <h3>Since</h3><p>v0.11.15</p>
  2416. <h3>Returns</h3><p><code>offset</code> plus the number of bytes written.</p>
  2417. </div>
  2418. <div class="tsd-parameters">
  2419. <h4 class="tsd-parameters-title">Parameters</h4>
  2420. <ul class="tsd-parameter-list">
  2421. <li>
  2422. <h5>value: <span class="tsd-signature-type">number</span></h5>
  2423. <div class="tsd-comment tsd-typography"><p>Number to be written to <code>buf</code>.</p>
  2424. </div></li>
  2425. <li>
  2426. <h5>offset: <span class="tsd-signature-type">number</span></h5>
  2427. <div class="tsd-comment tsd-typography"><p>Number of bytes to skip before starting to write. Must satisfy <code>0 &lt;= offset &lt;= buf.length - byteLength</code>.</p>
  2428. </div></li>
  2429. <li>
  2430. <h5>byteLength: <span class="tsd-signature-type">number</span></h5>
  2431. <div class="tsd-comment tsd-typography"><p>Number of bytes to write. Must satisfy <code>0 &lt; byteLength &lt;= 6</code>.</p>
  2432. </div></li></ul></div>
  2433. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  2434. <ul>
  2435. <li>Defined in node_modules/@types/node/buffer.d.ts:1040</li></ul></aside></li></ul></section>
  2436. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeIntLE" class="tsd-anchor"></a>
  2437. <h3 class="tsd-anchor-link"><span>write<wbr/>IntLE</span><a href="#writeIntLE" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  2438. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  2439. <li class="tsd-signature tsd-anchor-link" id="writeIntLE.writeIntLE-1">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><a href="#writeIntLE.writeIntLE-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  2440. <li class="tsd-description">
  2441. <div class="tsd-comment tsd-typography"><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
  2442. when <code>value</code> is anything other than a signed integer.</p>
  2443. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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: &lt;Buffer ab 90 78 56 34 12&gt;</span>
  2444. </code></pre>
  2445. <h3>Since</h3><p>v0.11.15</p>
  2446. <h3>Returns</h3><p><code>offset</code> plus the number of bytes written.</p>
  2447. </div>
  2448. <div class="tsd-parameters">
  2449. <h4 class="tsd-parameters-title">Parameters</h4>
  2450. <ul class="tsd-parameter-list">
  2451. <li>
  2452. <h5>value: <span class="tsd-signature-type">number</span></h5>
  2453. <div class="tsd-comment tsd-typography"><p>Number to be written to <code>buf</code>.</p>
  2454. </div></li>
  2455. <li>
  2456. <h5>offset: <span class="tsd-signature-type">number</span></h5>
  2457. <div class="tsd-comment tsd-typography"><p>Number of bytes to skip before starting to write. Must satisfy <code>0 &lt;= offset &lt;= buf.length - byteLength</code>.</p>
  2458. </div></li>
  2459. <li>
  2460. <h5>byteLength: <span class="tsd-signature-type">number</span></h5>
  2461. <div class="tsd-comment tsd-typography"><p>Number of bytes to write. Must satisfy <code>0 &lt; byteLength &lt;= 6</code>.</p>
  2462. </div></li></ul></div>
  2463. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  2464. <ul>
  2465. <li>Defined in node_modules/@types/node/buffer.d.ts:1019</li></ul></aside></li></ul></section>
  2466. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeUInt16BE" class="tsd-anchor"></a>
  2467. <h3 class="tsd-anchor-link"><span>writeUInt16BE</span><a href="#writeUInt16BE" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  2468. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  2469. <li class="tsd-signature tsd-anchor-link" id="writeUInt16BE.writeUInt16BE-1">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><a href="#writeUInt16BE.writeUInt16BE-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  2470. <li class="tsd-description">
  2471. <div class="tsd-comment tsd-typography"><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
  2472. unsigned 16-bit integer.</p>
  2473. <p>This function is also available under the <code>writeUint16BE</code> alias.</p>
  2474. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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: &lt;Buffer de ad be ef&gt;</span>
  2475. </code></pre>
  2476. <h3>Since</h3><p>v0.5.5</p>
  2477. <h3>Returns</h3><p><code>offset</code> plus the number of bytes written.</p>
  2478. </div>
  2479. <div class="tsd-parameters">
  2480. <h4 class="tsd-parameters-title">Parameters</h4>
  2481. <ul class="tsd-parameter-list">
  2482. <li>
  2483. <h5>value: <span class="tsd-signature-type">number</span></h5>
  2484. <div class="tsd-comment tsd-typography"><p>Number to be written to <code>buf</code>.</p>
  2485. </div></li>
  2486. <li>
  2487. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5>
  2488. <div class="tsd-comment tsd-typography"><p>Number of bytes to skip before starting to write. Must satisfy <code>0 &lt;= offset &lt;= buf.length - 2</code>.</p>
  2489. </div></li></ul></div>
  2490. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  2491. <ul>
  2492. <li>Defined in node_modules/@types/node/buffer.d.ts:1640</li></ul></aside></li></ul></section>
  2493. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeUInt16LE" class="tsd-anchor"></a>
  2494. <h3 class="tsd-anchor-link"><span>writeUInt16LE</span><a href="#writeUInt16LE" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  2495. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  2496. <li class="tsd-signature tsd-anchor-link" id="writeUInt16LE.writeUInt16LE-1">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><a href="#writeUInt16LE.writeUInt16LE-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  2497. <li class="tsd-description">
  2498. <div class="tsd-comment tsd-typography"><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
  2499. anything other than an unsigned 16-bit integer.</p>
  2500. <p>This function is also available under the <code>writeUint16LE</code> alias.</p>
  2501. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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: &lt;Buffer ad de ef be&gt;</span>
  2502. </code></pre>
  2503. <h3>Since</h3><p>v0.5.5</p>
  2504. <h3>Returns</h3><p><code>offset</code> plus the number of bytes written.</p>
  2505. </div>
  2506. <div class="tsd-parameters">
  2507. <h4 class="tsd-parameters-title">Parameters</h4>
  2508. <ul class="tsd-parameter-list">
  2509. <li>
  2510. <h5>value: <span class="tsd-signature-type">number</span></h5>
  2511. <div class="tsd-comment tsd-typography"><p>Number to be written to <code>buf</code>.</p>
  2512. </div></li>
  2513. <li>
  2514. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5>
  2515. <div class="tsd-comment tsd-typography"><p>Number of bytes to skip before starting to write. Must satisfy <code>0 &lt;= offset &lt;= buf.length - 2</code>.</p>
  2516. </div></li></ul></div>
  2517. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  2518. <ul>
  2519. <li>Defined in node_modules/@types/node/buffer.d.ts:1612</li></ul></aside></li></ul></section>
  2520. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeUInt32BE" class="tsd-anchor"></a>
  2521. <h3 class="tsd-anchor-link"><span>writeUInt32BE</span><a href="#writeUInt32BE" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  2522. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  2523. <li class="tsd-signature tsd-anchor-link" id="writeUInt32BE.writeUInt32BE-1">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><a href="#writeUInt32BE.writeUInt32BE-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  2524. <li class="tsd-description">
  2525. <div class="tsd-comment tsd-typography"><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
  2526. unsigned 32-bit integer.</p>
  2527. <p>This function is also available under the <code>writeUint32BE</code> alias.</p>
  2528. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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: &lt;Buffer fe ed fa ce&gt;</span>
  2529. </code></pre>
  2530. <h3>Since</h3><p>v0.5.5</p>
  2531. <h3>Returns</h3><p><code>offset</code> plus the number of bytes written.</p>
  2532. </div>
  2533. <div class="tsd-parameters">
  2534. <h4 class="tsd-parameters-title">Parameters</h4>
  2535. <ul class="tsd-parameter-list">
  2536. <li>
  2537. <h5>value: <span class="tsd-signature-type">number</span></h5>
  2538. <div class="tsd-comment tsd-typography"><p>Number to be written to <code>buf</code>.</p>
  2539. </div></li>
  2540. <li>
  2541. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5>
  2542. <div class="tsd-comment tsd-typography"><p>Number of bytes to skip before starting to write. Must satisfy <code>0 &lt;= offset &lt;= buf.length - 4</code>.</p>
  2543. </div></li></ul></div>
  2544. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  2545. <ul>
  2546. <li>Defined in node_modules/@types/node/buffer.d.ts:1694</li></ul></aside></li></ul></section>
  2547. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeUInt32LE" class="tsd-anchor"></a>
  2548. <h3 class="tsd-anchor-link"><span>writeUInt32LE</span><a href="#writeUInt32LE" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  2549. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  2550. <li class="tsd-signature tsd-anchor-link" id="writeUInt32LE.writeUInt32LE-1">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><a href="#writeUInt32LE.writeUInt32LE-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  2551. <li class="tsd-description">
  2552. <div class="tsd-comment tsd-typography"><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
  2553. anything other than an unsigned 32-bit integer.</p>
  2554. <p>This function is also available under the <code>writeUint32LE</code> alias.</p>
  2555. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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: &lt;Buffer ce fa ed fe&gt;</span>
  2556. </code></pre>
  2557. <h3>Since</h3><p>v0.5.5</p>
  2558. <h3>Returns</h3><p><code>offset</code> plus the number of bytes written.</p>
  2559. </div>
  2560. <div class="tsd-parameters">
  2561. <h4 class="tsd-parameters-title">Parameters</h4>
  2562. <ul class="tsd-parameter-list">
  2563. <li>
  2564. <h5>value: <span class="tsd-signature-type">number</span></h5>
  2565. <div class="tsd-comment tsd-typography"><p>Number to be written to <code>buf</code>.</p>
  2566. </div></li>
  2567. <li>
  2568. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5>
  2569. <div class="tsd-comment tsd-typography"><p>Number of bytes to skip before starting to write. Must satisfy <code>0 &lt;= offset &lt;= buf.length - 4</code>.</p>
  2570. </div></li></ul></div>
  2571. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  2572. <ul>
  2573. <li>Defined in node_modules/@types/node/buffer.d.ts:1667</li></ul></aside></li></ul></section>
  2574. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeUInt8" class="tsd-anchor"></a>
  2575. <h3 class="tsd-anchor-link"><span>writeUInt8</span><a href="#writeUInt8" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  2576. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  2577. <li class="tsd-signature tsd-anchor-link" id="writeUInt8.writeUInt8-1">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><a href="#writeUInt8.writeUInt8-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  2578. <li class="tsd-description">
  2579. <div class="tsd-comment tsd-typography"><p>Writes <code>value</code> to <code>buf</code> at the specified <code>offset</code>. <code>value</code> must be a
  2580. valid unsigned 8-bit integer. Behavior is undefined when <code>value</code> is anything
  2581. other than an unsigned 8-bit integer.</p>
  2582. <p>This function is also available under the <code>writeUint8</code> alias.</p>
  2583. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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: &lt;Buffer 03 04 23 42&gt;</span>
  2584. </code></pre>
  2585. <h3>Since</h3><p>v0.5.0</p>
  2586. <h3>Returns</h3><p><code>offset</code> plus the number of bytes written.</p>
  2587. </div>
  2588. <div class="tsd-parameters">
  2589. <h4 class="tsd-parameters-title">Parameters</h4>
  2590. <ul class="tsd-parameter-list">
  2591. <li>
  2592. <h5>value: <span class="tsd-signature-type">number</span></h5>
  2593. <div class="tsd-comment tsd-typography"><p>Number to be written to <code>buf</code>.</p>
  2594. </div></li>
  2595. <li>
  2596. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5>
  2597. <div class="tsd-comment tsd-typography"><p>Number of bytes to skip before starting to write. Must satisfy <code>0 &lt;= offset &lt;= buf.length - 1</code>.</p>
  2598. </div></li></ul></div>
  2599. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  2600. <ul>
  2601. <li>Defined in node_modules/@types/node/buffer.d.ts:1584</li></ul></aside></li></ul></section>
  2602. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeUIntBE" class="tsd-anchor"></a>
  2603. <h3 class="tsd-anchor-link"><span>writeUIntBE</span><a href="#writeUIntBE" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  2604. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  2605. <li class="tsd-signature tsd-anchor-link" id="writeUIntBE.writeUIntBE-1">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><a href="#writeUIntBE.writeUIntBE-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  2606. <li class="tsd-description">
  2607. <div class="tsd-comment tsd-typography"><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
  2608. when <code>value</code> is anything other than an unsigned integer.</p>
  2609. <p>This function is also available under the <code>writeUintBE</code> alias.</p>
  2610. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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: &lt;Buffer 12 34 56 78 90 ab&gt;</span>
  2611. </code></pre>
  2612. <h3>Since</h3><p>v0.5.5</p>
  2613. <h3>Returns</h3><p><code>offset</code> plus the number of bytes written.</p>
  2614. </div>
  2615. <div class="tsd-parameters">
  2616. <h4 class="tsd-parameters-title">Parameters</h4>
  2617. <ul class="tsd-parameter-list">
  2618. <li>
  2619. <h5>value: <span class="tsd-signature-type">number</span></h5>
  2620. <div class="tsd-comment tsd-typography"><p>Number to be written to <code>buf</code>.</p>
  2621. </div></li>
  2622. <li>
  2623. <h5>offset: <span class="tsd-signature-type">number</span></h5>
  2624. <div class="tsd-comment tsd-typography"><p>Number of bytes to skip before starting to write. Must satisfy <code>0 &lt;= offset &lt;= buf.length - byteLength</code>.</p>
  2625. </div></li>
  2626. <li>
  2627. <h5>byteLength: <span class="tsd-signature-type">number</span></h5>
  2628. <div class="tsd-comment tsd-typography"><p>Number of bytes to write. Must satisfy <code>0 &lt; byteLength &lt;= 6</code>.</p>
  2629. </div></li></ul></div>
  2630. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  2631. <ul>
  2632. <li>Defined in node_modules/@types/node/buffer.d.ts:993</li></ul></aside></li></ul></section>
  2633. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeUIntLE" class="tsd-anchor"></a>
  2634. <h3 class="tsd-anchor-link"><span>writeUIntLE</span><a href="#writeUIntLE" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  2635. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  2636. <li class="tsd-signature tsd-anchor-link" id="writeUIntLE.writeUIntLE-1">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><a href="#writeUIntLE.writeUIntLE-1" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  2637. <li class="tsd-description">
  2638. <div class="tsd-comment tsd-typography"><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
  2639. when <code>value</code> is anything other than an unsigned integer.</p>
  2640. <p>This function is also available under the <code>writeUintLE</code> alias.</p>
  2641. <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-4">&#39;buffer&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-5">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: &lt;Buffer ab 90 78 56 34 12&gt;</span>
  2642. </code></pre>
  2643. <h3>Since</h3><p>v0.5.5</p>
  2644. <h3>Returns</h3><p><code>offset</code> plus the number of bytes written.</p>
  2645. </div>
  2646. <div class="tsd-parameters">
  2647. <h4 class="tsd-parameters-title">Parameters</h4>
  2648. <ul class="tsd-parameter-list">
  2649. <li>
  2650. <h5>value: <span class="tsd-signature-type">number</span></h5>
  2651. <div class="tsd-comment tsd-typography"><p>Number to be written to <code>buf</code>.</p>
  2652. </div></li>
  2653. <li>
  2654. <h5>offset: <span class="tsd-signature-type">number</span></h5>
  2655. <div class="tsd-comment tsd-typography"><p>Number of bytes to skip before starting to write. Must satisfy <code>0 &lt;= offset &lt;= buf.length - byteLength</code>.</p>
  2656. </div></li>
  2657. <li>
  2658. <h5>byteLength: <span class="tsd-signature-type">number</span></h5>
  2659. <div class="tsd-comment tsd-typography"><p>Number of bytes to write. Must satisfy <code>0 &lt; byteLength &lt;= 6</code>.</p>
  2660. </div></li></ul></div>
  2661. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  2662. <ul>
  2663. <li>Defined in node_modules/@types/node/buffer.d.ts:965</li></ul></aside></li></ul></section>
  2664. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeUint16BE-2" class="tsd-anchor"></a>
  2665. <h3 class="tsd-anchor-link"><span>write<wbr/>Uint16BE</span><a href="#writeUint16BE-2" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  2666. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  2667. <li class="tsd-signature tsd-anchor-link" id="writeUint16BE-2.writeUint16BE-3">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><a href="#writeUint16BE-2.writeUint16BE-3" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  2668. <li class="tsd-description">
  2669. <div class="tsd-comment tsd-typography">
  2670. <h3>Alias</h3><p>Buffer.writeUInt16BE</p>
  2671. <h3>Since</h3><p>v14.9.0, v12.19.0</p>
  2672. </div>
  2673. <div class="tsd-parameters">
  2674. <h4 class="tsd-parameters-title">Parameters</h4>
  2675. <ul class="tsd-parameter-list">
  2676. <li>
  2677. <h5>value: <span class="tsd-signature-type">number</span></h5></li>
  2678. <li>
  2679. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5></li></ul></div>
  2680. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  2681. <ul>
  2682. <li>Defined in node_modules/@types/node/buffer.d.ts:1645</li></ul></aside></li></ul></section>
  2683. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeUint16LE-2" class="tsd-anchor"></a>
  2684. <h3 class="tsd-anchor-link"><span>write<wbr/>Uint16LE</span><a href="#writeUint16LE-2" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  2685. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  2686. <li class="tsd-signature tsd-anchor-link" id="writeUint16LE-2.writeUint16LE-3">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><a href="#writeUint16LE-2.writeUint16LE-3" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  2687. <li class="tsd-description">
  2688. <div class="tsd-comment tsd-typography">
  2689. <h3>Alias</h3><p>Buffer.writeUInt16LE</p>
  2690. <h3>Since</h3><p>v14.9.0, v12.19.0</p>
  2691. </div>
  2692. <div class="tsd-parameters">
  2693. <h4 class="tsd-parameters-title">Parameters</h4>
  2694. <ul class="tsd-parameter-list">
  2695. <li>
  2696. <h5>value: <span class="tsd-signature-type">number</span></h5></li>
  2697. <li>
  2698. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5></li></ul></div>
  2699. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  2700. <ul>
  2701. <li>Defined in node_modules/@types/node/buffer.d.ts:1617</li></ul></aside></li></ul></section>
  2702. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeUint32BE-2" class="tsd-anchor"></a>
  2703. <h3 class="tsd-anchor-link"><span>write<wbr/>Uint32BE</span><a href="#writeUint32BE-2" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  2704. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  2705. <li class="tsd-signature tsd-anchor-link" id="writeUint32BE-2.writeUint32BE-3">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><a href="#writeUint32BE-2.writeUint32BE-3" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  2706. <li class="tsd-description">
  2707. <div class="tsd-comment tsd-typography">
  2708. <h3>Alias</h3><p>Buffer.writeUInt32BE</p>
  2709. <h3>Since</h3><p>v14.9.0, v12.19.0</p>
  2710. </div>
  2711. <div class="tsd-parameters">
  2712. <h4 class="tsd-parameters-title">Parameters</h4>
  2713. <ul class="tsd-parameter-list">
  2714. <li>
  2715. <h5>value: <span class="tsd-signature-type">number</span></h5></li>
  2716. <li>
  2717. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5></li></ul></div>
  2718. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  2719. <ul>
  2720. <li>Defined in node_modules/@types/node/buffer.d.ts:1699</li></ul></aside></li></ul></section>
  2721. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeUint32LE-2" class="tsd-anchor"></a>
  2722. <h3 class="tsd-anchor-link"><span>write<wbr/>Uint32LE</span><a href="#writeUint32LE-2" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  2723. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  2724. <li class="tsd-signature tsd-anchor-link" id="writeUint32LE-2.writeUint32LE-3">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><a href="#writeUint32LE-2.writeUint32LE-3" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  2725. <li class="tsd-description">
  2726. <div class="tsd-comment tsd-typography">
  2727. <h3>Alias</h3><p>Buffer.writeUInt32LE</p>
  2728. <h3>Since</h3><p>v14.9.0, v12.19.0</p>
  2729. </div>
  2730. <div class="tsd-parameters">
  2731. <h4 class="tsd-parameters-title">Parameters</h4>
  2732. <ul class="tsd-parameter-list">
  2733. <li>
  2734. <h5>value: <span class="tsd-signature-type">number</span></h5></li>
  2735. <li>
  2736. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5></li></ul></div>
  2737. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  2738. <ul>
  2739. <li>Defined in node_modules/@types/node/buffer.d.ts:1672</li></ul></aside></li></ul></section>
  2740. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeUint8-2" class="tsd-anchor"></a>
  2741. <h3 class="tsd-anchor-link"><span>write<wbr/>Uint8</span><a href="#writeUint8-2" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  2742. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  2743. <li class="tsd-signature tsd-anchor-link" id="writeUint8-2.writeUint8-3">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><a href="#writeUint8-2.writeUint8-3" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  2744. <li class="tsd-description">
  2745. <div class="tsd-comment tsd-typography">
  2746. <h3>Alias</h3><p>Buffer.writeUInt8</p>
  2747. <h3>Since</h3><p>v14.9.0, v12.19.0</p>
  2748. </div>
  2749. <div class="tsd-parameters">
  2750. <h4 class="tsd-parameters-title">Parameters</h4>
  2751. <ul class="tsd-parameter-list">
  2752. <li>
  2753. <h5>value: <span class="tsd-signature-type">number</span></h5></li>
  2754. <li>
  2755. <h5><code class="tsd-tag ts-flagOptional">Optional</code> offset: <span class="tsd-signature-type">number</span></h5></li></ul></div>
  2756. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  2757. <ul>
  2758. <li>Defined in node_modules/@types/node/buffer.d.ts:1589</li></ul></aside></li></ul></section>
  2759. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeUintBE-2" class="tsd-anchor"></a>
  2760. <h3 class="tsd-anchor-link"><span>write<wbr/>UintBE</span><a href="#writeUintBE-2" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  2761. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  2762. <li class="tsd-signature tsd-anchor-link" id="writeUintBE-2.writeUintBE-3">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><a href="#writeUintBE-2.writeUintBE-3" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  2763. <li class="tsd-description">
  2764. <div class="tsd-comment tsd-typography">
  2765. <h3>Alias</h3><p>Buffer.writeUIntBE</p>
  2766. <h3>Since</h3><p>v14.9.0, v12.19.0</p>
  2767. </div>
  2768. <div class="tsd-parameters">
  2769. <h4 class="tsd-parameters-title">Parameters</h4>
  2770. <ul class="tsd-parameter-list">
  2771. <li>
  2772. <h5>value: <span class="tsd-signature-type">number</span></h5></li>
  2773. <li>
  2774. <h5>offset: <span class="tsd-signature-type">number</span></h5></li>
  2775. <li>
  2776. <h5>byteLength: <span class="tsd-signature-type">number</span></h5></li></ul></div>
  2777. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  2778. <ul>
  2779. <li>Defined in node_modules/@types/node/buffer.d.ts:998</li></ul></aside></li></ul></section>
  2780. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a id="writeUintLE-2" class="tsd-anchor"></a>
  2781. <h3 class="tsd-anchor-link"><span>write<wbr/>UintLE</span><a href="#writeUintLE-2" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
  2782. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface tsd-is-external">
  2783. <li class="tsd-signature tsd-anchor-link" id="writeUintLE-2.writeUintLE-3">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><a href="#writeUintLE-2.writeUintLE-3" aria-label="Permalink" class="tsd-anchor-icon"><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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
  2784. <li class="tsd-description">
  2785. <div class="tsd-comment tsd-typography">
  2786. <h3>Alias</h3><p>Buffer.writeUIntLE</p>
  2787. <h3>Since</h3><p>v14.9.0, v12.19.0</p>
  2788. </div>
  2789. <div class="tsd-parameters">
  2790. <h4 class="tsd-parameters-title">Parameters</h4>
  2791. <ul class="tsd-parameter-list">
  2792. <li>
  2793. <h5>value: <span class="tsd-signature-type">number</span></h5></li>
  2794. <li>
  2795. <h5>offset: <span class="tsd-signature-type">number</span></h5></li>
  2796. <li>
  2797. <h5>byteLength: <span class="tsd-signature-type">number</span></h5></li></ul></div>
  2798. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
  2799. <ul>
  2800. <li>Defined in node_modules/@types/node/buffer.d.ts:970</li></ul></aside></li></ul></section></section></div>
  2801. <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
  2802. <div class="tsd-navigation settings">
  2803. <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
  2804. <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Settings</h3></summary>
  2805. <div class="tsd-accordion-details">
  2806. <div class="tsd-filter-visibility">
  2807. <h4 class="uppercase">Member Visibility</h4><form>
  2808. <ul id="tsd-filter-options">
  2809. <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
  2810. <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
  2811. <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
  2812. <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
  2813. <div class="tsd-theme-toggle">
  2814. <h4 class="uppercase">Theme</h4><select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
  2815. <nav class="tsd-navigation primary">
  2816. <details class="tsd-index-accordion" open><summary class="tsd-accordion-summary">
  2817. <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
  2818. <div class="tsd-accordion-details">
  2819. <ul>
  2820. <li class="current"><a href="../modules.html">@rcsb/rcsb-<wbr/>saguaro-<wbr/>3d</a>
  2821. <ul>
  2822. <li class="current tsd-kind-module"><a href="../modules/RcsbFv3DAssembly.html">Rcsb<wbr/>Fv3DAssembly</a>
  2823. <ul>
  2824. <li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/RcsbFv3DAssembly._internal_.html">&lt;internal&gt;</a>
  2825. <ul>
  2826. <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">&quot;/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>geo/geometry/text/font-<wbr/>atlas&quot;</a></li>
  2827. <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">&quot;/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>gl/render-<wbr/>object&quot;</a></li>
  2828. <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">&quot;/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>gl/renderable/schema&quot;</a></li>
  2829. <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">&quot;/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>model/structure/model&quot;</a>
  2830. <ul>
  2831. <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_.IndexedCustomProperty.html">Indexed<wbr/>Custom<wbr/>Property</a></li>
  2832. <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_.Symmetry.html">Symmetry</a></li>
  2833. <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_.Types.html">Types</a>
  2834. <ul>
  2835. <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_.Types.BondType.html">Bond<wbr/>Type</a></li>
  2836. <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_.Types.SecondaryStructureType.html">Secondary<wbr/>Structure<wbr/>Type</a></li></ul></li></ul></li>
  2837. <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">&quot;/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>model/structure/model/properties/atomic&quot;</a>
  2838. <ul>
  2839. <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_.AtomicHierarchy.html">Atomic<wbr/>Hierarchy</a></li>
  2840. <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_.AtomicIndex.html">Atomic<wbr/>Index</a></li></ul></li>
  2841. <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">&quot;/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>plugin-<wbr/>state/builder/structure/representation&quot;</a>
  2842. <ul>
  2843. <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_.StructureRepresentationBuilder.html">Structure<wbr/>Representation<wbr/>Builder</a></li></ul></li>
  2844. <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">&quot;/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>plugin-<wbr/>state/transforms/data&quot;</a></li>
  2845. <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">&quot;/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>plugin-<wbr/>state/transforms/misc&quot;</a></li>
  2846. <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">&quot;/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>plugin-<wbr/>state/transforms/model&quot;</a></li>
  2847. <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">&quot;/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>plugin-<wbr/>state/transforms/representation&quot;</a>
  2848. <ul>
  2849. <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_.VolumeRepresentation3DHelpers.html">Volume<wbr/>Representation3DHelpers</a></li></ul></li>
  2850. <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">&quot;/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>plugin-<wbr/>state/transforms/shape&quot;</a></li>
  2851. <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">&quot;/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>plugin-<wbr/>state/transforms/volume&quot;</a></li>
  2852. <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">&quot;/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>repr/structure/representation&quot;</a></li>
  2853. <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">&quot;/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>repr/volume/representation&quot;</a></li>
  2854. <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">&quot;/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>script/language/symbol&quot;</a>
  2855. <ul>
  2856. <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_.Arguments.html">Arguments</a></li></ul></li>
  2857. <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">&quot;/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>script/language/type&quot;</a></li>
  2858. <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">&quot;/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>state/state/builder&quot;</a></li>
  2859. <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">&quot;/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>state/transformer&quot;</a></li>
  2860. <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">&quot;/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>task/execution/synchronous&quot;</a></li>
  2861. <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">&quot;/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>util/binding&quot;</a></li>
  2862. <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">&quot;/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>util/clip&quot;</a>
  2863. <ul>
  2864. <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_.Clip.html">Clip</a></li></ul></li>
  2865. <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">&quot;/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>util/color/color&quot;</a>
  2866. <ul>
  2867. <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_.Color.html">Color</a></li></ul></li>
  2868. <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">&quot;/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>util/color/index&quot;</a>
  2869. <ul>
  2870. <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_.Color.html">Color</a></li>
  2871. <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_.ColorScale.html">Color<wbr/>Scale</a></li></ul></li>
  2872. <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">&quot;/<wbr/>Users/joan/devel/rcsb-<wbr/>saguaro-<wbr/>3d/node_<wbr/>modules/molstar/lib/mol-<wbr/>util/uuid&quot;</a></li>
  2873. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Arguments.html">Arguments</a></li>
  2874. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.ArrayEncoder.html">Array<wbr/>Encoder</a></li>
  2875. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Assembly.html">Assembly</a></li>
  2876. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Asset.html">Asset</a></li>
  2877. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.AtomicHierarchy.html">Atomic<wbr/>Hierarchy</a></li>
  2878. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.AtomicIndex.html">Atomic<wbr/>Index</a></li>
  2879. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Axes3D.html">Axes3D</a></li>
  2880. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Binding.html">Binding</a>
  2881. <ul>
  2882. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Binding.Trigger.html">Trigger</a></li></ul></li>
  2883. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.BitFlags.html">Bit<wbr/>Flags</a></li>
  2884. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Box3D.html">Box3D</a></li>
  2885. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Bundle.html">Bundle</a></li>
  2886. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.ButtonsType.html">Buttons<wbr/>Type</a></li>
  2887. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Camera.html">Camera</a></li>
  2888. <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>
  2889. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Canvas3D.html">Canvas3D</a></li>
  2890. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Canvas3DContext.html">Canvas3DContext</a></li>
  2891. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Category.html">Category</a></li>
  2892. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Cell.html">Cell</a></li>
  2893. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.CifCategory.html">Cif<wbr/>Category</a></li>
  2894. <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>
  2895. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.CifField.html">Cif<wbr/>Field</a></li>
  2896. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Clipping.html">Clipping</a>
  2897. <ul>
  2898. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Clipping.Groups.html">Groups</a></li></ul></li>
  2899. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.CoarseHierarchy.html">Coarse<wbr/>Hierarchy</a></li>
  2900. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Collection.html">Collection</a>
  2901. <ul>
  2902. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Collection.Indexed.html">Indexed</a></li>
  2903. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Collection.Keyed.html">Keyed</a></li>
  2904. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Collection.Set.html">Set</a></li></ul></li>
  2905. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Color.html">Color</a></li>
  2906. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.ColorTheme.html">Color<wbr/>Theme</a></li>
  2907. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Column.html">Column</a>
  2908. <ul>
  2909. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Column.Schema.html">Schema</a></li></ul></li>
  2910. <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>
  2911. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Coordinates.html">Coordinates</a></li>
  2912. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.CubeFile.html">Cube<wbr/>File</a></li>
  2913. <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>
  2914. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Cylinders.html">Cylinders</a></li>
  2915. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.DirectVolume.html">Direct<wbr/>Volume</a></li>
  2916. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.DxFile.html">Dx<wbr/>File</a></li>
  2917. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Encoding.html">Encoding</a></li>
  2918. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Expression.html">Expression</a></li>
  2919. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Field.html">Field</a></li>
  2920. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Generators.html">Generators</a></li>
  2921. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Geometry.html">Geometry</a></li>
  2922. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Grid.html">Grid</a></li>
  2923. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Image.html">Image</a></li>
  2924. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Indexed.html">Indexed</a></li>
  2925. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Indexed-1.html">Indexed</a></li>
  2926. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.InputObserver.html">Input<wbr/>Observer</a></li>
  2927. <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>
  2928. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.IntMap.html">Int<wbr/>Map</a></li>
  2929. <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>
  2930. <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>
  2931. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.InteractivityManager.html">Interactivity<wbr/>Manager</a></li>
  2932. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Interval.html">Interval</a></li>
  2933. <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>
  2934. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Iterator.html">Iterator</a></li>
  2935. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Keyed.html">Keyed</a></li>
  2936. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Lines.html">Lines</a></li>
  2937. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.List.html">List</a></li>
  2938. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Location.html">Location</a></li>
  2939. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Loci.html">Loci</a></li>
  2940. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Loci-1.html">Loci</a></li>
  2941. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Loci-2.html">Loci</a></li>
  2942. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.LogEntry.html">Log<wbr/>Entry</a></li>
  2943. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Map.html">Map</a></li>
  2944. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.MarkerActions.html">Marker<wbr/>Actions</a></li>
  2945. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Mat3.html">Mat3</a></li>
  2946. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Mat4.html">Mat4</a></li>
  2947. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Material.html">Material</a></li>
  2948. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Mesh.html">Mesh</a></li>
  2949. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Model.html">Model</a></li>
  2950. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.ModifiersKeys.html">Modifiers<wbr/>Keys</a></li>
  2951. <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>
  2952. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Object3D.html">Object3D</a></li>
  2953. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.ObjectEvent.html">Object<wbr/>Event</a></li>
  2954. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.OrderedMap.html">Ordered<wbr/>Map</a></li>
  2955. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.OrderedSet.html">Ordered<wbr/>Set</a></li>
  2956. <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>
  2957. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Overpaint.html">Overpaint</a></li>
  2958. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.PickingId.html">Picking<wbr/>Id</a></li>
  2959. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.PixelData.html">Pixel<wbr/>Data</a></li>
  2960. <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>
  2961. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.PluginBehavior.html">Plugin<wbr/>Behavior</a></li>
  2962. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.PluginCommand.html">Plugin<wbr/>Command</a></li>
  2963. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.PluginSpec.html">Plugin<wbr/>Spec</a></li>
  2964. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.PluginState.html">Plugin<wbr/>State</a></li>
  2965. <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>
  2966. <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>
  2967. <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>
  2968. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Points.html">Points</a></li>
  2969. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.PrincipalAxes.html">Principal<wbr/>Axes</a></li>
  2970. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Progress.html">Progress</a></li>
  2971. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Quat.html">Quat</a></li>
  2972. <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>
  2973. <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>
  2974. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Renderer.html">Renderer</a></li>
  2975. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Representation.html">Representation</a>
  2976. <ul>
  2977. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Representation.Loci.html">Loci</a></li></ul></li>
  2978. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.RepresentationProvider.html">Representation<wbr/>Provider</a></li>
  2979. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Result.html">Result</a></li>
  2980. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.RuntimeContext.html">Runtime<wbr/>Context</a></li>
  2981. <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>
  2982. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Scene.html">Scene</a></li>
  2983. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Script.html">Script</a></li>
  2984. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Segmentation.html">Segmentation</a></li>
  2985. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Seq.html">Seq</a>
  2986. <ul>
  2987. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Seq.Indexed.html">Indexed</a></li>
  2988. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Seq.Keyed.html">Keyed</a></li>
  2989. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Seq.Set.html">Set</a></li></ul></li>
  2990. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Sequence.html">Sequence</a></li>
  2991. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Set.html">Set</a></li>
  2992. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Set-1.html">Set</a></li>
  2993. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Shape.html">Shape</a></li>
  2994. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.SizeTheme.html">Size<wbr/>Theme</a></li>
  2995. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.SortedArray.html">Sorted<wbr/>Array</a></li>
  2996. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.SortedRanges.html">Sorted<wbr/>Ranges</a></li>
  2997. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Spacegroup.html">Spacegroup</a></li>
  2998. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.SpacegroupCell.html">Spacegroup<wbr/>Cell</a></li>
  2999. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Sphere3D.html">Sphere3D</a></li>
  3000. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Spheres.html">Spheres</a></li>
  3001. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Stack.html">Stack</a></li>
  3002. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.State.html">State</a>
  3003. <ul>
  3004. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.State.ObjectEvent.html">Object<wbr/>Event</a></li></ul></li>
  3005. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.StateAction.html">State<wbr/>Action</a>
  3006. <ul>
  3007. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.StateAction.Builder.html">Builder</a></li></ul></li>
  3008. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.StateBuilder.html">State<wbr/>Builder</a></li>
  3009. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.StateObject.html">State<wbr/>Object</a></li>
  3010. <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>
  3011. <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>
  3012. <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>
  3013. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.StateTree.html">State<wbr/>Tree</a></li>
  3014. <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>
  3015. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.StereoCamera.html">Stereo<wbr/>Camera</a></li>
  3016. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Structure.html">Structure</a></li>
  3017. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Structure-1.html">Structure</a></li>
  3018. <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>
  3019. <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>
  3020. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.StructureQuery.html">Structure<wbr/>Query</a></li>
  3021. <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>
  3022. <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>
  3023. <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>
  3024. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.StructureResult.html">Structure<wbr/>Result</a></li>
  3025. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.StructureSelection.html">Structure<wbr/>Selection</a></li>
  3026. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.StructureSequence.html">Structure<wbr/>Sequence</a></li>
  3027. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Substance.html">Substance</a></li>
  3028. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.SymmetryGroup.html">Symmetry<wbr/>Group</a></li>
  3029. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.SymmetryOperator.html">Symmetry<wbr/>Operator</a></li>
  3030. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Table.html">Table</a></li>
  3031. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Task.html">Task</a></li>
  3032. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.TaskManager.html">Task<wbr/>Manager</a></li>
  3033. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Tensor.html">Tensor</a></li>
  3034. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Text.html">Text</a></li>
  3035. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.TextureMesh.html">Texture<wbr/>Mesh</a></li>
  3036. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Theme.html">Theme</a></li>
  3037. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Time.html">Time</a></li>
  3038. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Topology.html">Topology</a></li>
  3039. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Traits.html">Traits</a></li>
  3040. <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>
  3041. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Transform.html">Transform</a></li>
  3042. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Transformer.html">Transformer</a>
  3043. <ul>
  3044. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Transformer.Builder.html">Builder</a></li></ul></li>
  3045. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Transparency.html">Transparency</a></li>
  3046. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Type.html">Type</a></li>
  3047. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.UUID.html">UUID</a></li>
  3048. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Unit.html">Unit</a>
  3049. <ul>
  3050. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Unit.SymmetryGroup.html">Symmetry<wbr/>Group</a></li>
  3051. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Unit.Traits.html">Traits</a></li></ul></li>
  3052. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.UnitRing.html">Unit<wbr/>Ring</a></li>
  3053. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.UnitRings.html">Unit<wbr/>Rings</a></li>
  3054. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.ValueBox.html">Value<wbr/>Box</a></li>
  3055. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.ValueCell.html">Value<wbr/>Cell</a></li>
  3056. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.ValueRef.html">Value<wbr/>Ref</a></li>
  3057. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Vec2.html">Vec2</a></li>
  3058. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Vec3.html">Vec3</a></li>
  3059. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Vec4.html">Vec4</a></li>
  3060. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Viewport.html">Viewport</a></li>
  3061. <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>
  3062. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Visual.html">Visual</a></li>
  3063. <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>
  3064. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Volume.html">Volume</a>
  3065. <ul>
  3066. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Volume.Cell.html">Cell</a></li>
  3067. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Volume.IsoValue.html">Iso<wbr/>Value</a></li>
  3068. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.Volume.Isosurface.html">Isosurface</a></li></ul></li>
  3069. <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>
  3070. <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>
  3071. <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>
  3072. <ul>
  3073. <li class="tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external"><a href="../modules/RcsbFv3DAssembly._internal_.VolumeServerHeader.ValueType.html">Value<wbr/>Type</a></li></ul></li>
  3074. <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>
  3075. <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>
  3076. <li class="tsd-kind-module"><a href="../modules/RcsbFv3DCustom.html">Rcsb<wbr/>Fv3DCustom</a></li></ul></li></ul></div></details></nav>
  3077. <nav class="tsd-navigation secondary menu-sticky">
  3078. <ul>
  3079. <li class="current tsd-kind-interface tsd-parent-kind-namespace tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg><span>Buffer</span></a>
  3080. <ul>
  3081. <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-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>BYTES_<wbr/>PER_<wbr/>ELEMENT</a></li>
  3082. <li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#_toStringTag_" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>[to<wbr/>String<wbr/>Tag]</a></li>
  3083. <li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#buffer" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>buffer</a></li>
  3084. <li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#byteLength" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>byte<wbr/>Length</a></li>
  3085. <li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#byteOffset" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>byte<wbr/>Offset</a></li>
  3086. <li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#length" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>length</a></li>
  3087. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#_iterator_" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>[iterator]</a></li>
  3088. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#at" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>at</a></li>
  3089. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#compare" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>compare</a></li>
  3090. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#copy" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>copy</a></li>
  3091. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#copyWithin" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>copy<wbr/>Within</a></li>
  3092. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#entries" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>entries</a></li>
  3093. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#equals" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>equals</a></li>
  3094. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#every" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>every</a></li>
  3095. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#fill" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>fill</a></li>
  3096. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#filter" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>filter</a></li>
  3097. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#find" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>find</a></li>
  3098. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#findIndex" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>find<wbr/>Index</a></li>
  3099. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#forEach" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>for<wbr/>Each</a></li>
  3100. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#includes" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>includes</a></li>
  3101. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#indexOf" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>index<wbr/>Of</a></li>
  3102. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#join" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>join</a></li>
  3103. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#keys" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>keys</a></li>
  3104. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#lastIndexOf" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>last<wbr/>Index<wbr/>Of</a></li>
  3105. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#map" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>map</a></li>
  3106. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readBigInt64BE" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>read<wbr/>Big<wbr/>Int64BE</a></li>
  3107. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readBigInt64LE" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>read<wbr/>Big<wbr/>Int64LE</a></li>
  3108. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readBigUInt64BE" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>read<wbr/>BigUInt64BE</a></li>
  3109. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readBigUInt64LE" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>read<wbr/>BigUInt64LE</a></li>
  3110. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readBigUint64BE-2" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>read<wbr/>Big<wbr/>Uint64BE</a></li>
  3111. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readBigUint64LE-2" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>read<wbr/>Big<wbr/>Uint64LE</a></li>
  3112. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readDoubleBE" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>read<wbr/>DoubleBE</a></li>
  3113. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readDoubleLE" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>read<wbr/>DoubleLE</a></li>
  3114. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readFloatBE" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>read<wbr/>FloatBE</a></li>
  3115. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readFloatLE" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>read<wbr/>FloatLE</a></li>
  3116. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readInt16BE" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>read<wbr/>Int16BE</a></li>
  3117. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readInt16LE" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>read<wbr/>Int16LE</a></li>
  3118. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readInt32BE" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>read<wbr/>Int32BE</a></li>
  3119. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readInt32LE" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>read<wbr/>Int32LE</a></li>
  3120. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readInt8" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>read<wbr/>Int8</a></li>
  3121. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readIntBE" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>read<wbr/>IntBE</a></li>
  3122. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readIntLE" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>read<wbr/>IntLE</a></li>
  3123. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readUInt16BE" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>readUInt16BE</a></li>
  3124. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readUInt16LE" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>readUInt16LE</a></li>
  3125. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readUInt32BE" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>readUInt32BE</a></li>
  3126. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readUInt32LE" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>readUInt32LE</a></li>
  3127. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readUInt8" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>readUInt8</a></li>
  3128. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readUIntBE" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>readUIntBE</a></li>
  3129. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readUIntLE" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>readUIntLE</a></li>
  3130. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readUint16BE-2" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>read<wbr/>Uint16BE</a></li>
  3131. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readUint16LE-2" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>read<wbr/>Uint16LE</a></li>
  3132. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readUint32BE-2" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>read<wbr/>Uint32BE</a></li>
  3133. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readUint32LE-2" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>read<wbr/>Uint32LE</a></li>
  3134. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readUint8-2" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>read<wbr/>Uint8</a></li>
  3135. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readUintBE-2" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>read<wbr/>UintBE</a></li>
  3136. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#readUintLE-2" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>read<wbr/>UintLE</a></li>
  3137. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#reduce" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>reduce</a></li>
  3138. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#reduceRight" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>reduce<wbr/>Right</a></li>
  3139. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#reverse" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>reverse</a></li>
  3140. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#set" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>set</a></li>
  3141. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#slice" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>slice</a></li>
  3142. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#some" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>some</a></li>
  3143. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#sort" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>sort</a></li>
  3144. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#subarray" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>subarray</a></li>
  3145. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#swap16" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>swap16</a></li>
  3146. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#swap32" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>swap32</a></li>
  3147. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#swap64" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>swap64</a></li>
  3148. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#toJSON" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>toJSON</a></li>
  3149. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#toLocaleString" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>to<wbr/>Locale<wbr/>String</a></li>
  3150. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#toString" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>to<wbr/>String</a></li>
  3151. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#valueOf" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>value<wbr/>Of</a></li>
  3152. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#values" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>values</a></li>
  3153. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#write" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>write</a></li>
  3154. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeBigInt64BE" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>write<wbr/>Big<wbr/>Int64BE</a></li>
  3155. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeBigInt64LE" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>write<wbr/>Big<wbr/>Int64LE</a></li>
  3156. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeBigUInt64BE" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>write<wbr/>BigUInt64BE</a></li>
  3157. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeBigUInt64LE" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>write<wbr/>BigUInt64LE</a></li>
  3158. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeBigUint64BE-2" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>write<wbr/>Big<wbr/>Uint64BE</a></li>
  3159. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeBigUint64LE-2" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>write<wbr/>Big<wbr/>Uint64LE</a></li>
  3160. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeDoubleBE" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>write<wbr/>DoubleBE</a></li>
  3161. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeDoubleLE" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>write<wbr/>DoubleLE</a></li>
  3162. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeFloatBE" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>write<wbr/>FloatBE</a></li>
  3163. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeFloatLE" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>write<wbr/>FloatLE</a></li>
  3164. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeInt16BE" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>write<wbr/>Int16BE</a></li>
  3165. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeInt16LE" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>write<wbr/>Int16LE</a></li>
  3166. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeInt32BE" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>write<wbr/>Int32BE</a></li>
  3167. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeInt32LE" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>write<wbr/>Int32LE</a></li>
  3168. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeInt8" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>write<wbr/>Int8</a></li>
  3169. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeIntBE" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>write<wbr/>IntBE</a></li>
  3170. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeIntLE" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>write<wbr/>IntLE</a></li>
  3171. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUInt16BE" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>writeUInt16BE</a></li>
  3172. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUInt16LE" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>writeUInt16LE</a></li>
  3173. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUInt32BE" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>writeUInt32BE</a></li>
  3174. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUInt32LE" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>writeUInt32LE</a></li>
  3175. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUInt8" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>writeUInt8</a></li>
  3176. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUIntBE" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>writeUIntBE</a></li>
  3177. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUIntLE" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>writeUIntLE</a></li>
  3178. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUint16BE-2" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>write<wbr/>Uint16BE</a></li>
  3179. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUint16LE-2" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>write<wbr/>Uint16LE</a></li>
  3180. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUint32BE-2" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>write<wbr/>Uint32BE</a></li>
  3181. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUint32LE-2" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>write<wbr/>Uint32LE</a></li>
  3182. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUint8-2" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>write<wbr/>Uint8</a></li>
  3183. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUintBE-2" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>write<wbr/>UintBE</a></li>
  3184. <li class="tsd-kind-method tsd-parent-kind-interface tsd-is-external"><a href="RcsbFv3DAssembly._internal_.Buffer.html#writeUintLE-2" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>write<wbr/>UintLE</a></li></ul></li></ul></nav></div></div>
  3185. <div class="container tsd-generator">
  3186. <p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
  3187. <div class="overlay"></div><script src="../assets/main.js"></script></body></html>