diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/404.html b/404.html new file mode 100644 index 0000000..5137d0d --- /dev/null +++ b/404.html @@ -0,0 +1,13 @@ + + + + + +Page Not Found | asn1js + + + + +
Skip to main content

Page Not Found

We could not find what you were looking for.

Please contact the owner of the site that linked you to the original URL and let them know their link is broken.

+ + \ No newline at end of file diff --git a/LICENSE b/LICENSE deleted file mode 100644 index e7bf0d0..0000000 --- a/LICENSE +++ /dev/null @@ -1,27 +0,0 @@ -Copyright (c) 2014, GlobalSign -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, this - list of conditions and the following disclaimer in the documentation and/or - other materials provided with the distribution. - -* Neither the name of the {organization} nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/README.md b/README.md deleted file mode 100644 index db1f33d..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -ASN1.js -======= - -Abstract Syntax Notation One (ASN.1) is a standard and notation that describes rules and structures for representing, encoding, transmitting, and decoding data in telecommunications and computer networking. ASN1.js is a pure JavaScript library implementing this standard. ASN.1 is the basis of all X.509 related data structures and numerous other protocols used on the web. diff --git a/assets/css/styles.15396c48.css b/assets/css/styles.15396c48.css new file mode 100644 index 0000000..d10775d --- /dev/null +++ b/assets/css/styles.15396c48.css @@ -0,0 +1 @@ +@import url(https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap);.col,.container{padding:0 var(--ifm-spacing-horizontal);width:100%}.markdown>h2,.markdown>h3,.markdown>h4,.markdown>h5,.markdown>h6{margin-bottom:calc(var(--ifm-heading-vertical-rhythm-bottom)*var(--ifm-leading))}.markdown li,body{word-wrap:break-word}body,ol ol,ol ul,ul ol,ul ul{margin:0}pre,table{overflow:auto}blockquote,pre{margin:0 0 var(--ifm-spacing-vertical)}.breadcrumbs__link,.button{transition-timing-function:var(--ifm-transition-timing-default)}.button,code{vertical-align:middle}.button--outline.button--active,.button--outline:active,.button--outline:hover,:root{--ifm-button-color:var(--ifm-font-color-base-inverse)}.menu__link:hover,a{transition:color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.navbar--dark,:root{--ifm-navbar-link-hover-color:var(--ifm-color-primary)}.menu,.navbar-sidebar{overflow-x:hidden}:root,html[data-theme=dark]{--ifm-color-emphasis-500:var(--ifm-color-gray-500)}.toggleButton_gllP,html{-webkit-tap-highlight-color:transparent}.clean-list,.containsTaskList_mC6p,.details_lb9f>summary,.dropdown__menu,.menu__list{list-style:none}:root{--ifm-color-scheme:light;--ifm-dark-value:10%;--ifm-darker-value:15%;--ifm-darkest-value:30%;--ifm-light-value:15%;--ifm-lighter-value:30%;--ifm-lightest-value:50%;--ifm-contrast-background-value:90%;--ifm-contrast-foreground-value:70%;--ifm-contrast-background-dark-value:70%;--ifm-contrast-foreground-dark-value:90%;--ifm-color-primary:#3578e5;--ifm-color-secondary:#ebedf0;--ifm-color-success:#00a400;--ifm-color-info:#54c7ec;--ifm-color-warning:#ffba00;--ifm-color-danger:#fa383e;--ifm-color-primary-dark:#306cce;--ifm-color-primary-darker:#2d66c3;--ifm-color-primary-darkest:#2554a0;--ifm-color-primary-light:#538ce9;--ifm-color-primary-lighter:#72a1ed;--ifm-color-primary-lightest:#9abcf2;--ifm-color-primary-contrast-background:#ebf2fc;--ifm-color-primary-contrast-foreground:#102445;--ifm-color-secondary-dark:#d4d5d8;--ifm-color-secondary-darker:#c8c9cc;--ifm-color-secondary-darkest:#a4a6a8;--ifm-color-secondary-light:#eef0f2;--ifm-color-secondary-lighter:#f1f2f5;--ifm-color-secondary-lightest:#f5f6f8;--ifm-color-secondary-contrast-background:#fdfdfe;--ifm-color-secondary-contrast-foreground:#474748;--ifm-color-success-dark:#009400;--ifm-color-success-darker:#008b00;--ifm-color-success-darkest:#007300;--ifm-color-success-light:#26b226;--ifm-color-success-lighter:#4dbf4d;--ifm-color-success-lightest:#80d280;--ifm-color-success-contrast-background:#e6f6e6;--ifm-color-success-contrast-foreground:#003100;--ifm-color-info-dark:#4cb3d4;--ifm-color-info-darker:#47a9c9;--ifm-color-info-darkest:#3b8ba5;--ifm-color-info-light:#6ecfef;--ifm-color-info-lighter:#87d8f2;--ifm-color-info-lightest:#aae3f6;--ifm-color-info-contrast-background:#eef9fd;--ifm-color-info-contrast-foreground:#193c47;--ifm-color-warning-dark:#e6a700;--ifm-color-warning-darker:#d99e00;--ifm-color-warning-darkest:#b38200;--ifm-color-warning-light:#ffc426;--ifm-color-warning-lighter:#ffcf4d;--ifm-color-warning-lightest:#ffdd80;--ifm-color-warning-contrast-background:#fff8e6;--ifm-color-warning-contrast-foreground:#4d3800;--ifm-color-danger-dark:#e13238;--ifm-color-danger-darker:#d53035;--ifm-color-danger-darkest:#af272b;--ifm-color-danger-light:#fb565b;--ifm-color-danger-lighter:#fb7478;--ifm-color-danger-lightest:#fd9c9f;--ifm-color-danger-contrast-background:#ffebec;--ifm-color-danger-contrast-foreground:#4b1113;--ifm-color-white:#fff;--ifm-color-black:#000;--ifm-color-gray-0:var(--ifm-color-white);--ifm-color-gray-100:#f5f6f7;--ifm-color-gray-200:#ebedf0;--ifm-color-gray-300:#dadde1;--ifm-color-gray-400:#ccd0d5;--ifm-color-gray-500:#bec3c9;--ifm-color-gray-600:#8d949e;--ifm-color-gray-700:#606770;--ifm-color-gray-800:#444950;--ifm-color-gray-900:#1c1e21;--ifm-color-gray-1000:var(--ifm-color-black);--ifm-color-emphasis-0:var(--ifm-color-gray-0);--ifm-color-emphasis-100:var(--ifm-color-gray-100);--ifm-color-emphasis-200:var(--ifm-color-gray-200);--ifm-color-emphasis-300:var(--ifm-color-gray-300);--ifm-color-emphasis-400:var(--ifm-color-gray-400);--ifm-color-emphasis-600:var(--ifm-color-gray-600);--ifm-color-emphasis-700:var(--ifm-color-gray-700);--ifm-color-emphasis-800:var(--ifm-color-gray-800);--ifm-color-emphasis-900:var(--ifm-color-gray-900);--ifm-color-emphasis-1000:var(--ifm-color-gray-1000);--ifm-color-content:var(--ifm-color-emphasis-900);--ifm-color-content-inverse:var(--ifm-color-emphasis-0);--ifm-color-content-secondary:#525860;--ifm-background-color:#0000;--ifm-background-surface-color:var(--ifm-color-content-inverse);--ifm-global-border-width:1px;--ifm-global-radius:0.4rem;--ifm-hover-overlay:#0000000d;--ifm-font-color-base:var(--ifm-color-content);--ifm-font-color-base-inverse:var(--ifm-color-content-inverse);--ifm-font-color-secondary:var(--ifm-color-content-secondary);--ifm-font-family-base:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";--ifm-font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--ifm-font-size-base:100%;--ifm-font-weight-light:300;--ifm-font-weight-normal:400;--ifm-font-weight-semibold:500;--ifm-font-weight-bold:700;--ifm-font-weight-base:var(--ifm-font-weight-normal);--ifm-line-height-base:1.65;--ifm-global-spacing:1rem;--ifm-spacing-vertical:var(--ifm-global-spacing);--ifm-spacing-horizontal:var(--ifm-global-spacing);--ifm-transition-fast:200ms;--ifm-transition-slow:400ms;--ifm-transition-timing-default:cubic-bezier(0.08,0.52,0.52,1);--ifm-global-shadow-lw:0 1px 2px 0 #0000001a;--ifm-global-shadow-md:0 5px 40px #0003;--ifm-global-shadow-tl:0 12px 28px 0 #0003,0 2px 4px 0 #0000001a;--ifm-z-index-dropdown:100;--ifm-z-index-fixed:200;--ifm-z-index-overlay:400;--ifm-container-width:1140px;--ifm-container-width-xl:1320px;--ifm-code-background:#f6f7f8;--ifm-code-border-radius:var(--ifm-global-radius);--ifm-code-font-size:90%;--ifm-code-padding-horizontal:0.1rem;--ifm-code-padding-vertical:0.1rem;--ifm-pre-background:var(--ifm-code-background);--ifm-pre-border-radius:var(--ifm-code-border-radius);--ifm-pre-color:inherit;--ifm-pre-line-height:1.45;--ifm-pre-padding:1rem;--ifm-heading-color:inherit;--ifm-heading-margin-top:0;--ifm-heading-margin-bottom:var(--ifm-spacing-vertical);--ifm-heading-font-family:var(--ifm-font-family-base);--ifm-heading-font-weight:var(--ifm-font-weight-bold);--ifm-heading-line-height:1.25;--ifm-h1-font-size:2rem;--ifm-h2-font-size:1.5rem;--ifm-h3-font-size:1.25rem;--ifm-h4-font-size:1rem;--ifm-h5-font-size:0.875rem;--ifm-h6-font-size:0.85rem;--ifm-image-alignment-padding:1.25rem;--ifm-leading-desktop:1.25;--ifm-leading:calc(var(--ifm-leading-desktop)*1rem);--ifm-list-left-padding:2rem;--ifm-list-margin:1rem;--ifm-list-item-margin:0.25rem;--ifm-list-paragraph-margin:1rem;--ifm-table-cell-padding:0.75rem;--ifm-table-background:#0000;--ifm-table-stripe-background:#00000008;--ifm-table-border-width:1px;--ifm-table-border-color:var(--ifm-color-emphasis-300);--ifm-table-head-background:inherit;--ifm-table-head-color:inherit;--ifm-table-head-font-weight:var(--ifm-font-weight-bold);--ifm-table-cell-color:inherit;--ifm-link-color:var(--ifm-color-primary);--ifm-link-decoration:none;--ifm-link-hover-color:var(--ifm-link-color);--ifm-link-hover-decoration:underline;--ifm-paragraph-margin-bottom:var(--ifm-leading);--ifm-blockquote-font-size:var(--ifm-font-size-base);--ifm-blockquote-border-left-width:2px;--ifm-blockquote-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-blockquote-padding-vertical:0;--ifm-blockquote-shadow:none;--ifm-blockquote-color:var(--ifm-color-emphasis-800);--ifm-blockquote-border-color:var(--ifm-color-emphasis-300);--ifm-hr-background-color:var(--ifm-color-emphasis-500);--ifm-hr-height:1px;--ifm-hr-margin-vertical:1.5rem;--ifm-scrollbar-size:7px;--ifm-scrollbar-track-background-color:#f1f1f1;--ifm-scrollbar-thumb-background-color:silver;--ifm-scrollbar-thumb-hover-background-color:#a7a7a7;--ifm-alert-background-color:inherit;--ifm-alert-border-color:inherit;--ifm-alert-border-radius:var(--ifm-global-radius);--ifm-alert-border-width:0px;--ifm-alert-border-left-width:5px;--ifm-alert-color:var(--ifm-font-color-base);--ifm-alert-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-alert-padding-vertical:var(--ifm-spacing-vertical);--ifm-alert-shadow:var(--ifm-global-shadow-lw);--ifm-avatar-intro-margin:1rem;--ifm-avatar-intro-alignment:inherit;--ifm-avatar-photo-size:3rem;--ifm-badge-background-color:inherit;--ifm-badge-border-color:inherit;--ifm-badge-border-radius:var(--ifm-global-radius);--ifm-badge-border-width:var(--ifm-global-border-width);--ifm-badge-color:var(--ifm-color-white);--ifm-badge-padding-horizontal:calc(var(--ifm-spacing-horizontal)*0.5);--ifm-badge-padding-vertical:calc(var(--ifm-spacing-vertical)*0.25);--ifm-breadcrumb-border-radius:1.5rem;--ifm-breadcrumb-spacing:0.5rem;--ifm-breadcrumb-color-active:var(--ifm-color-primary);--ifm-breadcrumb-item-background-active:var(--ifm-hover-overlay);--ifm-breadcrumb-padding-horizontal:0.8rem;--ifm-breadcrumb-padding-vertical:0.4rem;--ifm-breadcrumb-size-multiplier:1;--ifm-breadcrumb-separator:url('data:image/svg+xml;utf8,');--ifm-breadcrumb-separator-filter:none;--ifm-breadcrumb-separator-size:0.5rem;--ifm-breadcrumb-separator-size-multiplier:1.25;--ifm-button-background-color:inherit;--ifm-button-border-color:var(--ifm-button-background-color);--ifm-button-border-width:var(--ifm-global-border-width);--ifm-button-font-weight:var(--ifm-font-weight-bold);--ifm-button-padding-horizontal:1.5rem;--ifm-button-padding-vertical:0.375rem;--ifm-button-size-multiplier:1;--ifm-button-transition-duration:var(--ifm-transition-fast);--ifm-button-border-radius:calc(var(--ifm-global-radius)*var(--ifm-button-size-multiplier));--ifm-button-group-spacing:2px;--ifm-card-background-color:var(--ifm-background-surface-color);--ifm-card-border-radius:calc(var(--ifm-global-radius)*2);--ifm-card-horizontal-spacing:var(--ifm-global-spacing);--ifm-card-vertical-spacing:var(--ifm-global-spacing);--ifm-toc-border-color:var(--ifm-color-emphasis-300);--ifm-toc-link-color:var(--ifm-color-content-secondary);--ifm-toc-padding-vertical:0.5rem;--ifm-toc-padding-horizontal:0.5rem;--ifm-dropdown-background-color:var(--ifm-background-surface-color);--ifm-dropdown-font-weight:var(--ifm-font-weight-semibold);--ifm-dropdown-link-color:var(--ifm-font-color-base);--ifm-dropdown-hover-background-color:var(--ifm-hover-overlay);--ifm-footer-background-color:var(--ifm-color-emphasis-100);--ifm-footer-color:inherit;--ifm-footer-link-color:var(--ifm-color-emphasis-700);--ifm-footer-link-hover-color:var(--ifm-color-primary);--ifm-footer-link-horizontal-spacing:0.5rem;--ifm-footer-padding-horizontal:calc(var(--ifm-spacing-horizontal)*2);--ifm-footer-padding-vertical:calc(var(--ifm-spacing-vertical)*2);--ifm-footer-title-color:inherit;--ifm-footer-logo-max-width:min(30rem,90vw);--ifm-hero-background-color:var(--ifm-background-surface-color);--ifm-hero-text-color:var(--ifm-color-emphasis-800);--ifm-menu-color:var(--ifm-color-emphasis-700);--ifm-menu-color-active:var(--ifm-color-primary);--ifm-menu-color-background-active:var(--ifm-hover-overlay);--ifm-menu-color-background-hover:var(--ifm-hover-overlay);--ifm-menu-link-padding-horizontal:0.75rem;--ifm-menu-link-padding-vertical:0.375rem;--ifm-menu-link-sublist-icon:url('data:image/svg+xml;utf8,');--ifm-menu-link-sublist-icon-filter:none;--ifm-navbar-background-color:var(--ifm-background-surface-color);--ifm-navbar-height:3.75rem;--ifm-navbar-item-padding-horizontal:0.75rem;--ifm-navbar-item-padding-vertical:0.25rem;--ifm-navbar-link-color:var(--ifm-font-color-base);--ifm-navbar-link-active-color:var(--ifm-link-color);--ifm-navbar-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-navbar-padding-vertical:calc(var(--ifm-spacing-vertical)*0.5);--ifm-navbar-shadow:var(--ifm-global-shadow-lw);--ifm-navbar-search-input-background-color:var(--ifm-color-emphasis-200);--ifm-navbar-search-input-color:var(--ifm-color-emphasis-800);--ifm-navbar-search-input-placeholder-color:var(--ifm-color-emphasis-500);--ifm-navbar-search-input-icon:url('data:image/svg+xml;utf8,');--ifm-navbar-sidebar-width:83vw;--ifm-pagination-border-radius:var(--ifm-global-radius);--ifm-pagination-color-active:var(--ifm-color-primary);--ifm-pagination-font-size:1rem;--ifm-pagination-item-active-background:var(--ifm-hover-overlay);--ifm-pagination-page-spacing:0.2em;--ifm-pagination-padding-horizontal:calc(var(--ifm-spacing-horizontal)*1);--ifm-pagination-padding-vertical:calc(var(--ifm-spacing-vertical)*0.25);--ifm-pagination-nav-border-radius:var(--ifm-global-radius);--ifm-pagination-nav-color-hover:var(--ifm-color-primary);--ifm-pills-color-active:var(--ifm-color-primary);--ifm-pills-color-background-active:var(--ifm-hover-overlay);--ifm-pills-spacing:0.125rem;--ifm-tabs-color:var(--ifm-font-color-secondary);--ifm-tabs-color-active:var(--ifm-color-primary);--ifm-tabs-color-active-border:var(--ifm-tabs-color-active);--ifm-tabs-padding-horizontal:1rem;--ifm-tabs-padding-vertical:1rem;--docusaurus-progress-bar-color:var(--ifm-color-primary);--ifm-font-family-base:"Open Sans",Arial,sans-serif;--docusaurus-announcement-bar-height:auto;--docusaurus-tag-list-border:var(--ifm-color-emphasis-300);--docusaurus-collapse-button-bg:#0000;--docusaurus-collapse-button-bg-hover:#0000001a;--doc-sidebar-width:300px;--doc-sidebar-hidden-width:30px}.badge--danger,.badge--info,.badge--primary,.badge--secondary,.badge--success,.badge--warning{--ifm-badge-border-color:var(--ifm-badge-background-color)}.button--link,.button--outline{--ifm-button-background-color:#0000}*{box-sizing:border-box}html{-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;text-size-adjust:100%;background-color:var(--ifm-background-color);color:var(--ifm-font-color-base);color-scheme:var(--ifm-color-scheme);font:var(--ifm-font-size-base)/var(--ifm-line-height-base) var(--ifm-font-family-base);text-rendering:optimizelegibility}iframe{border:0;color-scheme:auto}.container{margin:0 auto;max-width:var(--ifm-container-width)}.container--fluid{max-width:inherit}.row{display:flex;flex-wrap:wrap;margin:0 calc(var(--ifm-spacing-horizontal)*-1)}.margin-bottom--none,.margin-vert--none,.markdown>:last-child{margin-bottom:0!important}.margin-top--none,.margin-vert--none{margin-top:0!important}.row--no-gutters{margin-left:0;margin-right:0}.margin-horiz--none,.margin-right--none{margin-right:0!important}.row--no-gutters>.col{padding-left:0;padding-right:0}.row--align-top{align-items:flex-start}.row--align-bottom{align-items:flex-end}.menuExternalLink_NmtK,.row--align-center{align-items:center}.row--align-stretch{align-items:stretch}.row--align-baseline{align-items:baseline}.col{--ifm-col-width:100%;flex:1 0;margin-left:0;max-width:var(--ifm-col-width)}.padding-bottom--none,.padding-vert--none{padding-bottom:0!important}.padding-top--none,.padding-vert--none{padding-top:0!important}.padding-horiz--none,.padding-left--none{padding-left:0!important}.padding-horiz--none,.padding-right--none{padding-right:0!important}.col[class*=col--]{flex:0 0 var(--ifm-col-width)}.col--1{--ifm-col-width:8.33333%}.col--offset-1{margin-left:8.33333%}.col--2{--ifm-col-width:16.66667%}.col--offset-2{margin-left:16.66667%}.col--3{--ifm-col-width:25%}.col--offset-3{margin-left:25%}.col--4{--ifm-col-width:33.33333%}.col--offset-4{margin-left:33.33333%}.col--5{--ifm-col-width:41.66667%}.col--offset-5{margin-left:41.66667%}.col--6{--ifm-col-width:50%}.col--offset-6{margin-left:50%}.col--7{--ifm-col-width:58.33333%}.col--offset-7{margin-left:58.33333%}.col--8{--ifm-col-width:66.66667%}.col--offset-8{margin-left:66.66667%}.col--9{--ifm-col-width:75%}.col--offset-9{margin-left:75%}.col--10{--ifm-col-width:83.33333%}.col--offset-10{margin-left:83.33333%}.col--11{--ifm-col-width:91.66667%}.col--offset-11{margin-left:91.66667%}.col--12{--ifm-col-width:100%}.col--offset-12{margin-left:100%}.margin-horiz--none,.margin-left--none{margin-left:0!important}.margin--none{margin:0!important}.margin-bottom--xs,.margin-vert--xs{margin-bottom:.25rem!important}.margin-top--xs,.margin-vert--xs{margin-top:.25rem!important}.margin-horiz--xs,.margin-left--xs{margin-left:.25rem!important}.margin-horiz--xs,.margin-right--xs{margin-right:.25rem!important}.margin--xs{margin:.25rem!important}.margin-bottom--sm,.margin-vert--sm{margin-bottom:.5rem!important}.margin-top--sm,.margin-vert--sm{margin-top:.5rem!important}.margin-horiz--sm,.margin-left--sm{margin-left:.5rem!important}.margin-horiz--sm,.margin-right--sm{margin-right:.5rem!important}.margin--sm{margin:.5rem!important}.margin-bottom--md,.margin-vert--md{margin-bottom:1rem!important}.margin-top--md,.margin-vert--md{margin-top:1rem!important}.margin-horiz--md,.margin-left--md{margin-left:1rem!important}.margin-horiz--md,.margin-right--md{margin-right:1rem!important}.margin--md{margin:1rem!important}.margin-bottom--lg,.margin-vert--lg{margin-bottom:2rem!important}.margin-top--lg,.margin-vert--lg{margin-top:2rem!important}.margin-horiz--lg,.margin-left--lg{margin-left:2rem!important}.margin-horiz--lg,.margin-right--lg{margin-right:2rem!important}.margin--lg{margin:2rem!important}.margin-bottom--xl,.margin-vert--xl{margin-bottom:5rem!important}.margin-top--xl,.margin-vert--xl{margin-top:5rem!important}.margin-horiz--xl,.margin-left--xl{margin-left:5rem!important}.margin-horiz--xl,.margin-right--xl{margin-right:5rem!important}.margin--xl{margin:5rem!important}.padding--none{padding:0!important}.padding-bottom--xs,.padding-vert--xs{padding-bottom:.25rem!important}.padding-top--xs,.padding-vert--xs{padding-top:.25rem!important}.padding-horiz--xs,.padding-left--xs{padding-left:.25rem!important}.padding-horiz--xs,.padding-right--xs{padding-right:.25rem!important}.padding--xs{padding:.25rem!important}.padding-bottom--sm,.padding-vert--sm{padding-bottom:.5rem!important}.padding-top--sm,.padding-vert--sm{padding-top:.5rem!important}.padding-horiz--sm,.padding-left--sm{padding-left:.5rem!important}.padding-horiz--sm,.padding-right--sm{padding-right:.5rem!important}.padding--sm{padding:.5rem!important}.padding-bottom--md,.padding-vert--md{padding-bottom:1rem!important}.padding-top--md,.padding-vert--md{padding-top:1rem!important}.padding-horiz--md,.padding-left--md{padding-left:1rem!important}.padding-horiz--md,.padding-right--md{padding-right:1rem!important}.padding--md{padding:1rem!important}.padding-bottom--lg,.padding-vert--lg{padding-bottom:2rem!important}.padding-top--lg,.padding-vert--lg{padding-top:2rem!important}.padding-horiz--lg,.padding-left--lg{padding-left:2rem!important}.padding-horiz--lg,.padding-right--lg{padding-right:2rem!important}.padding--lg{padding:2rem!important}.padding-bottom--xl,.padding-vert--xl{padding-bottom:5rem!important}.padding-top--xl,.padding-vert--xl{padding-top:5rem!important}.padding-horiz--xl,.padding-left--xl{padding-left:5rem!important}.padding-horiz--xl,.padding-right--xl{padding-right:5rem!important}.padding--xl{padding:5rem!important}code{background-color:var(--ifm-code-background);border:.1rem solid #0000001a;border-radius:var(--ifm-code-border-radius);font-family:var(--ifm-font-family-monospace);font-size:var(--ifm-code-font-size);padding:var(--ifm-code-padding-vertical) var(--ifm-code-padding-horizontal)}a code{color:inherit}pre{background-color:var(--ifm-pre-background);border-radius:var(--ifm-pre-border-radius);color:var(--ifm-pre-color);font:var(--ifm-code-font-size)/var(--ifm-pre-line-height) var(--ifm-font-family-monospace);padding:var(--ifm-pre-padding)}pre code{background-color:initial;border:none;font-size:100%;line-height:inherit;padding:0}kbd{background-color:var(--ifm-color-emphasis-0);border:1px solid var(--ifm-color-emphasis-400);border-radius:.2rem;box-shadow:inset 0 -1px 0 var(--ifm-color-emphasis-400);color:var(--ifm-color-emphasis-800);font:80% var(--ifm-font-family-monospace);padding:.15rem .3rem}h1,h2,h3,h4,h5,h6{color:var(--ifm-heading-color);font-family:var(--ifm-heading-font-family);font-weight:var(--ifm-heading-font-weight);line-height:var(--ifm-heading-line-height);margin:var(--ifm-heading-margin-top) 0 var(--ifm-heading-margin-bottom) 0}h1{font-size:var(--ifm-h1-font-size)}h2{font-size:var(--ifm-h2-font-size)}h3{font-size:var(--ifm-h3-font-size)}h4{font-size:var(--ifm-h4-font-size)}h5{font-size:var(--ifm-h5-font-size)}h6{font-size:var(--ifm-h6-font-size)}img{max-width:100%}img[align=right]{padding-left:var(--image-alignment-padding)}img[align=left]{padding-right:var(--image-alignment-padding)}.markdown{--ifm-h1-vertical-rhythm-top:3;--ifm-h2-vertical-rhythm-top:2;--ifm-h3-vertical-rhythm-top:1.5;--ifm-heading-vertical-rhythm-top:1.25;--ifm-h1-vertical-rhythm-bottom:1.25;--ifm-heading-vertical-rhythm-bottom:1}.markdown:after,.markdown:before{content:"";display:table}.markdown:after{clear:both}.markdown h1:first-child{--ifm-h1-font-size:3rem;margin-bottom:calc(var(--ifm-h1-vertical-rhythm-bottom)*var(--ifm-leading))}.markdown>h2{--ifm-h2-font-size:2rem;margin-top:calc(var(--ifm-h2-vertical-rhythm-top)*var(--ifm-leading))}.markdown>h3{--ifm-h3-font-size:1.5rem;margin-top:calc(var(--ifm-h3-vertical-rhythm-top)*var(--ifm-leading))}.markdown>h4,.markdown>h5,.markdown>h6{margin-top:calc(var(--ifm-heading-vertical-rhythm-top)*var(--ifm-leading))}.markdown>p,.markdown>pre,.markdown>ul{margin-bottom:var(--ifm-leading)}.markdown li>p{margin-top:var(--ifm-list-paragraph-margin)}.markdown li+li{margin-top:var(--ifm-list-item-margin)}ol,ul{margin:0 0 var(--ifm-list-margin);padding-left:var(--ifm-list-left-padding)}ol ol,ul ol{list-style-type:lower-roman}ol ol ol,ol ul ol,ul ol ol,ul ul ol{list-style-type:lower-alpha}table{border-collapse:collapse;display:block;margin-bottom:var(--ifm-spacing-vertical)}table thead tr{border-bottom:2px solid var(--ifm-table-border-color)}table thead,table tr:nth-child(2n){background-color:var(--ifm-table-stripe-background)}table tr{background-color:var(--ifm-table-background);border-top:var(--ifm-table-border-width) solid var(--ifm-table-border-color)}table td,table th{border:var(--ifm-table-border-width) solid var(--ifm-table-border-color);padding:var(--ifm-table-cell-padding)}table th{background-color:var(--ifm-table-head-background);color:var(--ifm-table-head-color);font-weight:var(--ifm-table-head-font-weight)}table td{color:var(--ifm-table-cell-color)}strong{font-weight:var(--ifm-font-weight-bold)}a{color:var(--ifm-link-color);text-decoration:var(--ifm-link-decoration)}a:hover{color:var(--ifm-link-hover-color);text-decoration:var(--ifm-link-hover-decoration)}.button:hover,.text--no-decoration,.text--no-decoration:hover,a:not([href]){text-decoration:none}p{margin:0 0 var(--ifm-paragraph-margin-bottom)}blockquote{border-left:var(--ifm-blockquote-border-left-width) solid var(--ifm-blockquote-border-color);box-shadow:var(--ifm-blockquote-shadow);color:var(--ifm-blockquote-color);font-size:var(--ifm-blockquote-font-size);padding:var(--ifm-blockquote-padding-vertical) var(--ifm-blockquote-padding-horizontal)}blockquote>:first-child{margin-top:0}blockquote>:last-child{margin-bottom:0}hr{background-color:var(--ifm-hr-background-color);border:0;height:var(--ifm-hr-height);margin:var(--ifm-hr-margin-vertical) 0}.shadow--lw{box-shadow:var(--ifm-global-shadow-lw)!important}.shadow--md{box-shadow:var(--ifm-global-shadow-md)!important}.shadow--tl{box-shadow:var(--ifm-global-shadow-tl)!important}.text--primary,.wordWrapButtonEnabled_EoeP .wordWrapButtonIcon_Bwma{color:var(--ifm-color-primary)}.text--secondary{color:var(--ifm-color-secondary)}.text--success{color:var(--ifm-color-success)}.text--info{color:var(--ifm-color-info)}.text--warning{color:var(--ifm-color-warning)}.text--danger{color:var(--ifm-color-danger)}.text--center{text-align:center}.text--left{text-align:left}.text--justify{text-align:justify}.text--right{text-align:right}.text--capitalize{text-transform:capitalize}.text--lowercase{text-transform:lowercase}.admonitionHeading_Gvgb,.alert__heading,.text--uppercase{text-transform:uppercase}.text--light{font-weight:var(--ifm-font-weight-light)}.text--normal{font-weight:var(--ifm-font-weight-normal)}.text--semibold{font-weight:var(--ifm-font-weight-semibold)}.text--bold{font-weight:var(--ifm-font-weight-bold)}.text--italic{font-style:italic}.text--truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text--break{word-wrap:break-word!important;word-break:break-word!important}.clean-btn{background:none;border:none;color:inherit;cursor:pointer;font-family:inherit;padding:0}.alert,.alert .close{color:var(--ifm-alert-foreground-color)}.clean-list{padding-left:0}.alert--primary{--ifm-alert-background-color:var(--ifm-color-primary-contrast-background);--ifm-alert-background-color-highlight:#3578e526;--ifm-alert-foreground-color:var(--ifm-color-primary-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-primary-dark)}.alert--secondary{--ifm-alert-background-color:var(--ifm-color-secondary-contrast-background);--ifm-alert-background-color-highlight:#ebedf026;--ifm-alert-foreground-color:var(--ifm-color-secondary-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-secondary-dark)}.alert--success{--ifm-alert-background-color:var(--ifm-color-success-contrast-background);--ifm-alert-background-color-highlight:#00a40026;--ifm-alert-foreground-color:var(--ifm-color-success-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-success-dark)}.alert--info{--ifm-alert-background-color:var(--ifm-color-info-contrast-background);--ifm-alert-background-color-highlight:#54c7ec26;--ifm-alert-foreground-color:var(--ifm-color-info-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-info-dark)}.alert--warning{--ifm-alert-background-color:var(--ifm-color-warning-contrast-background);--ifm-alert-background-color-highlight:#ffba0026;--ifm-alert-foreground-color:var(--ifm-color-warning-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-warning-dark)}.alert--danger{--ifm-alert-background-color:var(--ifm-color-danger-contrast-background);--ifm-alert-background-color-highlight:#fa383e26;--ifm-alert-foreground-color:var(--ifm-color-danger-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-danger-dark)}.alert{--ifm-code-background:var(--ifm-alert-background-color-highlight);--ifm-link-color:var(--ifm-alert-foreground-color);--ifm-link-hover-color:var(--ifm-alert-foreground-color);--ifm-link-decoration:underline;--ifm-tabs-color:var(--ifm-alert-foreground-color);--ifm-tabs-color-active:var(--ifm-alert-foreground-color);--ifm-tabs-color-active-border:var(--ifm-alert-border-color);background-color:var(--ifm-alert-background-color);border:var(--ifm-alert-border-width) solid var(--ifm-alert-border-color);border-left-width:var(--ifm-alert-border-left-width);border-radius:var(--ifm-alert-border-radius);box-shadow:var(--ifm-alert-shadow);padding:var(--ifm-alert-padding-vertical) var(--ifm-alert-padding-horizontal)}.alert__heading{align-items:center;display:flex;font:700 var(--ifm-h5-font-size)/var(--ifm-heading-line-height) var(--ifm-heading-font-family);margin-bottom:.5rem}.alert__icon{display:inline-flex;margin-right:.4em}.alert__icon svg{fill:var(--ifm-alert-foreground-color);stroke:var(--ifm-alert-foreground-color);stroke-width:0}.alert .close{margin:calc(var(--ifm-alert-padding-vertical)*-1) calc(var(--ifm-alert-padding-horizontal)*-1) 0 0;opacity:.75}.alert .close:focus,.alert .close:hover{opacity:1}.alert a{text-decoration-color:var(--ifm-alert-border-color)}.alert a:hover{text-decoration-thickness:2px}.avatar{column-gap:var(--ifm-avatar-intro-margin);display:flex}.avatar__photo{border-radius:50%;display:block;height:var(--ifm-avatar-photo-size);overflow:hidden;width:var(--ifm-avatar-photo-size)}.card--full-height,.navbar__logo img,body,html{height:100%}.avatar__photo--sm{--ifm-avatar-photo-size:2rem}.avatar__photo--lg{--ifm-avatar-photo-size:4rem}.avatar__photo--xl{--ifm-avatar-photo-size:6rem}.avatar__intro{display:flex;flex:1 1;flex-direction:column;justify-content:center;text-align:var(--ifm-avatar-intro-alignment)}.badge,.breadcrumbs__item,.breadcrumbs__link,.button,.dropdown>.navbar__link:after{display:inline-block}.avatar__name{font:700 var(--ifm-h4-font-size)/var(--ifm-heading-line-height) var(--ifm-font-family-base)}.avatar__subtitle{margin-top:.25rem}.avatar--vertical{--ifm-avatar-intro-alignment:center;--ifm-avatar-intro-margin:0.5rem;align-items:center;flex-direction:column}.badge{background-color:var(--ifm-badge-background-color);border:var(--ifm-badge-border-width) solid var(--ifm-badge-border-color);border-radius:var(--ifm-badge-border-radius);color:var(--ifm-badge-color);font-size:75%;font-weight:var(--ifm-font-weight-bold);line-height:1;padding:var(--ifm-badge-padding-vertical) var(--ifm-badge-padding-horizontal)}.badge--primary{--ifm-badge-background-color:var(--ifm-color-primary)}.badge--secondary{--ifm-badge-background-color:var(--ifm-color-secondary);color:var(--ifm-color-black)}.breadcrumbs__link,.button.button--secondary.button--outline:not(.button--active):not(:hover){color:var(--ifm-font-color-base)}.badge--success{--ifm-badge-background-color:var(--ifm-color-success)}.badge--info{--ifm-badge-background-color:var(--ifm-color-info)}.badge--warning{--ifm-badge-background-color:var(--ifm-color-warning)}.badge--danger{--ifm-badge-background-color:var(--ifm-color-danger)}.breadcrumbs{margin-bottom:0;padding-left:0}.breadcrumbs__item:not(:last-child):after{background:var(--ifm-breadcrumb-separator) center;content:" ";display:inline-block;filter:var(--ifm-breadcrumb-separator-filter);height:calc(var(--ifm-breadcrumb-separator-size)*var(--ifm-breadcrumb-size-multiplier)*var(--ifm-breadcrumb-separator-size-multiplier));margin:0 var(--ifm-breadcrumb-spacing);opacity:.5;width:calc(var(--ifm-breadcrumb-separator-size)*var(--ifm-breadcrumb-size-multiplier)*var(--ifm-breadcrumb-separator-size-multiplier))}.breadcrumbs__item--active .breadcrumbs__link{background:var(--ifm-breadcrumb-item-background-active);color:var(--ifm-breadcrumb-color-active)}.breadcrumbs__link{border-radius:var(--ifm-breadcrumb-border-radius);font-size:calc(1rem*var(--ifm-breadcrumb-size-multiplier));padding:calc(var(--ifm-breadcrumb-padding-vertical)*var(--ifm-breadcrumb-size-multiplier)) calc(var(--ifm-breadcrumb-padding-horizontal)*var(--ifm-breadcrumb-size-multiplier));transition-duration:var(--ifm-transition-fast);transition-property:background,color}.breadcrumbs__link:any-link:hover,.breadcrumbs__link:link:hover,.breadcrumbs__link:visited:hover,area[href].breadcrumbs__link:hover{background:var(--ifm-breadcrumb-item-background-active);text-decoration:none}.breadcrumbs--sm{--ifm-breadcrumb-size-multiplier:0.8}.breadcrumbs--lg{--ifm-breadcrumb-size-multiplier:1.2}.button{background-color:var(--ifm-button-background-color);border:var(--ifm-button-border-width) solid var(--ifm-button-border-color);border-radius:var(--ifm-button-border-radius);cursor:pointer;font-size:calc(.875rem*var(--ifm-button-size-multiplier));font-weight:var(--ifm-button-font-weight);line-height:1.5;padding:calc(var(--ifm-button-padding-vertical)*var(--ifm-button-size-multiplier)) calc(var(--ifm-button-padding-horizontal)*var(--ifm-button-size-multiplier));text-align:center;transition-duration:var(--ifm-button-transition-duration);transition-property:color,background,border-color;-webkit-user-select:none;user-select:none;white-space:nowrap}.button,.button:hover{color:var(--ifm-button-color)}.button--outline{--ifm-button-color:var(--ifm-button-border-color)}.button--outline:hover{--ifm-button-background-color:var(--ifm-button-border-color)}.button--link{--ifm-button-border-color:#0000;color:var(--ifm-link-color);text-decoration:var(--ifm-link-decoration)}.button--link.button--active,.button--link:active,.button--link:hover{color:var(--ifm-link-hover-color);text-decoration:var(--ifm-link-hover-decoration)}.button.disabled,.button:disabled,.button[disabled]{opacity:.65;pointer-events:none}.button--sm{--ifm-button-size-multiplier:0.8}.button--lg{--ifm-button-size-multiplier:1.35}.button--block{display:block;width:100%}.button.button--secondary{color:var(--ifm-color-gray-900)}:where(.button--primary){--ifm-button-background-color:var(--ifm-color-primary);--ifm-button-border-color:var(--ifm-color-primary)}:where(.button--primary):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-primary-dark);--ifm-button-border-color:var(--ifm-color-primary-dark)}.button--primary.button--active,.button--primary:active{--ifm-button-background-color:var(--ifm-color-primary-darker);--ifm-button-border-color:var(--ifm-color-primary-darker)}:where(.button--secondary){--ifm-button-background-color:var(--ifm-color-secondary);--ifm-button-border-color:var(--ifm-color-secondary)}:where(.button--secondary):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-secondary-dark);--ifm-button-border-color:var(--ifm-color-secondary-dark)}.button--secondary.button--active,.button--secondary:active{--ifm-button-background-color:var(--ifm-color-secondary-darker);--ifm-button-border-color:var(--ifm-color-secondary-darker)}:where(.button--success){--ifm-button-background-color:var(--ifm-color-success);--ifm-button-border-color:var(--ifm-color-success)}:where(.button--success):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-success-dark);--ifm-button-border-color:var(--ifm-color-success-dark)}.button--success.button--active,.button--success:active{--ifm-button-background-color:var(--ifm-color-success-darker);--ifm-button-border-color:var(--ifm-color-success-darker)}:where(.button--info){--ifm-button-background-color:var(--ifm-color-info);--ifm-button-border-color:var(--ifm-color-info)}:where(.button--info):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-info-dark);--ifm-button-border-color:var(--ifm-color-info-dark)}.button--info.button--active,.button--info:active{--ifm-button-background-color:var(--ifm-color-info-darker);--ifm-button-border-color:var(--ifm-color-info-darker)}:where(.button--warning){--ifm-button-background-color:var(--ifm-color-warning);--ifm-button-border-color:var(--ifm-color-warning)}:where(.button--warning):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-warning-dark);--ifm-button-border-color:var(--ifm-color-warning-dark)}.button--warning.button--active,.button--warning:active{--ifm-button-background-color:var(--ifm-color-warning-darker);--ifm-button-border-color:var(--ifm-color-warning-darker)}:where(.button--danger){--ifm-button-background-color:var(--ifm-color-danger);--ifm-button-border-color:var(--ifm-color-danger)}:where(.button--danger):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-danger-dark);--ifm-button-border-color:var(--ifm-color-danger-dark)}.button--danger.button--active,.button--danger:active{--ifm-button-background-color:var(--ifm-color-danger-darker);--ifm-button-border-color:var(--ifm-color-danger-darker)}.button-group{display:inline-flex;gap:var(--ifm-button-group-spacing)}.button-group>.button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.button-group>.button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.button-group--block{display:flex;justify-content:stretch}.button-group--block>.button{flex-grow:1}.card{background-color:var(--ifm-card-background-color);border-radius:var(--ifm-card-border-radius);box-shadow:var(--ifm-global-shadow-lw);display:flex;flex-direction:column;overflow:hidden}.card__image{padding-top:var(--ifm-card-vertical-spacing)}.card__image:first-child{padding-top:0}.card__body,.card__footer,.card__header{padding:var(--ifm-card-vertical-spacing) var(--ifm-card-horizontal-spacing)}.card__body:not(:last-child),.card__footer:not(:last-child),.card__header:not(:last-child){padding-bottom:0}.card__body>:last-child,.card__footer>:last-child,.card__header>:last-child{margin-bottom:0}.card__footer{margin-top:auto}.table-of-contents{font-size:.8rem;margin-bottom:0;padding:var(--ifm-toc-padding-vertical) 0}.table-of-contents,.table-of-contents ul{list-style:none;padding-left:var(--ifm-toc-padding-horizontal)}.table-of-contents li{margin:var(--ifm-toc-padding-vertical) var(--ifm-toc-padding-horizontal)}.table-of-contents__left-border{border-left:1px solid var(--ifm-toc-border-color)}.table-of-contents__link{color:var(--ifm-toc-link-color);display:block}.table-of-contents__link--active,.table-of-contents__link--active code,.table-of-contents__link:hover,.table-of-contents__link:hover code{color:var(--ifm-color-primary);text-decoration:none}.close{color:var(--ifm-color-black);float:right;font-size:1.5rem;font-weight:var(--ifm-font-weight-bold);line-height:1;opacity:.5;padding:1rem;transition:opacity var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.close:hover{opacity:.7}.close:focus,.theme-code-block-highlighted-line .codeLineNumber_Tfdd:before{opacity:.8}.dropdown{display:inline-flex;font-weight:var(--ifm-dropdown-font-weight);position:relative;vertical-align:top}.dropdown--hoverable:hover .dropdown__menu,.dropdown--show .dropdown__menu{opacity:1;pointer-events:all;transform:translateY(-1px);visibility:visible}#nprogress,.dropdown__menu,.navbar__item.dropdown .navbar__link:not([href]){pointer-events:none}.dropdown--right .dropdown__menu{left:inherit;right:0}.dropdown--nocaret .navbar__link:after{content:none!important}.dropdown__menu{background-color:var(--ifm-dropdown-background-color);border-radius:var(--ifm-global-radius);box-shadow:var(--ifm-global-shadow-md);left:0;max-height:80vh;min-width:10rem;opacity:0;overflow-y:auto;padding:.5rem;position:absolute;top:calc(100% - var(--ifm-navbar-item-padding-vertical) + .3rem);transform:translateY(-.625rem);transition-duration:var(--ifm-transition-fast);transition-property:opacity,transform,visibility;transition-timing-function:var(--ifm-transition-timing-default);visibility:hidden;z-index:var(--ifm-z-index-dropdown)}.menu__caret,.menu__link,.menu__list-item-collapsible{border-radius:.25rem;transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.dropdown__link{border-radius:.25rem;color:var(--ifm-dropdown-link-color);display:block;font-size:.875rem;margin-top:.2rem;padding:.25rem .5rem;white-space:nowrap}.dropdown__link--active,.dropdown__link:hover{background-color:var(--ifm-dropdown-hover-background-color);color:var(--ifm-dropdown-link-color);text-decoration:none}.dropdown__link--active,.dropdown__link--active:hover{--ifm-dropdown-link-color:var(--ifm-link-color)}.dropdown>.navbar__link:after{border-color:currentcolor #0000;border-style:solid;border-width:.4em .4em 0;content:"";margin-left:.3em;position:relative;top:2px;transform:translateY(-50%)}.footer{background-color:var(--ifm-footer-background-color);color:var(--ifm-footer-color);padding:var(--ifm-footer-padding-vertical) var(--ifm-footer-padding-horizontal)}.footer--dark{--ifm-footer-background-color:#303846;--ifm-footer-color:var(--ifm-footer-link-color);--ifm-footer-link-color:var(--ifm-color-secondary);--ifm-footer-title-color:var(--ifm-color-white);--ifm-footer-background-color:#293033}.footer__links{margin-bottom:1rem}.footer__link-item{color:var(--ifm-footer-link-color);line-height:2}.footer__link-item:hover{color:var(--ifm-footer-link-hover-color)}.footer__link-separator{margin:0 var(--ifm-footer-link-horizontal-spacing)}.footer__logo{margin-top:1rem;max-width:var(--ifm-footer-logo-max-width)}.footer__title{color:var(--ifm-footer-title-color);font:700 var(--ifm-h4-font-size)/var(--ifm-heading-line-height) var(--ifm-font-family-base);margin-bottom:var(--ifm-heading-margin-bottom)}.menu,.navbar__link{font-weight:var(--ifm-font-weight-semibold)}.docItemContainer_Djhp article>:first-child,.docItemContainer_Djhp header+*,.footer__item{margin-top:0}.admonitionContent_BuS1>:last-child,.collapsibleContent_i85q p:last-child,.details_lb9f>summary>p:last-child,.footer__items{margin-bottom:0}.codeBlockStandalone_MEMb,[type=checkbox]{padding:0}.hero{align-items:center;background-color:var(--ifm-hero-background-color);color:var(--ifm-hero-text-color);display:flex;padding:4rem 2rem}.hero--primary{--ifm-hero-background-color:var(--ifm-color-primary);--ifm-hero-text-color:var(--ifm-font-color-base-inverse)}.hero--dark{--ifm-hero-background-color:#303846;--ifm-hero-text-color:var(--ifm-color-white)}.hero__title{font-size:3rem}.hero__subtitle{font-size:1.5rem}.menu__list{margin:0;padding-left:0}.menu__caret,.menu__link{padding:var(--ifm-menu-link-padding-vertical) var(--ifm-menu-link-padding-horizontal)}.menu__list .menu__list{flex:0 0 100%;margin-top:.25rem;padding-left:var(--ifm-menu-link-padding-horizontal)}.menu__list-item:not(:first-child){margin-top:.25rem}.menu__list-item--collapsed .menu__list{height:0;overflow:hidden}.details_lb9f[data-collapsed=false].isBrowser_bmU9>summary:before,.details_lb9f[open]:not(.isBrowser_bmU9)>summary:before,.menu__list-item--collapsed .menu__caret:before,.menu__list-item--collapsed .menu__link--sublist:after{transform:rotate(90deg)}.menu__list-item-collapsible{display:flex;flex-wrap:wrap;position:relative}.menu__caret:hover,.menu__link:hover,.menu__list-item-collapsible--active,.menu__list-item-collapsible:hover{background:var(--ifm-menu-color-background-hover)}.menu__list-item-collapsible .menu__link--active,.menu__list-item-collapsible .menu__link:hover{background:none!important}.menu__caret,.menu__link{align-items:center;display:flex}.menu__link{color:var(--ifm-menu-color);flex:1;line-height:1.25}.menu__link:hover{color:var(--ifm-menu-color);text-decoration:none}.menu__caret:before,.menu__link--sublist-caret:after{height:1.25rem;transform:rotate(180deg);transition:transform var(--ifm-transition-fast) linear;width:1.25rem;content:"";filter:var(--ifm-menu-link-sublist-icon-filter)}.menu__link--sublist-caret:after{background:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem;margin-left:auto;min-width:1.25rem}.menu__link--active,.menu__link--active:hover{color:var(--ifm-menu-color-active)}.navbar__brand,.navbar__link{color:var(--ifm-navbar-link-color)}.menu__link--active:not(.menu__link--sublist){background-color:var(--ifm-menu-color-background-active)}.menu__caret:before{background:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem}.navbar--dark,html[data-theme=dark]{--ifm-menu-link-sublist-icon-filter:invert(100%) sepia(94%) saturate(17%) hue-rotate(223deg) brightness(104%) contrast(98%)}.navbar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-navbar-shadow);height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical) var(--ifm-navbar-padding-horizontal)}.navbar,.navbar>.container,.navbar>.container-fluid{display:flex}.navbar--fixed-top{position:sticky;top:0;z-index:var(--ifm-z-index-fixed)}.navbar-sidebar,.navbar-sidebar__backdrop{bottom:0;opacity:0;position:fixed;transition-duration:var(--ifm-transition-fast);transition-timing-function:ease-in-out;left:0;top:0;visibility:hidden}.navbar__inner{display:flex;flex-wrap:wrap;justify-content:space-between;width:100%}.navbar__brand{align-items:center;display:flex;margin-right:1rem;min-width:0}.navbar__brand:hover{color:var(--ifm-navbar-link-hover-color);text-decoration:none}.announcementBarContent_xLdY,.navbar__title{flex:1 1 auto}.navbar__toggle{display:none;margin-right:.5rem}.navbar__logo{flex:0 0 auto;height:2rem;margin-right:.5rem}.navbar__items{align-items:center;display:flex;flex:1;min-width:0}.navbar__items--center{flex:0 0 auto}.features_list_RMlj *,.navbar__items--center .navbar__brand,.preview_content_u3fH>*{margin:0}.navbar__items--center+.navbar__items--right{flex:1}.navbar__items--right{flex:0 0 auto;justify-content:flex-end}.navbar__items--right>:last-child{padding-right:0}.navbar__item{display:inline-block;padding:var(--ifm-navbar-item-padding-vertical) var(--ifm-navbar-item-padding-horizontal)}.navbar__link--active,.navbar__link:hover{color:var(--ifm-navbar-link-hover-color);text-decoration:none}.navbar--dark,.navbar--primary{--ifm-menu-color:var(--ifm-color-gray-300);--ifm-navbar-link-color:var(--ifm-color-gray-100);--ifm-navbar-search-input-background-color:#ffffff1a;--ifm-navbar-search-input-placeholder-color:#ffffff80;color:var(--ifm-color-white)}.navbar--dark{--ifm-navbar-background-color:#242526;--ifm-menu-color-background-active:#ffffff0d;--ifm-navbar-search-input-color:var(--ifm-color-white)}.navbar--primary{--ifm-navbar-background-color:var(--ifm-color-primary);--ifm-navbar-link-hover-color:var(--ifm-color-white);--ifm-menu-color-active:var(--ifm-color-white);--ifm-navbar-search-input-color:var(--ifm-color-emphasis-500)}.navbar__search-input{-webkit-appearance:none;appearance:none;background:var(--ifm-navbar-search-input-background-color) var(--ifm-navbar-search-input-icon) no-repeat .75rem center/1rem 1rem;border:none;border-radius:2rem;color:var(--ifm-navbar-search-input-color);cursor:text;display:inline-block;font-size:.9rem;height:2rem;padding:0 .5rem 0 2.25rem;width:12.5rem}.navbar__search-input::placeholder{color:var(--ifm-navbar-search-input-placeholder-color)}.navbar-sidebar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-global-shadow-md);transform:translate3d(-100%,0,0);transition-property:opacity,visibility,transform;width:var(--ifm-navbar-sidebar-width)}.navbar-sidebar--show .navbar-sidebar,.navbar-sidebar__items{transform:translateZ(0)}.navbar-sidebar--show .navbar-sidebar,.navbar-sidebar--show .navbar-sidebar__backdrop{opacity:1;visibility:visible}.navbar-sidebar__backdrop{background-color:#0009;right:0;transition-property:opacity,visibility}.navbar-sidebar__brand{align-items:center;box-shadow:var(--ifm-navbar-shadow);display:flex;flex:1;height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical) var(--ifm-navbar-padding-horizontal)}.navbar-sidebar__items{display:flex;height:calc(100% - var(--ifm-navbar-height));transition:transform var(--ifm-transition-fast) ease-in-out}.navbar-sidebar__items--show-secondary{transform:translate3d(calc((var(--ifm-navbar-sidebar-width))*-1),0,0)}.navbar-sidebar__item{flex-shrink:0;padding:.5rem;width:calc(var(--ifm-navbar-sidebar-width))}.navbar-sidebar__back{background:var(--ifm-menu-color-background-active);font-size:15px;font-weight:var(--ifm-button-font-weight);margin:0 0 .2rem -.5rem;padding:.6rem 1.5rem;position:relative;text-align:left;top:-.5rem;width:calc(100% + 1rem)}.navbar-sidebar__close{display:flex;margin-left:auto}.pagination{column-gap:var(--ifm-pagination-page-spacing);display:flex;font-size:var(--ifm-pagination-font-size);padding-left:0}.pagination--sm{--ifm-pagination-font-size:0.8rem;--ifm-pagination-padding-horizontal:0.8rem;--ifm-pagination-padding-vertical:0.2rem}.pagination--lg{--ifm-pagination-font-size:1.2rem;--ifm-pagination-padding-horizontal:1.2rem;--ifm-pagination-padding-vertical:0.3rem}.pagination__item{display:inline-flex}.pagination__item>span{padding:var(--ifm-pagination-padding-vertical)}.pagination__item--active .pagination__link{color:var(--ifm-pagination-color-active)}.pagination__item--active .pagination__link,.pagination__item:not(.pagination__item--active):hover .pagination__link{background:var(--ifm-pagination-item-active-background)}.pagination__item--disabled,.pagination__item[disabled]{opacity:.25;pointer-events:none}.pagination__link{border-radius:var(--ifm-pagination-border-radius);color:var(--ifm-font-color-base);display:inline-block;padding:var(--ifm-pagination-padding-vertical) var(--ifm-pagination-padding-horizontal);transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pagination__link:hover{text-decoration:none}.pagination-nav{grid-gap:var(--ifm-spacing-horizontal);display:grid;gap:var(--ifm-spacing-horizontal);grid-template-columns:repeat(2,1fr)}.pagination-nav__link{border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-pagination-nav-border-radius);display:block;height:100%;line-height:var(--ifm-heading-line-height);padding:var(--ifm-global-spacing);transition:border-color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pagination-nav__link:hover{border-color:var(--ifm-pagination-nav-color-hover);text-decoration:none}.pagination-nav__link--next{grid-column:2/3;text-align:right}.pagination-nav__label{font-size:var(--ifm-h4-font-size);font-weight:var(--ifm-heading-font-weight);word-break:break-word}.pagination-nav__link--prev .pagination-nav__label:before{content:"« "}.pagination-nav__link--next .pagination-nav__label:after{content:" »"}.pagination-nav__sublabel{color:var(--ifm-color-content-secondary);font-size:var(--ifm-h5-font-size);font-weight:var(--ifm-font-weight-semibold);margin-bottom:.25rem}.pills__item,.tabs{font-weight:var(--ifm-font-weight-bold)}.pills{display:flex;gap:var(--ifm-pills-spacing);padding-left:0}.pills__item{border-radius:.5rem;cursor:pointer;display:inline-block;padding:.25rem 1rem;transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.tabs,:not(.containsTaskList_mC6p>li)>.containsTaskList_mC6p{padding-left:0}.pills__item--active{color:var(--ifm-pills-color-active)}.pills__item--active,.pills__item:not(.pills__item--active):hover{background:var(--ifm-pills-color-background-active)}.pills--block{justify-content:stretch}.pills--block .pills__item{flex-grow:1;text-align:center}.tabs{color:var(--ifm-tabs-color);display:flex;margin-bottom:0;overflow-x:auto}.tabs__item{border-bottom:3px solid #0000;border-radius:var(--ifm-global-radius);cursor:pointer;display:inline-flex;padding:var(--ifm-tabs-padding-vertical) var(--ifm-tabs-padding-horizontal);transition:background-color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.tabs__item--active{border-bottom-color:var(--ifm-tabs-color-active-border);border-bottom-left-radius:0;border-bottom-right-radius:0;color:var(--ifm-tabs-color-active)}.tabs__item:hover{background-color:var(--ifm-hover-overlay)}.tabs--block{justify-content:stretch}.tabs--block .tabs__item{flex-grow:1;justify-content:center}html[data-theme=dark]{--ifm-color-scheme:dark;--ifm-color-emphasis-0:var(--ifm-color-gray-1000);--ifm-color-emphasis-100:var(--ifm-color-gray-900);--ifm-color-emphasis-200:var(--ifm-color-gray-800);--ifm-color-emphasis-300:var(--ifm-color-gray-700);--ifm-color-emphasis-400:var(--ifm-color-gray-600);--ifm-color-emphasis-600:var(--ifm-color-gray-400);--ifm-color-emphasis-700:var(--ifm-color-gray-300);--ifm-color-emphasis-800:var(--ifm-color-gray-200);--ifm-color-emphasis-900:var(--ifm-color-gray-100);--ifm-color-emphasis-1000:var(--ifm-color-gray-0);--ifm-background-color:#1b1b1d;--ifm-background-surface-color:#242526;--ifm-hover-overlay:#ffffff0d;--ifm-color-content:#e3e3e3;--ifm-color-content-secondary:#fff;--ifm-breadcrumb-separator-filter:invert(64%) sepia(11%) saturate(0%) hue-rotate(149deg) brightness(99%) contrast(95%);--ifm-code-background:#ffffff1a;--ifm-scrollbar-track-background-color:#444;--ifm-scrollbar-thumb-background-color:#686868;--ifm-scrollbar-thumb-hover-background-color:#7a7a7a;--ifm-table-stripe-background:#ffffff12;--ifm-toc-border-color:var(--ifm-color-emphasis-200);--ifm-color-primary-contrast-background:#102445;--ifm-color-primary-contrast-foreground:#ebf2fc;--ifm-color-secondary-contrast-background:#474748;--ifm-color-secondary-contrast-foreground:#fdfdfe;--ifm-color-success-contrast-background:#003100;--ifm-color-success-contrast-foreground:#e6f6e6;--ifm-color-info-contrast-background:#193c47;--ifm-color-info-contrast-foreground:#eef9fd;--ifm-color-warning-contrast-background:#4d3800;--ifm-color-warning-contrast-foreground:#fff8e6;--ifm-color-danger-contrast-background:#4b1113;--ifm-color-danger-contrast-foreground:#ffebec}#nprogress .bar{background:var(--docusaurus-progress-bar-color);height:2px;left:0;position:fixed;top:0;width:100%;z-index:1031}#nprogress .peg{box-shadow:0 0 10px var(--docusaurus-progress-bar-color),0 0 5px var(--docusaurus-progress-bar-color);height:100%;opacity:1;position:absolute;right:0;transform:rotate(3deg) translateY(-4px);width:100px}.header-github-link:hover{opacity:.6}.header-github-link:before{background:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 24 24' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E") no-repeat;content:"";display:flex;height:24px;width:24px}.navbar--dark{--ifm-navbar-background-color:#293033}body:not(.navigation-with-keyboard) :not(input):focus{outline:0}#__docusaurus-base-url-issue-banner-container,.themedComponent_mlkZ,[data-theme=dark] .lightToggleIcon_pyhR,[data-theme=light] .darkToggleIcon_wfgR,html[data-announcement-bar-initially-dismissed=true] .announcementBar_mb4j{display:none}.skipToContent_fXgn{background-color:var(--ifm-background-surface-color);color:var(--ifm-color-emphasis-900);left:100%;padding:calc(var(--ifm-global-spacing)/2) var(--ifm-global-spacing);position:fixed;top:1rem;z-index:calc(var(--ifm-z-index-fixed) + 1)}.skipToContent_fXgn:focus{box-shadow:var(--ifm-global-shadow-md);left:1rem}.closeButton_CVFx{line-height:0;padding:0}.content_knG7{font-size:85%;padding:5px 0;text-align:center}.content_knG7 a{color:inherit;text-decoration:underline}.announcementBar_mb4j{align-items:center;background-color:var(--ifm-color-white);border-bottom:1px solid var(--ifm-color-emphasis-100);color:var(--ifm-color-black);display:flex;height:var(--docusaurus-announcement-bar-height)}.announcementBarPlaceholder_vyr4{flex:0 0 10px}.announcementBarClose_gvF7{align-self:stretch;flex:0 0 30px}.toggle_vylO{height:2rem;width:2rem}.toggleButton_gllP{align-items:center;border-radius:50%;display:flex;height:100%;justify-content:center;transition:background var(--ifm-transition-fast);width:100%}.toggleButton_gllP:hover{background:var(--ifm-color-emphasis-200)}.toggleButtonDisabled_aARS{cursor:not-allowed}.darkNavbarColorModeToggle_X3D1:hover{background:var(--ifm-color-gray-800)}[data-theme=dark] .themedComponent--dark_xIcU,[data-theme=light] .themedComponent--light_NVdE,html:not([data-theme]) .themedComponent--light_NVdE{display:initial}.iconExternalLink_nPIU{margin-left:.3rem}.dropdownNavbarItemMobile_S0Fm{cursor:pointer}.iconLanguage_nlXk{margin-right:5px;vertical-align:text-bottom}@supports selector(:has(*)){.navbarSearchContainer_Bca1:not(:has(>*)){display:none}}.navbarHideable_m1mJ{transition:transform var(--ifm-transition-fast) ease}.navbarHidden_jGov{transform:translate3d(0,calc(-100% - 2px),0)}.errorBoundaryError_a6uf{color:red;white-space:pre-wrap}.errorBoundaryFallback_VBag{color:red;padding:.55rem}.footerLogoLink_BH7S{opacity:.5;transition:opacity var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.footerLogoLink_BH7S:hover,.hash-link:focus,:hover>.hash-link{opacity:1}.anchorWithStickyNavbar_LWe7{scroll-margin-top:calc(var(--ifm-navbar-height) + .5rem)}.anchorWithHideOnScrollNavbar_WYt5{scroll-margin-top:.5rem}.hash-link{opacity:0;padding-left:.5rem;transition:opacity var(--ifm-transition-fast);-webkit-user-select:none;user-select:none}.hash-link:before{content:"#"}.mainWrapper_z2l0{display:flex;flex:1 0 auto;flex-direction:column}.docusaurus-mt-lg{margin-top:3rem}#__docusaurus{display:flex;flex-direction:column;min-height:100%}.iconEdit_Z9Sw{margin-right:.3em;vertical-align:sub}.tag_zVej{border:1px solid var(--docusaurus-tag-list-border);transition:border var(--ifm-transition-fast)}.tag_zVej:hover{--docusaurus-tag-list-border:var(--ifm-link-color);text-decoration:none}.tagRegular_sFm0{border-radius:var(--ifm-global-radius);font-size:90%;padding:.2rem .5rem .3rem}.tagWithCount_h2kH{align-items:center;border-left:0;display:flex;padding:0 .5rem 0 1rem;position:relative}.tagWithCount_h2kH:after,.tagWithCount_h2kH:before{border:1px solid var(--docusaurus-tag-list-border);content:"";position:absolute;top:50%;transition:inherit}.tagWithCount_h2kH:before{border-bottom:0;border-right:0;height:1.18rem;right:100%;transform:translate(50%,-50%) rotate(-45deg);width:1.18rem}.tagWithCount_h2kH:after{border-radius:50%;height:.5rem;left:0;transform:translateY(-50%);width:.5rem}.tagWithCount_h2kH span{background:var(--ifm-color-secondary);border-radius:var(--ifm-global-radius);color:var(--ifm-color-black);font-size:.7rem;line-height:1.2;margin-left:.3rem;padding:.1rem .4rem}.tags_jXut{display:inline}.tag_QGVx{display:inline-block;margin:0 .4rem .5rem 0}.lastUpdated_vwxv{font-size:smaller;font-style:italic;margin-top:.2rem}.tocCollapsibleButton_TO0P{align-items:center;display:flex;font-size:inherit;justify-content:space-between;padding:.4rem .8rem;width:100%}.tocCollapsibleButton_TO0P:after{background:var(--ifm-menu-link-sublist-icon) 50% 50%/2rem 2rem no-repeat;content:"";filter:var(--ifm-menu-link-sublist-icon-filter);height:1.25rem;transform:rotate(180deg);transition:transform var(--ifm-transition-fast);width:1.25rem}.tocCollapsibleButtonExpanded_MG3E:after,.tocCollapsibleExpanded_sAul{transform:none}.tocCollapsible_ETCw{background-color:var(--ifm-menu-color-background-active);border-radius:var(--ifm-global-radius);margin:1rem 0}.buttonGroup__atx button,.codeBlockContainer_Ckt0{background:var(--prism-background-color);color:var(--prism-color)}.tocCollapsibleContent_vkbj>ul{border-left:none;border-top:1px solid var(--ifm-color-emphasis-300);font-size:15px;padding:.2rem 0}.tocCollapsibleContent_vkbj ul li{margin:.4rem .8rem}.tocCollapsibleContent_vkbj a{display:block}.tableOfContents_bqdL{max-height:calc(100vh - var(--ifm-navbar-height) - 2rem);overflow-y:auto;position:sticky;top:calc(var(--ifm-navbar-height) + 1rem)}.codeBlockContainer_Ckt0{border-radius:var(--ifm-code-border-radius);box-shadow:var(--ifm-global-shadow-lw);margin-bottom:var(--ifm-leading)}.codeBlockContent_biex{border-radius:inherit;direction:ltr;position:relative}.codeBlockTitle_Ktv7{border-bottom:1px solid var(--ifm-color-emphasis-300);border-top-left-radius:inherit;border-top-right-radius:inherit;font-size:var(--ifm-code-font-size);font-weight:500;padding:.75rem var(--ifm-pre-padding)}.codeBlock_bY9V{--ifm-pre-background:var(--prism-background-color);margin:0;padding:0}.codeBlockTitle_Ktv7+.codeBlockContent_biex .codeBlock_bY9V{border-top-left-radius:0;border-top-right-radius:0}.codeBlockLines_e6Vv{float:left;font:inherit;min-width:100%;padding:var(--ifm-pre-padding)}.codeBlockLinesWithNumbering_o6Pm{display:table;padding:var(--ifm-pre-padding) 0}.buttonGroup__atx{column-gap:.2rem;display:flex;position:absolute;right:calc(var(--ifm-pre-padding)/2);top:calc(var(--ifm-pre-padding)/2)}.buttonGroup__atx button{align-items:center;border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-global-radius);display:flex;line-height:0;opacity:0;padding:.4rem;transition:opacity var(--ifm-transition-fast) ease-in-out}.buttonGroup__atx button:focus-visible,.buttonGroup__atx button:hover{opacity:1!important}.theme-code-block:hover .buttonGroup__atx button{opacity:.4}:where(:root){--docusaurus-highlighted-code-line-bg:#484d5b}:where([data-theme=dark]){--docusaurus-highlighted-code-line-bg:#646464}.theme-code-block-highlighted-line{background-color:var(--docusaurus-highlighted-code-line-bg);display:block;margin:0 calc(var(--ifm-pre-padding)*-1);padding:0 var(--ifm-pre-padding)}.codeLine_lJS_{counter-increment:a;display:table-row}.codeLineNumber_Tfdd{background:var(--ifm-pre-background);display:table-cell;left:0;overflow-wrap:normal;padding:0 var(--ifm-pre-padding);position:sticky;text-align:right;width:1%}.codeLineNumber_Tfdd:before{content:counter(a);opacity:.4}.codeLineContent_feaV{padding-right:var(--ifm-pre-padding)}.theme-code-block:hover .copyButtonCopied_obH4{opacity:1!important}.copyButtonIcons_eSgA{height:1.125rem;position:relative;width:1.125rem}.copyButtonIcon_y97N,.copyButtonSuccessIcon_LjdS{fill:currentColor;height:inherit;left:0;opacity:inherit;position:absolute;top:0;transition:all var(--ifm-transition-fast) ease;width:inherit}.copyButtonSuccessIcon_LjdS{color:#00d600;left:50%;opacity:0;top:50%;transform:translate(-50%,-50%) scale(.33)}.copyButtonCopied_obH4 .copyButtonIcon_y97N{opacity:0;transform:scale(.33)}.copyButtonCopied_obH4 .copyButtonSuccessIcon_LjdS{opacity:1;transform:translate(-50%,-50%) scale(1);transition-delay:75ms}.wordWrapButtonIcon_Bwma{height:1.2rem;width:1.2rem}.details_lb9f{--docusaurus-details-summary-arrow-size:0.38rem;--docusaurus-details-transition:transform 200ms ease;--docusaurus-details-decoration-color:grey}.details_lb9f>summary{cursor:pointer;padding-left:1rem;position:relative}.details_lb9f>summary::-webkit-details-marker{display:none}.details_lb9f>summary:before{border-color:#0000 #0000 #0000 var(--docusaurus-details-decoration-color);border-style:solid;border-width:var(--docusaurus-details-summary-arrow-size);content:"";left:0;position:absolute;top:.45rem;transform:rotate(0);transform-origin:calc(var(--docusaurus-details-summary-arrow-size)/2) 50%;transition:var(--docusaurus-details-transition)}.collapsibleContent_i85q{border-top:1px solid var(--docusaurus-details-decoration-color);margin-top:1rem;padding-top:1rem}.details_b_Ee{--docusaurus-details-decoration-color:var(--ifm-alert-border-color);--docusaurus-details-transition:transform var(--ifm-transition-fast) ease;border:1px solid var(--ifm-alert-border-color);margin:0 0 var(--ifm-spacing-vertical)}.img_ev3q{height:auto}.admonition_xJq3{margin-bottom:1em}.admonitionHeading_Gvgb{font:var(--ifm-heading-font-weight) var(--ifm-h5-font-size)/var(--ifm-heading-line-height) var(--ifm-heading-font-family)}.admonitionHeading_Gvgb:not(:last-child){margin-bottom:.3rem}.admonitionHeading_Gvgb code{text-transform:none}.admonitionIcon_Rf37{display:inline-block;margin-right:.4em;vertical-align:middle}.admonitionIcon_Rf37 svg{fill:var(--ifm-alert-foreground-color);display:inline-block;height:1.6em;width:1.6em}.breadcrumbHomeIcon_YNFT{height:1.1rem;position:relative;top:1px;vertical-align:top;width:1.1rem}.breadcrumbsContainer_Z_bl{--ifm-breadcrumb-size-multiplier:0.8;margin-bottom:.8rem}@keyframes a{0%,to{opacity:.8}50%{opacity:.2}}@keyframes b{0%,to{opacity:.2}50%{opacity:.8}}.preview_s1Xp{background:#293033;padding:180px 0 170px;position:relative}.preview_s1Xp:before{animation:7s linear infinite a;background-image:-webkit-radial-gradient(center 300%,#0090ffe6 10%,#057acc99 75%)}.preview_s1Xp:after,.preview_s1Xp:before{content:"";height:100%;left:0;position:absolute;top:0;width:100%}.preview_s1Xp:after{animation:7s linear infinite b;background-image:linear-gradient(to bottom right,#4582f5cc,#bb72e34d)}.preview_content_u3fH{color:#fff;display:flex;flex-direction:column;gap:40px;height:100%;max-width:770px;position:relative;z-index:1}.features_XAlT{padding:100px 0 125px}.features_title_GulZ{margin-bottom:75px}.features_list_RMlj{grid-gap:80px 7.5vw;display:grid;grid-template-columns:repeat(3,1fr);list-style-type:none;margin:0;padding:0}.features_list_RMlj li{display:flex;flex-direction:column;gap:22px}.m_width_rSnZ{padding:0 200px}.backToTopButton_sjWU{background-color:var(--ifm-color-emphasis-200);border-radius:50%;bottom:1.3rem;box-shadow:var(--ifm-global-shadow-lw);height:3rem;opacity:0;position:fixed;right:1.3rem;transform:scale(0);transition:all var(--ifm-transition-fast) var(--ifm-transition-timing-default);visibility:hidden;width:3rem;z-index:calc(var(--ifm-z-index-fixed) - 1)}.backToTopButton_sjWU:after{background-color:var(--ifm-color-emphasis-1000);content:" ";display:inline-block;height:100%;-webkit-mask:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem no-repeat;mask:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem no-repeat;width:100%}.backToTopButtonShow_xfvO{opacity:1;transform:scale(1);visibility:visible}[data-theme=dark]:root{--docusaurus-collapse-button-bg:#ffffff0d;--docusaurus-collapse-button-bg-hover:#ffffff1a}.collapseSidebarButton_PEFL{display:none;margin:0}.docSidebarContainer_YfHR,.sidebarLogo_isFc{display:none}.docMainContainer_TBSr,.docRoot_UBD9{display:flex;width:100%}.docsWrapper_hBAB{display:flex;flex:1 0 auto}@media (min-width:997px){.collapseSidebarButton_PEFL,.expandButton_TmdG{background-color:var(--docusaurus-collapse-button-bg)}:root{--docusaurus-announcement-bar-height:30px}.announcementBarClose_gvF7,.announcementBarPlaceholder_vyr4{flex-basis:50px}.navbarSearchContainer_Bca1{padding:var(--ifm-navbar-item-padding-vertical) var(--ifm-navbar-item-padding-horizontal)}.lastUpdated_vwxv{text-align:right}.tocMobile_ITEo{display:none}.docItemCol_VOVn{max-width:75%!important}.collapseSidebarButton_PEFL{border:1px solid var(--ifm-toc-border-color);border-radius:0;bottom:0;display:block!important;height:40px;position:sticky}.collapseSidebarButtonIcon_kv0_{margin-top:4px;transform:rotate(180deg)}.expandButtonIcon_i1dp,[dir=rtl] .collapseSidebarButtonIcon_kv0_{transform:rotate(0)}.collapseSidebarButton_PEFL:focus,.collapseSidebarButton_PEFL:hover,.expandButton_TmdG:focus,.expandButton_TmdG:hover{background-color:var(--docusaurus-collapse-button-bg-hover)}.menuHtmlItem_M9Kj{padding:var(--ifm-menu-link-padding-vertical) var(--ifm-menu-link-padding-horizontal)}.menu_SIkG{flex-grow:1;padding:.5rem}@supports (scrollbar-gutter:stable){.menu_SIkG{padding:.5rem 0 .5rem .5rem;scrollbar-gutter:stable}}.menuWithAnnouncementBar_GW3s{margin-bottom:var(--docusaurus-announcement-bar-height)}.sidebar_njMd{display:flex;flex-direction:column;height:100%;padding-top:var(--ifm-navbar-height);width:var(--doc-sidebar-width)}.sidebarWithHideableNavbar_wUlq{padding-top:0}.sidebarHidden_VK0M{opacity:0;visibility:hidden}.sidebarLogo_isFc{align-items:center;color:inherit!important;display:flex!important;margin:0 var(--ifm-navbar-padding-horizontal);max-height:var(--ifm-navbar-height);min-height:var(--ifm-navbar-height);text-decoration:none!important}.sidebarLogo_isFc img{height:2rem;margin-right:.5rem}.expandButton_TmdG{align-items:center;display:flex;height:100%;justify-content:center;position:absolute;right:0;top:0;transition:background-color var(--ifm-transition-fast) ease;width:100%}[dir=rtl] .expandButtonIcon_i1dp{transform:rotate(180deg)}.docSidebarContainer_YfHR{border-right:1px solid var(--ifm-toc-border-color);-webkit-clip-path:inset(0);clip-path:inset(0);display:block;margin-top:calc(var(--ifm-navbar-height)*-1);transition:width var(--ifm-transition-fast) ease;width:var(--doc-sidebar-width);will-change:width}.docSidebarContainerHidden_DPk8{cursor:pointer;width:var(--doc-sidebar-hidden-width)}.sidebarViewport_aRkj{height:100%;max-height:100vh;position:sticky;top:0}.docMainContainer_TBSr{flex-grow:1;max-width:calc(100% - var(--doc-sidebar-width))}.docMainContainerEnhanced_lQrH{max-width:calc(100% - var(--doc-sidebar-hidden-width))}.docItemWrapperEnhanced_JWYK{max-width:calc(var(--ifm-container-width) + var(--doc-sidebar-width))!important}}@media (min-width:1440px){.container{max-width:var(--ifm-container-width-xl)}}@media (max-width:1200px)and (min-width:769px)and (min-height:376px){.m_width_rSnZ{padding:0 70px}}@media (max-width:1024px){.features_XAlT{padding:93px 0}.features_list_RMlj{grid-template-columns:repeat(1,1fr)}}@media (max-width:996px){.col{--ifm-col-width:100%;flex-basis:var(--ifm-col-width);margin-left:0}.footer{--ifm-footer-padding-horizontal:0}.colorModeToggle_DEke,.footer__link-separator,.navbar__item,.tableOfContents_bqdL{display:none}.footer__col{margin-bottom:calc(var(--ifm-spacing-vertical)*3)}.footer__link-item{display:block}.hero{padding-left:0;padding-right:0}.navbar>.container,.navbar>.container-fluid{padding:0}.navbar__toggle{display:inherit}.navbar__search-input{width:9rem}.pills--block,.tabs--block{flex-direction:column}.navbarSearchContainer_Bca1{position:absolute;right:var(--ifm-navbar-padding-horizontal)}.docItemContainer_F8PC{padding:0 .3rem}}@media (max-width:768px),(max-width:812px)and (max-height:375px){.m_width_rSnZ{padding:0 30px}.preview_s1Xp{padding:168px 0 94px}}@media (max-width:576px){.markdown h1:first-child{--ifm-h1-font-size:2rem}.markdown>h2{--ifm-h2-font-size:1.5rem}.markdown>h3{--ifm-h3-font-size:1.25rem}}@media (hover:hover){.backToTopButton_sjWU:hover{background-color:var(--ifm-color-emphasis-300)}}@media (pointer:fine){.thin-scrollbar{scrollbar-width:thin}.thin-scrollbar::-webkit-scrollbar{height:var(--ifm-scrollbar-size);width:var(--ifm-scrollbar-size)}.thin-scrollbar::-webkit-scrollbar-track{background:var(--ifm-scrollbar-track-background-color);border-radius:10px}.thin-scrollbar::-webkit-scrollbar-thumb{background:var(--ifm-scrollbar-thumb-background-color);border-radius:10px}.thin-scrollbar::-webkit-scrollbar-thumb:hover{background:var(--ifm-scrollbar-thumb-hover-background-color)}}@media (prefers-reduced-motion:reduce){:root{--ifm-transition-fast:0ms;--ifm-transition-slow:0ms}}@media print{.announcementBar_mb4j,.footer,.menu,.navbar,.pagination-nav,.table-of-contents,.tocMobile_ITEo{display:none}.tabs{page-break-inside:avoid}.codeBlockLines_e6Vv{white-space:pre-wrap}} \ No newline at end of file diff --git a/assets/js/00675d3b.27fd1268.js b/assets/js/00675d3b.27fd1268.js new file mode 100644 index 0000000..e774831 --- /dev/null +++ b/assets/js/00675d3b.27fd1268.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[557],{8076:(e,r,i)=>{i.r(r),i.d(r,{assets:()=>d,contentTitle:()=>l,default:()=>t,frontMatter:()=>c,metadata:()=>a,toc:()=>o});var n=i(5893),s=i(1151);const c={id:"ConstructedParams",title:"Interface: ConstructedParams",sidebar_label:"ConstructedParams",sidebar_position:0,custom_edit_url:null},l=void 0,a={id:"api/interfaces/ConstructedParams",title:"Interface: ConstructedParams",description:"Hierarchy",source:"@site/docs/api/interfaces/ConstructedParams.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/ConstructedParams",permalink:"/docs/api/interfaces/ConstructedParams",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"ConstructedParams",title:"Interface: ConstructedParams",sidebar_label:"ConstructedParams",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"CompareSchemaSuccess",permalink:"/docs/api/interfaces/CompareSchemaSuccess"},next:{title:"FromBerResult",permalink:"/docs/api/interfaces/FromBerResult"}},d={},o=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"isIndefiniteForm",id:"isindefiniteform",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"value",id:"value",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-10",level:4}];function h(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,s.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,n.jsxs)(r.ul,{children:["\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:(0,n.jsx)(r.code,{children:"BaseBlockParams"})})}),"\n"]}),"\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"LocalConstructedValueBlockParams"})}),"\n",(0,n.jsxs)(r.p,{children:["\u21b3 ",(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"ConstructedParams"})})]}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,n.jsx)(r.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"blockLength"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#blocklength",children:"blockLength"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"error",children:"error"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"error"}),": ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#error",children:"error"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"idblock",children:"idBlock"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"idBlock"}),": ",(0,n.jsx)(r.code,{children:"Partial"}),"<",(0,n.jsx)(r.code,{children:"ILocalIdentificationBlock"}),"> & ",(0,n.jsx)(r.code,{children:"Partial"}),"<",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/IHexBlock",children:(0,n.jsx)(r.code,{children:"IHexBlock"})}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#idblock",children:"idBlock"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"isindefiniteform",children:"isIndefiniteForm"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"isIndefiniteForm"}),": ",(0,n.jsx)(r.code,{children:"boolean"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"LocalConstructedValueBlockParams.isIndefiniteForm"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"lenBlock"}),": ",(0,n.jsx)(r.code,{children:"Partial"}),"<",(0,n.jsx)(r.code,{children:"ILocalLengthBlock"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#lenblock",children:"lenBlock"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"name",children:"name"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"name"}),": ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#name",children:"name"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"optional",children:"optional"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"optional"}),": ",(0,n.jsx)(r.code,{children:"boolean"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#optional",children:"optional"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"primitiveSchema"}),": ",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:(0,n.jsx)(r.code,{children:"BaseBlock"})}),"<",(0,n.jsx)(r.a,{href:"/docs/api/classes/ValueBlock",children:(0,n.jsx)(r.code,{children:"ValueBlock"})}),", ",(0,n.jsx)(r.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#primitiveschema",children:"primitiveSchema"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"value",children:"value"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"value"}),": ",(0,n.jsx)(r.code,{children:"ConstructedItem"}),"[]"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"LocalConstructedValueBlockParams.value"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"valueBeforeDecode"}),": ",(0,n.jsx)(r.code,{children:"BufferSource"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#valuebeforedecode",children:"valueBeforeDecode"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"warnings",children:"warnings"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"warnings"}),": ",(0,n.jsx)(r.code,{children:"string"}),"[]"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#warnings",children:"warnings"})]})]})}function t(e={}){const{wrapper:r}={...(0,s.a)(),...e.components};return r?(0,n.jsx)(r,{...e,children:(0,n.jsx)(h,{...e})}):h(e)}},1151:(e,r,i)=>{i.d(r,{Z:()=>a,a:()=>l});var n=i(7294);const s={},c=n.createContext(s);function l(e){const r=n.useContext(c);return n.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function a(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:l(e.components),n.createElement(c.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/026391f0.e5df5c98.js b/assets/js/026391f0.e5df5c98.js new file mode 100644 index 0000000..a72697c --- /dev/null +++ b/assets/js/026391f0.e5df5c98.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4417],{550:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>c,contentTitle:()=>s,default:()=>x,frontMatter:()=>d,metadata:()=>t,toc:()=>h});var i=n(5893),l=n(1151);const d={id:"PrintableString",title:"Class: PrintableString",sidebar_label:"PrintableString",sidebar_position:0,custom_edit_url:null},s=void 0,t={id:"api/classes/PrintableString",title:"Class: PrintableString",description:"Hierarchy",source:"@site/docs/api/classes/PrintableString.md",sourceDirName:"api/classes",slug:"/api/classes/PrintableString",permalink:"/docs/api/classes/PrintableString",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"PrintableString",title:"Class: PrintableString",sidebar_label:"PrintableString",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"Primitive",permalink:"/docs/api/classes/Primitive"},next:{title:"RawData",permalink:"/docs/api/classes/RawData"}},c={},h=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Overrides",id:"overrides",level:4},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"valueBeforeDecodeView",id:"valuebeforedecodeview",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"valueBlock",id:"valueblock",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"NAME",id:"name-1",level:3},{value:"Overrides",id:"overrides-1",level:4},{value:"Accessors",id:"accessors",level:2},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Returns",id:"returns-1",level:4},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Methods",id:"methods",level:2},{value:"fromBER",id:"fromber",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"fromBuffer",id:"frombuffer",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-4",level:4},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"fromString",id:"fromstring",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-5",level:4},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"getValue",id:"getvalue",level:3},{value:"Returns",id:"returns-6",level:4},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"isEqual",id:"isequal",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-7",level:4},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"onAsciiEncoding",id:"onasciiencoding",level:3},{value:"Returns",id:"returns-8",level:4},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"setValue",id:"setvalue",level:3},{value:"Parameters",id:"parameters-6",level:4},{value:"Returns",id:"returns-9",level:4},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"toBER",id:"tober",level:3},{value:"Parameters",id:"parameters-7",level:4},{value:"Returns",id:"returns-10",level:4},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"toJSON",id:"tojson",level:3},{value:"Returns",id:"returns-11",level:4},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"toString",id:"tostring",level:3},{value:"Parameters",id:"parameters-8",level:4},{value:"Returns",id:"returns-12",level:4},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"blockName",id:"blockname",level:3},{value:"Returns",id:"returns-13",level:4},{value:"Inherited from",id:"inherited-from-22",level:4}];function o(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,l.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,i.jsxs)(r.ul,{children:["\n",(0,i.jsxs)(r.li,{children:["\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"LocalSimpleStringBlock"})}),"\n",(0,i.jsxs)(r.p,{children:["\u21b3 ",(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"PrintableString"})})]}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(r.h2,{id:"constructors",children:"Constructors"}),"\n",(0,i.jsx)(r.h3,{id:"constructor",children:"constructor"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"new PrintableString"}),"(",(0,i.jsx)(r.code,{children:"parameters?"}),"): ",(0,i.jsx)(r.a,{href:"/docs/api/classes/PrintableString",children:(0,i.jsx)(r.code,{children:"PrintableString"})})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"parameters"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"LocalSimpleStringBlockParams"})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.a,{href:"/docs/api/classes/PrintableString",children:(0,i.jsx)(r.code,{children:"PrintableString"})})}),"\n",(0,i.jsx)(r.h4,{id:"overrides",children:"Overrides"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.constructor"}),"\n",(0,i.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,i.jsx)(r.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"blockLength"}),": ",(0,i.jsx)(r.code,{children:"number"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.blockLength"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"error",children:"error"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"error"}),": ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.error"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"idblock",children:"idBlock"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"idBlock"}),": ",(0,i.jsx)(r.code,{children:"LocalIdentificationBlock"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.idBlock"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"lenBlock"}),": ",(0,i.jsx)(r.code,{children:"LocalLengthBlock"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.lenBlock"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"name",children:"name"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"name"}),": ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.name"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"optional",children:"optional"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"optional"}),": ",(0,i.jsx)(r.code,{children:"boolean"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.optional"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.code,{children:"Optional"})," ",(0,i.jsx)(r.strong,{children:"primitiveSchema"}),": ",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:(0,i.jsx)(r.code,{children:"BaseBlock"})}),"<",(0,i.jsx)(r.a,{href:"/docs/api/classes/ValueBlock",children:(0,i.jsx)(r.code,{children:"ValueBlock"})}),", ",(0,i.jsx)(r.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.primitiveSchema"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"valuebeforedecodeview",children:"valueBeforeDecodeView"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"valueBeforeDecodeView"}),": ",(0,i.jsx)(r.code,{children:"Uint8Array"})]}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Since"})})}),"\n",(0,i.jsx)(r.p,{children:"3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.valueBeforeDecodeView"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"valueblock",children:"valueBlock"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"valueBlock"}),": ",(0,i.jsx)(r.code,{children:"LocalSimpleStringValueBlock"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.valueBlock"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"warnings",children:"warnings"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"warnings"}),": ",(0,i.jsx)(r.code,{children:"string"}),"[]"]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.warnings"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"name-1",children:"NAME"}),"\n",(0,i.jsxs)(r.p,{children:["\u25aa ",(0,i.jsx)(r.code,{children:"Static"})," ",(0,i.jsx)(r.strong,{children:"NAME"}),": ",(0,i.jsx)(r.code,{children:"string"})," = ",(0,i.jsx)(r.code,{children:'"PrintableString"'})]}),"\n",(0,i.jsx)(r.h4,{id:"overrides-1",children:"Overrides"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.NAME"}),"\n",(0,i.jsx)(r.h2,{id:"accessors",children:"Accessors"}),"\n",(0,i.jsx)(r.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.code,{children:"get"})," ",(0,i.jsx)(r.strong,{children:"valueBeforeDecode"}),"(): ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-1",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,i.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.valueBeforeDecode"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.code,{children:"set"})," ",(0,i.jsx)(r.strong,{children:"valueBeforeDecode"}),"(",(0,i.jsx)(r.code,{children:"value"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"value"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"ArrayBuffer"})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-2",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,i.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.valueBeforeDecode"}),"\n",(0,i.jsx)(r.h2,{id:"methods",children:"Methods"}),"\n",(0,i.jsx)(r.h3,{id:"fromber",children:"fromBER"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"fromBER"}),"(",(0,i.jsx)(r.code,{children:"inputBuffer"}),", ",(0,i.jsx)(r.code,{children:"inputOffset"}),", ",(0,i.jsx)(r.code,{children:"inputLength"}),"): ",(0,i.jsx)(r.code,{children:"number"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsxs)(r.tbody,{children:[(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputBuffer"})}),(0,i.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,i.jsx)(r.code,{children:"Uint8Array"})," | ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputOffset"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"number"})})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputLength"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"number"})})]})]})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-3",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"number"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.fromBER"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"frombuffer",children:"fromBuffer"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"fromBuffer"}),"(",(0,i.jsx)(r.code,{children:"inputBuffer"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputBuffer"})}),(0,i.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,i.jsx)(r.code,{children:"Uint8Array"})," | ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-4",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.fromBuffer"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"fromstring",children:"fromString"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"fromString"}),"(",(0,i.jsx)(r.code,{children:"inputString"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputString"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"string"})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-5",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.fromString"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"getvalue",children:"getValue"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"getValue"}),"(): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.p,{children:"String value"}),"\n",(0,i.jsx)(r.h4,{id:"returns-6",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Since"})})}),"\n",(0,i.jsx)(r.p,{children:"3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.getValue"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"isequal",children:"isEqual"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"isEqual"}),"(",(0,i.jsx)(r.code,{children:"other"}),"): other is PrintableString"]}),"\n",(0,i.jsx)(r.p,{children:"Determines whether two object instances are equal"}),"\n",(0,i.jsx)(r.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"other"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"unknown"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:"Object to compare with the current object"})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-7",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:"other is PrintableString"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.isEqual"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"onasciiencoding",children:"onAsciiEncoding"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"onAsciiEncoding"}),"(): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-8",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-17",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.onAsciiEncoding"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"setvalue",children:"setValue"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"setValue"}),"(",(0,i.jsx)(r.code,{children:"value"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.p,{children:"String value"}),"\n",(0,i.jsx)(r.h4,{id:"parameters-6",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"value"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"string"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:"String value"})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-9",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Since"})})}),"\n",(0,i.jsx)(r.p,{children:"3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-18",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.setValue"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"tober",children:"toBER"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"toBER"}),"(",(0,i.jsx)(r.code,{children:"sizeOnly?"}),", ",(0,i.jsx)(r.code,{children:"writer?"}),"): ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-7",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsxs)(r.tbody,{children:[(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"sizeOnly?"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"boolean"})})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"writer?"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.a,{href:"/docs/api/classes/ViewWriter",children:(0,i.jsx)(r.code,{children:"ViewWriter"})})})]})]})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-10",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-19",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.toBER"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"tojson",children:"toJSON"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"toJSON"}),"(): ",(0,i.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,i.jsx)(r.code,{children:"BaseBlockJson"})}),"<",(0,i.jsx)(r.code,{children:"LocalStringValueBlockJson"}),">"]}),"\n",(0,i.jsx)(r.h4,{id:"returns-11",children:"Returns"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,i.jsx)(r.code,{children:"BaseBlockJson"})}),"<",(0,i.jsx)(r.code,{children:"LocalStringValueBlockJson"}),">"]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-20",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.toJSON"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"tostring",children:"toString"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"toString"}),"(",(0,i.jsx)(r.code,{children:"encoding?"}),"): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-8",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Default value"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"encoding"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.a,{href:"../#stringencoding",children:(0,i.jsx)(r.code,{children:"StringEncoding"})})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:'"ascii"'})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-12",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-21",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.toString"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"blockname",children:"blockName"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"blockName"}),"(): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.p,{children:"Aux function, need to get a block name. Need to have it here for inheritance"}),"\n",(0,i.jsx)(r.h4,{id:"returns-13",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.p,{children:"Returns name of the block"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-22",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.blockName"})]})}function x(e={}){const{wrapper:r}={...(0,l.a)(),...e.components};return r?(0,i.jsx)(r,{...e,children:(0,i.jsx)(o,{...e})}):o(e)}},1151:(e,r,n)=>{n.d(r,{Z:()=>t,a:()=>s});var i=n(7294);const l={},d=i.createContext(l);function s(e){const r=i.useContext(d);return i.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function t(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(l):e.components||l:s(e.components),i.createElement(d.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/03bd3e3d.d854d8e3.js b/assets/js/03bd3e3d.d854d8e3.js new file mode 100644 index 0000000..00b99b9 --- /dev/null +++ b/assets/js/03bd3e3d.d854d8e3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[5903],{3563:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>i,default:()=>o,frontMatter:()=>l,metadata:()=>d,toc:()=>a});var n=r(5893),s=r(1151);const l={id:"RawData",title:"Class: RawData",sidebar_label:"RawData",sidebar_position:0,custom_edit_url:null},i=void 0,d={id:"api/classes/RawData",title:"Class: RawData",description:'Special class providing ability to have "toBER/fromBER" for raw ArrayBuffer',source:"@site/docs/api/classes/RawData.md",sourceDirName:"api/classes",slug:"/api/classes/RawData",permalink:"/docs/api/classes/RawData",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"RawData",title:"Class: RawData",sidebar_label:"RawData",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"PrintableString",permalink:"/docs/api/classes/PrintableString"},next:{title:"RelativeObjectIdentifier",permalink:"/docs/api/classes/RelativeObjectIdentifier"}},c={},a=[{value:"Implements",id:"implements",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Properties",id:"properties",level:2},{value:"dataView",id:"dataview",level:3},{value:"Accessors",id:"accessors",level:2},{value:"data",id:"data",level:3},{value:"Returns",id:"returns-1",level:4},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Methods",id:"methods",level:2},{value:"fromBER",id:"fromber",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Implementation of",id:"implementation-of",level:4},{value:"toBER",id:"tober",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-4",level:4},{value:"Implementation of",id:"implementation-of-1",level:4}];function h(e){const t={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,s.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.p,{children:'Special class providing ability to have "toBER/fromBER" for raw ArrayBuffer'}),"\n",(0,n.jsx)(t.h2,{id:"implements",children:"Implements"}),"\n",(0,n.jsxs)(t.ul,{children:["\n",(0,n.jsx)(t.li,{children:(0,n.jsx)(t.a,{href:"/docs/api/interfaces/IBerConvertible",children:(0,n.jsx)(t.code,{children:"IBerConvertible"})})}),"\n"]}),"\n",(0,n.jsx)(t.h2,{id:"constructors",children:"Constructors"}),"\n",(0,n.jsx)(t.h3,{id:"constructor",children:"constructor"}),"\n",(0,n.jsxs)(t.p,{children:["\u2022 ",(0,n.jsx)(t.strong,{children:"new RawData"}),"(",(0,n.jsx)(t.code,{children:"\xabdestructured\xbb?"}),"): ",(0,n.jsx)(t.a,{href:"/docs/api/classes/RawData",children:(0,n.jsx)(t.code,{children:"RawData"})})]}),"\n",(0,n.jsx)(t.h4,{id:"parameters",children:"Parameters"}),"\n",(0,n.jsxs)(t.table,{children:[(0,n.jsx)(t.thead,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(t.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(t.tbody,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{style:{textAlign:"left"},children:(0,n.jsx)(t.code,{children:"\xabdestructured\xbb"})}),(0,n.jsxs)(t.td,{style:{textAlign:"left"},children:[(0,n.jsx)(t.code,{children:"Partial"}),"<",(0,n.jsx)(t.a,{href:"/docs/api/interfaces/IRawData",children:(0,n.jsx)(t.code,{children:"IRawData"})}),">"]})]})})]}),"\n",(0,n.jsx)(t.h4,{id:"returns",children:"Returns"}),"\n",(0,n.jsx)(t.p,{children:(0,n.jsx)(t.a,{href:"/docs/api/classes/RawData",children:(0,n.jsx)(t.code,{children:"RawData"})})}),"\n",(0,n.jsx)(t.h2,{id:"properties",children:"Properties"}),"\n",(0,n.jsx)(t.h3,{id:"dataview",children:"dataView"}),"\n",(0,n.jsxs)(t.p,{children:["\u2022 ",(0,n.jsx)(t.strong,{children:"dataView"}),": ",(0,n.jsx)(t.code,{children:"Uint8Array"})]}),"\n",(0,n.jsx)(t.p,{children:(0,n.jsx)(t.strong,{children:(0,n.jsx)(t.code,{children:"Since"})})}),"\n",(0,n.jsx)(t.p,{children:"3.0.0"}),"\n",(0,n.jsx)(t.h2,{id:"accessors",children:"Accessors"}),"\n",(0,n.jsx)(t.h3,{id:"data",children:"data"}),"\n",(0,n.jsxs)(t.p,{children:["\u2022 ",(0,n.jsx)(t.code,{children:"get"})," ",(0,n.jsx)(t.strong,{children:"data"}),"(): ",(0,n.jsx)(t.code,{children:"ArrayBuffer"})]}),"\n",(0,n.jsx)(t.h4,{id:"returns-1",children:"Returns"}),"\n",(0,n.jsx)(t.p,{children:(0,n.jsx)(t.code,{children:"ArrayBuffer"})}),"\n",(0,n.jsx)(t.p,{children:(0,n.jsx)(t.strong,{children:(0,n.jsx)(t.code,{children:"Deprecated"})})}),"\n",(0,n.jsx)(t.p,{children:"Since v3.0.0"}),"\n",(0,n.jsxs)(t.p,{children:["\u2022 ",(0,n.jsx)(t.code,{children:"set"})," ",(0,n.jsx)(t.strong,{children:"data"}),"(",(0,n.jsx)(t.code,{children:"value"}),"): ",(0,n.jsx)(t.code,{children:"void"})]}),"\n",(0,n.jsx)(t.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,n.jsxs)(t.table,{children:[(0,n.jsx)(t.thead,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(t.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(t.tbody,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{style:{textAlign:"left"},children:(0,n.jsx)(t.code,{children:"value"})}),(0,n.jsx)(t.td,{style:{textAlign:"left"},children:(0,n.jsx)(t.code,{children:"ArrayBuffer"})})]})})]}),"\n",(0,n.jsx)(t.h4,{id:"returns-2",children:"Returns"}),"\n",(0,n.jsx)(t.p,{children:(0,n.jsx)(t.code,{children:"void"})}),"\n",(0,n.jsx)(t.p,{children:(0,n.jsx)(t.strong,{children:(0,n.jsx)(t.code,{children:"Deprecated"})})}),"\n",(0,n.jsx)(t.p,{children:"Since v3.0.0"}),"\n",(0,n.jsx)(t.h2,{id:"methods",children:"Methods"}),"\n",(0,n.jsx)(t.h3,{id:"fromber",children:"fromBER"}),"\n",(0,n.jsxs)(t.p,{children:["\u25b8 ",(0,n.jsx)(t.strong,{children:"fromBER"}),"(",(0,n.jsx)(t.code,{children:"inputBuffer"}),", ",(0,n.jsx)(t.code,{children:"inputOffset"}),", ",(0,n.jsx)(t.code,{children:"inputLength"}),"): ",(0,n.jsx)(t.code,{children:"number"})]}),"\n",(0,n.jsx)(t.p,{children:"Base function for converting block from BER encoded array of bytes"}),"\n",(0,n.jsx)(t.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,n.jsxs)(t.table,{children:[(0,n.jsx)(t.thead,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(t.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(t.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,n.jsxs)(t.tbody,{children:[(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{style:{textAlign:"left"},children:(0,n.jsx)(t.code,{children:"inputBuffer"})}),(0,n.jsxs)(t.td,{style:{textAlign:"left"},children:[(0,n.jsx)(t.code,{children:"Uint8Array"})," | ",(0,n.jsx)(t.code,{children:"ArrayBuffer"})]}),(0,n.jsx)(t.td,{style:{textAlign:"left"},children:"ASN.1 BER encoded array"})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{style:{textAlign:"left"},children:(0,n.jsx)(t.code,{children:"inputOffset"})}),(0,n.jsx)(t.td,{style:{textAlign:"left"},children:(0,n.jsx)(t.code,{children:"number"})}),(0,n.jsx)(t.td,{style:{textAlign:"left"},children:"Offset in ASN.1 BER encoded array where decoding should be started"})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{style:{textAlign:"left"},children:(0,n.jsx)(t.code,{children:"inputLength"})}),(0,n.jsx)(t.td,{style:{textAlign:"left"},children:(0,n.jsx)(t.code,{children:"number"})}),(0,n.jsx)(t.td,{style:{textAlign:"left"},children:"Maximum length of array of bytes which can be using in this function"})]})]})]}),"\n",(0,n.jsx)(t.h4,{id:"returns-3",children:"Returns"}),"\n",(0,n.jsx)(t.p,{children:(0,n.jsx)(t.code,{children:"number"})}),"\n",(0,n.jsx)(t.p,{children:"Offset after least decoded byte"}),"\n",(0,n.jsx)(t.h4,{id:"implementation-of",children:"Implementation of"}),"\n",(0,n.jsxs)(t.p,{children:[(0,n.jsx)(t.a,{href:"/docs/api/interfaces/IBerConvertible",children:"IBerConvertible"}),".",(0,n.jsx)(t.a,{href:"/docs/api/interfaces/IBerConvertible#fromber",children:"fromBER"})]}),"\n",(0,n.jsx)(t.hr,{}),"\n",(0,n.jsx)(t.h3,{id:"tober",children:"toBER"}),"\n",(0,n.jsxs)(t.p,{children:["\u25b8 ",(0,n.jsx)(t.strong,{children:"toBER"}),"(",(0,n.jsx)(t.code,{children:"sizeOnly?"}),"): ",(0,n.jsx)(t.code,{children:"ArrayBuffer"})]}),"\n",(0,n.jsx)(t.p,{children:"Encoding of current ASN.1 block into ASN.1 encoded array (BER rules)"}),"\n",(0,n.jsx)(t.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,n.jsxs)(t.table,{children:[(0,n.jsx)(t.thead,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(t.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(t.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,n.jsx)(t.tbody,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{style:{textAlign:"left"},children:(0,n.jsx)(t.code,{children:"sizeOnly?"})}),(0,n.jsx)(t.td,{style:{textAlign:"left"},children:(0,n.jsx)(t.code,{children:"boolean"})}),(0,n.jsx)(t.td,{style:{textAlign:"left"},children:"Flag that we need only a size of encoding, not a real array of bytes"})]})})]}),"\n",(0,n.jsx)(t.h4,{id:"returns-4",children:"Returns"}),"\n",(0,n.jsx)(t.p,{children:(0,n.jsx)(t.code,{children:"ArrayBuffer"})}),"\n",(0,n.jsx)(t.p,{children:"ASN.1 BER encoded array"}),"\n",(0,n.jsx)(t.h4,{id:"implementation-of-1",children:"Implementation of"}),"\n",(0,n.jsxs)(t.p,{children:[(0,n.jsx)(t.a,{href:"/docs/api/interfaces/IBerConvertible",children:"IBerConvertible"}),".",(0,n.jsx)(t.a,{href:"/docs/api/interfaces/IBerConvertible#tober",children:"toBER"})]})]})}function o(e={}){const{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(h,{...e})}):h(e)}},1151:(e,t,r)=>{r.d(t,{Z:()=>d,a:()=>i});var n=r(7294);const s={},l=n.createContext(s);function i(e){const t=n.useContext(l);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function d(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),n.createElement(l.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/0c4223ed.faa8b589.js b/assets/js/0c4223ed.faa8b589.js new file mode 100644 index 0000000..f8d5b7d --- /dev/null +++ b/assets/js/0c4223ed.faa8b589.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[9370],{2447:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>c,default:()=>u,frontMatter:()=>l,metadata:()=>o,toc:()=>a});var s=r(5893),n=r(1151);const l={id:"ValueBlockConstructor",title:"Interface: ValueBlockConstructor",sidebar_label:"ValueBlockConstructor",sidebar_position:0,custom_edit_url:null},c=void 0,o={id:"api/interfaces/ValueBlockConstructor",title:"Interface: ValueBlockConstructor",description:"Type parameters",source:"@site/docs/api/interfaces/ValueBlockConstructor.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/ValueBlockConstructor",permalink:"/docs/api/interfaces/ValueBlockConstructor",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"ValueBlockConstructor",title:"Interface: ValueBlockConstructor",sidebar_label:"ValueBlockConstructor",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"Utf8StringParams",permalink:"/docs/api/interfaces/Utf8StringParams"}},i={},a=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4}];function d(e){const t={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,n.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.h2,{id:"type-parameters",children:"Type parameters"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(t.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,s.jsx)(t.tbody,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"left"},children:(0,s.jsx)(t.code,{children:"T"})}),(0,s.jsxs)(t.td,{style:{textAlign:"left"},children:["extends ",(0,s.jsx)(t.a,{href:"/docs/api/classes/ValueBlock",children:(0,s.jsx)(t.code,{children:"ValueBlock"})})," = ",(0,s.jsx)(t.a,{href:"/docs/api/classes/ValueBlock",children:(0,s.jsx)(t.code,{children:"ValueBlock"})})]})]})})]}),"\n",(0,s.jsx)(t.h2,{id:"constructors",children:"Constructors"}),"\n",(0,s.jsx)(t.h3,{id:"constructor",children:"constructor"}),"\n",(0,s.jsxs)(t.p,{children:["\u2022 ",(0,s.jsx)(t.strong,{children:"new ValueBlockConstructor"}),"(",(0,s.jsx)(t.code,{children:"...args"}),"): ",(0,s.jsx)(t.code,{children:"T"})]}),"\n",(0,s.jsx)(t.h4,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(t.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,s.jsx)(t.tbody,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"left"},children:(0,s.jsx)(t.code,{children:"...args"})}),(0,s.jsxs)(t.td,{style:{textAlign:"left"},children:[(0,s.jsx)(t.code,{children:"any"}),"[]"]})]})})]}),"\n",(0,s.jsx)(t.h4,{id:"returns",children:"Returns"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.code,{children:"T"})})]})}function u(e={}){const{wrapper:t}={...(0,n.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},1151:(e,t,r)=>{r.d(t,{Z:()=>o,a:()=>c});var s=r(7294);const n={},l=s.createContext(n);function c(e){const t=s.useContext(l);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:c(e.components),s.createElement(l.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/0f29e150.edf2bbf6.js b/assets/js/0f29e150.edf2bbf6.js new file mode 100644 index 0000000..accdf78 --- /dev/null +++ b/assets/js/0f29e150.edf2bbf6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4033],{8552:(e,i,n)=>{n.r(i),n.d(i,{assets:()=>t,contentTitle:()=>l,default:()=>a,frontMatter:()=>s,metadata:()=>c,toc:()=>h});var r=n(5893),d=n(1151);const s={id:"IGeneralizedTime",title:"Interface: IGeneralizedTime",sidebar_label:"IGeneralizedTime",sidebar_position:0,custom_edit_url:null},l=void 0,c={id:"api/interfaces/IGeneralizedTime",title:"Interface: IGeneralizedTime",description:"Hierarchy",source:"@site/docs/api/interfaces/IGeneralizedTime.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/IGeneralizedTime",permalink:"/docs/api/interfaces/IGeneralizedTime",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"IGeneralizedTime",title:"Interface: IGeneralizedTime",sidebar_label:"IGeneralizedTime",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"IDerConvertible",permalink:"/docs/api/interfaces/IDerConvertible"},next:{title:"IHexBlock",permalink:"/docs/api/interfaces/IHexBlock"}},t={},h=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"day",id:"day",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"hour",id:"hour",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"millisecond",id:"millisecond",level:3},{value:"minute",id:"minute",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"month",id:"month",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"second",id:"second",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"year",id:"year",level:3},{value:"Inherited from",id:"inherited-from-5",level:4}];function o(e){const i={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,d.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,r.jsxs)(i.ul,{children:["\n",(0,r.jsxs)(i.li,{children:["\n",(0,r.jsx)(i.p,{children:(0,r.jsx)(i.a,{href:"/docs/api/interfaces/IUTCTime",children:(0,r.jsx)(i.code,{children:"IUTCTime"})})}),"\n",(0,r.jsxs)(i.p,{children:["\u21b3 ",(0,r.jsx)(i.strong,{children:(0,r.jsx)(i.code,{children:"IGeneralizedTime"})})]}),"\n"]}),"\n"]}),"\n",(0,r.jsx)(i.h2,{id:"properties",children:"Properties"}),"\n",(0,r.jsx)(i.h3,{id:"day",children:"day"}),"\n",(0,r.jsxs)(i.p,{children:["\u2022 ",(0,r.jsx)(i.strong,{children:"day"}),": ",(0,r.jsx)(i.code,{children:"number"})]}),"\n",(0,r.jsx)(i.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,r.jsxs)(i.p,{children:[(0,r.jsx)(i.a,{href:"/docs/api/interfaces/IUTCTime",children:"IUTCTime"}),".",(0,r.jsx)(i.a,{href:"/docs/api/interfaces/IUTCTime#day",children:"day"})]}),"\n",(0,r.jsx)(i.hr,{}),"\n",(0,r.jsx)(i.h3,{id:"hour",children:"hour"}),"\n",(0,r.jsxs)(i.p,{children:["\u2022 ",(0,r.jsx)(i.strong,{children:"hour"}),": ",(0,r.jsx)(i.code,{children:"number"})]}),"\n",(0,r.jsx)(i.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,r.jsxs)(i.p,{children:[(0,r.jsx)(i.a,{href:"/docs/api/interfaces/IUTCTime",children:"IUTCTime"}),".",(0,r.jsx)(i.a,{href:"/docs/api/interfaces/IUTCTime#hour",children:"hour"})]}),"\n",(0,r.jsx)(i.hr,{}),"\n",(0,r.jsx)(i.h3,{id:"millisecond",children:"millisecond"}),"\n",(0,r.jsxs)(i.p,{children:["\u2022 ",(0,r.jsx)(i.strong,{children:"millisecond"}),": ",(0,r.jsx)(i.code,{children:"number"})]}),"\n",(0,r.jsx)(i.hr,{}),"\n",(0,r.jsx)(i.h3,{id:"minute",children:"minute"}),"\n",(0,r.jsxs)(i.p,{children:["\u2022 ",(0,r.jsx)(i.strong,{children:"minute"}),": ",(0,r.jsx)(i.code,{children:"number"})]}),"\n",(0,r.jsx)(i.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,r.jsxs)(i.p,{children:[(0,r.jsx)(i.a,{href:"/docs/api/interfaces/IUTCTime",children:"IUTCTime"}),".",(0,r.jsx)(i.a,{href:"/docs/api/interfaces/IUTCTime#minute",children:"minute"})]}),"\n",(0,r.jsx)(i.hr,{}),"\n",(0,r.jsx)(i.h3,{id:"month",children:"month"}),"\n",(0,r.jsxs)(i.p,{children:["\u2022 ",(0,r.jsx)(i.strong,{children:"month"}),": ",(0,r.jsx)(i.code,{children:"number"})]}),"\n",(0,r.jsx)(i.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,r.jsxs)(i.p,{children:[(0,r.jsx)(i.a,{href:"/docs/api/interfaces/IUTCTime",children:"IUTCTime"}),".",(0,r.jsx)(i.a,{href:"/docs/api/interfaces/IUTCTime#month",children:"month"})]}),"\n",(0,r.jsx)(i.hr,{}),"\n",(0,r.jsx)(i.h3,{id:"second",children:"second"}),"\n",(0,r.jsxs)(i.p,{children:["\u2022 ",(0,r.jsx)(i.strong,{children:"second"}),": ",(0,r.jsx)(i.code,{children:"number"})]}),"\n",(0,r.jsx)(i.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,r.jsxs)(i.p,{children:[(0,r.jsx)(i.a,{href:"/docs/api/interfaces/IUTCTime",children:"IUTCTime"}),".",(0,r.jsx)(i.a,{href:"/docs/api/interfaces/IUTCTime#second",children:"second"})]}),"\n",(0,r.jsx)(i.hr,{}),"\n",(0,r.jsx)(i.h3,{id:"year",children:"year"}),"\n",(0,r.jsxs)(i.p,{children:["\u2022 ",(0,r.jsx)(i.strong,{children:"year"}),": ",(0,r.jsx)(i.code,{children:"number"})]}),"\n",(0,r.jsx)(i.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,r.jsxs)(i.p,{children:[(0,r.jsx)(i.a,{href:"/docs/api/interfaces/IUTCTime",children:"IUTCTime"}),".",(0,r.jsx)(i.a,{href:"/docs/api/interfaces/IUTCTime#year",children:"year"})]})]})}function a(e={}){const{wrapper:i}={...(0,d.a)(),...e.components};return i?(0,r.jsx)(i,{...e,children:(0,r.jsx)(o,{...e})}):o(e)}},1151:(e,i,n)=>{n.d(i,{Z:()=>c,a:()=>l});var r=n(7294);const d={},s=r.createContext(d);function l(e){const i=r.useContext(s);return r.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function c(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(d):e.components||d:l(e.components),r.createElement(s.Provider,{value:i},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/12c2209e.231039ed.js b/assets/js/12c2209e.231039ed.js new file mode 100644 index 0000000..2beacda --- /dev/null +++ b/assets/js/12c2209e.231039ed.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4767],{1417:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>c,contentTitle:()=>o,default:()=>u,frontMatter:()=>s,metadata:()=>l,toc:()=>a});var i=t(5893),r=t(1151);const s={id:"IHexBlock",title:"Interface: IHexBlock",sidebar_label:"IHexBlock",sidebar_position:0,custom_edit_url:null},o=void 0,l={id:"api/interfaces/IHexBlock",title:"Interface: IHexBlock",description:"Properties",source:"@site/docs/api/interfaces/IHexBlock.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/IHexBlock",permalink:"/docs/api/interfaces/IHexBlock",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"IHexBlock",title:"Interface: IHexBlock",sidebar_label:"IHexBlock",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"IGeneralizedTime",permalink:"/docs/api/interfaces/IGeneralizedTime"},next:{title:"IRawData",permalink:"/docs/api/interfaces/IRawData"}},c={},a=[{value:"Properties",id:"properties",level:2},{value:"isHexOnly",id:"ishexonly",level:3},{value:"valueHex",id:"valuehex",level:3}];function d(e){const n={code:"code",h2:"h2",h3:"h3",hr:"hr",p:"p",strong:"strong",...(0,r.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.h2,{id:"properties",children:"Properties"}),"\n",(0,i.jsx)(n.h3,{id:"ishexonly",children:"isHexOnly"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"isHexOnly"}),": ",(0,i.jsx)(n.code,{children:"boolean"})]}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"valuehex",children:"valueHex"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"valueHex"}),": ",(0,i.jsx)(n.code,{children:"BufferSource"})]})]})}function u(e={}){const{wrapper:n}={...(0,r.a)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(d,{...e})}):d(e)}},1151:(e,n,t)=>{t.d(n,{Z:()=>l,a:()=>o});var i=t(7294);const r={},s=i.createContext(r);function o(e){const n=i.useContext(s);return i.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:o(e.components),i.createElement(s.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/13f75f52.403f4ee7.js b/assets/js/13f75f52.403f4ee7.js new file mode 100644 index 0000000..b4d4046 --- /dev/null +++ b/assets/js/13f75f52.403f4ee7.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4079],{6769:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>l,default:()=>h,frontMatter:()=>s,metadata:()=>d,toc:()=>c});var r=n(5893),i=n(1151);const s={id:"IDateConvertible",title:"Interface: IDateConvertible",sidebar_label:"IDateConvertible",sidebar_position:0,custom_edit_url:null},l=void 0,d={id:"api/interfaces/IDateConvertible",title:"Interface: IDateConvertible",description:"Implemented by",source:"@site/docs/api/interfaces/IDateConvertible.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/IDateConvertible",permalink:"/docs/api/interfaces/IDateConvertible",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"IDateConvertible",title:"Interface: IDateConvertible",sidebar_label:"IDateConvertible",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"IChoice",permalink:"/docs/api/interfaces/IChoice"},next:{title:"IDerConvertible",permalink:"/docs/api/interfaces/IDerConvertible"}},a={},c=[{value:"Implemented by",id:"implemented-by",level:2},{value:"Methods",id:"methods",level:2},{value:"fromDate",id:"fromdate",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"toDate",id:"todate",level:3},{value:"Returns",id:"returns-1",level:4}];function o(e){const t={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.h2,{id:"implemented-by",children:"Implemented by"}),"\n",(0,r.jsxs)(t.ul,{children:["\n",(0,r.jsx)(t.li,{children:(0,r.jsx)(t.a,{href:"/docs/api/classes/UTCTime",children:(0,r.jsx)(t.code,{children:"UTCTime"})})}),"\n"]}),"\n",(0,r.jsx)(t.h2,{id:"methods",children:"Methods"}),"\n",(0,r.jsx)(t.h3,{id:"fromdate",children:"fromDate"}),"\n",(0,r.jsxs)(t.p,{children:["\u25b8 ",(0,r.jsx)(t.strong,{children:"fromDate"}),"(",(0,r.jsx)(t.code,{children:"date"}),"): ",(0,r.jsx)(t.code,{children:"void"})]}),"\n",(0,r.jsx)(t.p,{children:"Creates a class object from the JavaScript Date object"}),"\n",(0,r.jsx)(t.h4,{id:"parameters",children:"Parameters"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{style:{textAlign:"left"},children:"Name"}),(0,r.jsx)(t.th,{style:{textAlign:"left"},children:"Type"}),(0,r.jsx)(t.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,r.jsx)(t.tbody,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{style:{textAlign:"left"},children:(0,r.jsx)(t.code,{children:"date"})}),(0,r.jsx)(t.td,{style:{textAlign:"left"},children:(0,r.jsx)(t.code,{children:"Date"})}),(0,r.jsx)(t.td,{style:{textAlign:"left"},children:"Date object"})]})})]}),"\n",(0,r.jsx)(t.h4,{id:"returns",children:"Returns"}),"\n",(0,r.jsx)(t.p,{children:(0,r.jsx)(t.code,{children:"void"})}),"\n",(0,r.jsx)(t.hr,{}),"\n",(0,r.jsx)(t.h3,{id:"todate",children:"toDate"}),"\n",(0,r.jsxs)(t.p,{children:["\u25b8 ",(0,r.jsx)(t.strong,{children:"toDate"}),"(): ",(0,r.jsx)(t.code,{children:"Date"})]}),"\n",(0,r.jsx)(t.p,{children:"Converts a class object into the JavaScrip Date Object"}),"\n",(0,r.jsx)(t.h4,{id:"returns-1",children:"Returns"}),"\n",(0,r.jsx)(t.p,{children:(0,r.jsx)(t.code,{children:"Date"})}),"\n",(0,r.jsx)(t.p,{children:"Date object"})]})}function h(e={}){const{wrapper:t}={...(0,i.a)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(o,{...e})}):o(e)}},1151:(e,t,n)=>{n.d(t,{Z:()=>d,a:()=>l});var r=n(7294);const i={},s=r.createContext(i);function l(e){const t=r.useContext(s);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function d(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:l(e.components),r.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/16465fe8.ca713548.js b/assets/js/16465fe8.ca713548.js new file mode 100644 index 0000000..fadf05f --- /dev/null +++ b/assets/js/16465fe8.ca713548.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8907],{6438:(e,s,r)=>{r.r(s),r.d(s,{assets:()=>t,contentTitle:()=>d,default:()=>a,frontMatter:()=>i,metadata:()=>c,toc:()=>h});var n=r(5893),l=r(1151);const i={id:"Constructed",title:"Class: Constructed",sidebar_label:"Constructed",sidebar_position:0,custom_edit_url:null},d=void 0,c={id:"api/classes/Constructed",title:"Class: Constructed",description:"Hierarchy",source:"@site/docs/api/classes/Constructed.md",sourceDirName:"api/classes",slug:"/api/classes/Constructed",permalink:"/docs/api/classes/Constructed",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"Constructed",title:"Class: Constructed",sidebar_label:"Constructed",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"Choice",permalink:"/docs/api/classes/Choice"},next:{title:"DATE",permalink:"/docs/api/classes/DATE"}},t={},h=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Overrides",id:"overrides",level:4},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"valueBeforeDecodeView",id:"valuebeforedecodeview",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"valueBlock",id:"valueblock",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"NAME",id:"name-1",level:3},{value:"Overrides",id:"overrides-1",level:4},{value:"Accessors",id:"accessors",level:2},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Returns",id:"returns-1",level:4},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Methods",id:"methods",level:2},{value:"fromBER",id:"fromber",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Overrides",id:"overrides-2",level:4},{value:"isEqual",id:"isequal",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-4",level:4},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"onAsciiEncoding",id:"onasciiencoding",level:3},{value:"Returns",id:"returns-5",level:4},{value:"Overrides",id:"overrides-3",level:4},{value:"toBER",id:"tober",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-6",level:4},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"toJSON",id:"tojson",level:3},{value:"Returns",id:"returns-7",level:4},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"toString",id:"tostring",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-8",level:4},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"blockName",id:"blockname",level:3},{value:"Returns",id:"returns-9",level:4},{value:"Inherited from",id:"inherited-from-16",level:4}];function o(e){const s={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,l.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsxs)(s.li,{children:["\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:(0,n.jsx)(s.code,{children:"BaseBlock"})}),"<",(0,n.jsx)(s.code,{children:"LocalConstructedValueBlock"}),", ",(0,n.jsx)(s.code,{children:"LocalConstructedValueBlockJson"}),">"]}),"\n",(0,n.jsxs)(s.p,{children:["\u21b3 ",(0,n.jsx)(s.strong,{children:(0,n.jsx)(s.code,{children:"Constructed"})})]}),"\n",(0,n.jsxs)(s.p,{children:["\u21b3\u21b3 ",(0,n.jsx)(s.a,{href:"/docs/api/classes/Sequence",children:(0,n.jsx)(s.code,{children:"Sequence"})})]}),"\n",(0,n.jsxs)(s.p,{children:["\u21b3\u21b3 ",(0,n.jsx)(s.a,{href:"/docs/api/classes/Set",children:(0,n.jsx)(s.code,{children:"Set"})})]}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(s.h2,{id:"constructors",children:"Constructors"}),"\n",(0,n.jsx)(s.h3,{id:"constructor",children:"constructor"}),"\n",(0,n.jsxs)(s.p,{children:["\u2022 ",(0,n.jsx)(s.strong,{children:"new Constructed"}),"(",(0,n.jsx)(s.code,{children:"parameters?"}),"): ",(0,n.jsx)(s.a,{href:"/docs/api/classes/Constructed",children:(0,n.jsx)(s.code,{children:"Constructed"})})]}),"\n",(0,n.jsx)(s.h4,{id:"parameters",children:"Parameters"}),"\n",(0,n.jsxs)(s.table,{children:[(0,n.jsx)(s.thead,{children:(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(s.tbody,{children:(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{style:{textAlign:"left"},children:(0,n.jsx)(s.code,{children:"parameters"})}),(0,n.jsx)(s.td,{style:{textAlign:"left"},children:(0,n.jsx)(s.a,{href:"/docs/api/interfaces/ConstructedParams",children:(0,n.jsx)(s.code,{children:"ConstructedParams"})})})]})})]}),"\n",(0,n.jsx)(s.h4,{id:"returns",children:"Returns"}),"\n",(0,n.jsx)(s.p,{children:(0,n.jsx)(s.a,{href:"/docs/api/classes/Constructed",children:(0,n.jsx)(s.code,{children:"Constructed"})})}),"\n",(0,n.jsx)(s.h4,{id:"overrides",children:"Overrides"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#constructor",children:"constructor"})]}),"\n",(0,n.jsx)(s.h2,{id:"properties",children:"Properties"}),"\n",(0,n.jsx)(s.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,n.jsxs)(s.p,{children:["\u2022 ",(0,n.jsx)(s.strong,{children:"blockLength"}),": ",(0,n.jsx)(s.code,{children:"number"})]}),"\n",(0,n.jsx)(s.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#blocklength",children:"blockLength"})]}),"\n",(0,n.jsx)(s.hr,{}),"\n",(0,n.jsx)(s.h3,{id:"error",children:"error"}),"\n",(0,n.jsxs)(s.p,{children:["\u2022 ",(0,n.jsx)(s.strong,{children:"error"}),": ",(0,n.jsx)(s.code,{children:"string"})]}),"\n",(0,n.jsx)(s.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#error",children:"error"})]}),"\n",(0,n.jsx)(s.hr,{}),"\n",(0,n.jsx)(s.h3,{id:"idblock",children:"idBlock"}),"\n",(0,n.jsxs)(s.p,{children:["\u2022 ",(0,n.jsx)(s.strong,{children:"idBlock"}),": ",(0,n.jsx)(s.code,{children:"LocalIdentificationBlock"})]}),"\n",(0,n.jsx)(s.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#idblock",children:"idBlock"})]}),"\n",(0,n.jsx)(s.hr,{}),"\n",(0,n.jsx)(s.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,n.jsxs)(s.p,{children:["\u2022 ",(0,n.jsx)(s.strong,{children:"lenBlock"}),": ",(0,n.jsx)(s.code,{children:"LocalLengthBlock"})]}),"\n",(0,n.jsx)(s.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#lenblock",children:"lenBlock"})]}),"\n",(0,n.jsx)(s.hr,{}),"\n",(0,n.jsx)(s.h3,{id:"name",children:"name"}),"\n",(0,n.jsxs)(s.p,{children:["\u2022 ",(0,n.jsx)(s.strong,{children:"name"}),": ",(0,n.jsx)(s.code,{children:"string"})]}),"\n",(0,n.jsx)(s.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#name",children:"name"})]}),"\n",(0,n.jsx)(s.hr,{}),"\n",(0,n.jsx)(s.h3,{id:"optional",children:"optional"}),"\n",(0,n.jsxs)(s.p,{children:["\u2022 ",(0,n.jsx)(s.strong,{children:"optional"}),": ",(0,n.jsx)(s.code,{children:"boolean"})]}),"\n",(0,n.jsx)(s.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#optional",children:"optional"})]}),"\n",(0,n.jsx)(s.hr,{}),"\n",(0,n.jsx)(s.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,n.jsxs)(s.p,{children:["\u2022 ",(0,n.jsx)(s.code,{children:"Optional"})," ",(0,n.jsx)(s.strong,{children:"primitiveSchema"}),": ",(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:(0,n.jsx)(s.code,{children:"BaseBlock"})}),"<",(0,n.jsx)(s.a,{href:"/docs/api/classes/ValueBlock",children:(0,n.jsx)(s.code,{children:"ValueBlock"})}),", ",(0,n.jsx)(s.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,n.jsx)(s.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#primitiveschema",children:"primitiveSchema"})]}),"\n",(0,n.jsx)(s.hr,{}),"\n",(0,n.jsx)(s.h3,{id:"valuebeforedecodeview",children:"valueBeforeDecodeView"}),"\n",(0,n.jsxs)(s.p,{children:["\u2022 ",(0,n.jsx)(s.strong,{children:"valueBeforeDecodeView"}),": ",(0,n.jsx)(s.code,{children:"Uint8Array"})]}),"\n",(0,n.jsx)(s.p,{children:(0,n.jsx)(s.strong,{children:(0,n.jsx)(s.code,{children:"Since"})})}),"\n",(0,n.jsx)(s.p,{children:"3.0.0"}),"\n",(0,n.jsx)(s.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#valuebeforedecodeview",children:"valueBeforeDecodeView"})]}),"\n",(0,n.jsx)(s.hr,{}),"\n",(0,n.jsx)(s.h3,{id:"valueblock",children:"valueBlock"}),"\n",(0,n.jsxs)(s.p,{children:["\u2022 ",(0,n.jsx)(s.strong,{children:"valueBlock"}),": ",(0,n.jsx)(s.code,{children:"LocalConstructedValueBlock"})]}),"\n",(0,n.jsx)(s.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#valueblock",children:"valueBlock"})]}),"\n",(0,n.jsx)(s.hr,{}),"\n",(0,n.jsx)(s.h3,{id:"warnings",children:"warnings"}),"\n",(0,n.jsxs)(s.p,{children:["\u2022 ",(0,n.jsx)(s.strong,{children:"warnings"}),": ",(0,n.jsx)(s.code,{children:"string"}),"[]"]}),"\n",(0,n.jsx)(s.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#warnings",children:"warnings"})]}),"\n",(0,n.jsx)(s.hr,{}),"\n",(0,n.jsx)(s.h3,{id:"name-1",children:"NAME"}),"\n",(0,n.jsxs)(s.p,{children:["\u25aa ",(0,n.jsx)(s.code,{children:"Static"})," ",(0,n.jsx)(s.strong,{children:"NAME"}),": ",(0,n.jsx)(s.code,{children:"string"})," = ",(0,n.jsx)(s.code,{children:'"CONSTRUCTED"'})]}),"\n",(0,n.jsx)(s.h4,{id:"overrides-1",children:"Overrides"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#name-1",children:"NAME"})]}),"\n",(0,n.jsx)(s.h2,{id:"accessors",children:"Accessors"}),"\n",(0,n.jsx)(s.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,n.jsxs)(s.p,{children:["\u2022 ",(0,n.jsx)(s.code,{children:"get"})," ",(0,n.jsx)(s.strong,{children:"valueBeforeDecode"}),"(): ",(0,n.jsx)(s.code,{children:"ArrayBuffer"})]}),"\n",(0,n.jsx)(s.h4,{id:"returns-1",children:"Returns"}),"\n",(0,n.jsx)(s.p,{children:(0,n.jsx)(s.code,{children:"ArrayBuffer"})}),"\n",(0,n.jsx)(s.p,{children:(0,n.jsx)(s.strong,{children:(0,n.jsx)(s.code,{children:"Deprecated"})})}),"\n",(0,n.jsx)(s.p,{children:"since version 3.0.0"}),"\n",(0,n.jsx)(s.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,n.jsx)(s.p,{children:"BaseBlock.valueBeforeDecode"}),"\n",(0,n.jsxs)(s.p,{children:["\u2022 ",(0,n.jsx)(s.code,{children:"set"})," ",(0,n.jsx)(s.strong,{children:"valueBeforeDecode"}),"(",(0,n.jsx)(s.code,{children:"value"}),"): ",(0,n.jsx)(s.code,{children:"void"})]}),"\n",(0,n.jsx)(s.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,n.jsxs)(s.table,{children:[(0,n.jsx)(s.thead,{children:(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(s.tbody,{children:(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{style:{textAlign:"left"},children:(0,n.jsx)(s.code,{children:"value"})}),(0,n.jsx)(s.td,{style:{textAlign:"left"},children:(0,n.jsx)(s.code,{children:"ArrayBuffer"})})]})})]}),"\n",(0,n.jsx)(s.h4,{id:"returns-2",children:"Returns"}),"\n",(0,n.jsx)(s.p,{children:(0,n.jsx)(s.code,{children:"void"})}),"\n",(0,n.jsx)(s.p,{children:(0,n.jsx)(s.strong,{children:(0,n.jsx)(s.code,{children:"Deprecated"})})}),"\n",(0,n.jsx)(s.p,{children:"since version 3.0.0"}),"\n",(0,n.jsx)(s.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,n.jsx)(s.p,{children:"BaseBlock.valueBeforeDecode"}),"\n",(0,n.jsx)(s.h2,{id:"methods",children:"Methods"}),"\n",(0,n.jsx)(s.h3,{id:"fromber",children:"fromBER"}),"\n",(0,n.jsxs)(s.p,{children:["\u25b8 ",(0,n.jsx)(s.strong,{children:"fromBER"}),"(",(0,n.jsx)(s.code,{children:"inputBuffer"}),", ",(0,n.jsx)(s.code,{children:"inputOffset"}),", ",(0,n.jsx)(s.code,{children:"inputLength"}),"): ",(0,n.jsx)(s.code,{children:"number"})]}),"\n",(0,n.jsx)(s.p,{children:"Base function for converting block from BER encoded array of bytes"}),"\n",(0,n.jsx)(s.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,n.jsxs)(s.table,{children:[(0,n.jsx)(s.thead,{children:(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(s.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(s.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,n.jsxs)(s.tbody,{children:[(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{style:{textAlign:"left"},children:(0,n.jsx)(s.code,{children:"inputBuffer"})}),(0,n.jsxs)(s.td,{style:{textAlign:"left"},children:[(0,n.jsx)(s.code,{children:"Uint8Array"})," | ",(0,n.jsx)(s.code,{children:"ArrayBuffer"})]}),(0,n.jsx)(s.td,{style:{textAlign:"left"},children:"ASN.1 BER encoded array"})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{style:{textAlign:"left"},children:(0,n.jsx)(s.code,{children:"inputOffset"})}),(0,n.jsx)(s.td,{style:{textAlign:"left"},children:(0,n.jsx)(s.code,{children:"number"})}),(0,n.jsx)(s.td,{style:{textAlign:"left"},children:"Offset in ASN.1 BER encoded array where decoding should be started"})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{style:{textAlign:"left"},children:(0,n.jsx)(s.code,{children:"inputLength"})}),(0,n.jsx)(s.td,{style:{textAlign:"left"},children:(0,n.jsx)(s.code,{children:"number"})}),(0,n.jsx)(s.td,{style:{textAlign:"left"},children:"Maximum length of array of bytes which can be using in this function"})]})]})]}),"\n",(0,n.jsx)(s.h4,{id:"returns-3",children:"Returns"}),"\n",(0,n.jsx)(s.p,{children:(0,n.jsx)(s.code,{children:"number"})}),"\n",(0,n.jsx)(s.p,{children:"Offset after least decoded byte"}),"\n",(0,n.jsx)(s.h4,{id:"overrides-2",children:"Overrides"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#fromber",children:"fromBER"})]}),"\n",(0,n.jsx)(s.hr,{}),"\n",(0,n.jsx)(s.h3,{id:"isequal",children:"isEqual"}),"\n",(0,n.jsxs)(s.p,{children:["\u25b8 ",(0,n.jsx)(s.strong,{children:"isEqual"}),"(",(0,n.jsx)(s.code,{children:"other"}),"): other is Constructed"]}),"\n",(0,n.jsx)(s.p,{children:"Determines whether two object instances are equal"}),"\n",(0,n.jsx)(s.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,n.jsxs)(s.table,{children:[(0,n.jsx)(s.thead,{children:(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(s.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(s.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,n.jsx)(s.tbody,{children:(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{style:{textAlign:"left"},children:(0,n.jsx)(s.code,{children:"other"})}),(0,n.jsx)(s.td,{style:{textAlign:"left"},children:(0,n.jsx)(s.code,{children:"unknown"})}),(0,n.jsx)(s.td,{style:{textAlign:"left"},children:"Object to compare with the current object"})]})})]}),"\n",(0,n.jsx)(s.h4,{id:"returns-4",children:"Returns"}),"\n",(0,n.jsx)(s.p,{children:"other is Constructed"}),"\n",(0,n.jsx)(s.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#isequal",children:"isEqual"})]}),"\n",(0,n.jsx)(s.hr,{}),"\n",(0,n.jsx)(s.h3,{id:"onasciiencoding",children:"onAsciiEncoding"}),"\n",(0,n.jsxs)(s.p,{children:["\u25b8 ",(0,n.jsx)(s.strong,{children:"onAsciiEncoding"}),"(): ",(0,n.jsx)(s.code,{children:"string"})]}),"\n",(0,n.jsx)(s.h4,{id:"returns-5",children:"Returns"}),"\n",(0,n.jsx)(s.p,{children:(0,n.jsx)(s.code,{children:"string"})}),"\n",(0,n.jsx)(s.h4,{id:"overrides-3",children:"Overrides"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#onasciiencoding",children:"onAsciiEncoding"})]}),"\n",(0,n.jsx)(s.hr,{}),"\n",(0,n.jsx)(s.h3,{id:"tober",children:"toBER"}),"\n",(0,n.jsxs)(s.p,{children:["\u25b8 ",(0,n.jsx)(s.strong,{children:"toBER"}),"(",(0,n.jsx)(s.code,{children:"sizeOnly?"}),", ",(0,n.jsx)(s.code,{children:"writer?"}),"): ",(0,n.jsx)(s.code,{children:"ArrayBuffer"})]}),"\n",(0,n.jsx)(s.p,{children:"Encoding of current ASN.1 block into ASN.1 encoded array (BER rules)"}),"\n",(0,n.jsx)(s.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,n.jsxs)(s.table,{children:[(0,n.jsx)(s.thead,{children:(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(s.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(s.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,n.jsxs)(s.tbody,{children:[(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{style:{textAlign:"left"},children:(0,n.jsx)(s.code,{children:"sizeOnly?"})}),(0,n.jsx)(s.td,{style:{textAlign:"left"},children:(0,n.jsx)(s.code,{children:"boolean"})}),(0,n.jsx)(s.td,{style:{textAlign:"left"},children:"Flag that we need only a size of encoding, not a real array of bytes"})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{style:{textAlign:"left"},children:(0,n.jsx)(s.code,{children:"writer?"})}),(0,n.jsx)(s.td,{style:{textAlign:"left"},children:(0,n.jsx)(s.a,{href:"/docs/api/classes/ViewWriter",children:(0,n.jsx)(s.code,{children:"ViewWriter"})})}),(0,n.jsx)(s.td,{style:{textAlign:"left"},children:"-"})]})]})]}),"\n",(0,n.jsx)(s.h4,{id:"returns-6",children:"Returns"}),"\n",(0,n.jsx)(s.p,{children:(0,n.jsx)(s.code,{children:"ArrayBuffer"})}),"\n",(0,n.jsx)(s.p,{children:"ASN.1 BER encoded array"}),"\n",(0,n.jsx)(s.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#tober",children:"toBER"})]}),"\n",(0,n.jsx)(s.hr,{}),"\n",(0,n.jsx)(s.h3,{id:"tojson",children:"toJSON"}),"\n",(0,n.jsxs)(s.p,{children:["\u25b8 ",(0,n.jsx)(s.strong,{children:"toJSON"}),"(): ",(0,n.jsx)(s.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,n.jsx)(s.code,{children:"BaseBlockJson"})}),"<",(0,n.jsx)(s.code,{children:"LocalConstructedValueBlockJson"}),">"]}),"\n",(0,n.jsx)(s.h4,{id:"returns-7",children:"Returns"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,n.jsx)(s.code,{children:"BaseBlockJson"})}),"<",(0,n.jsx)(s.code,{children:"LocalConstructedValueBlockJson"}),">"]}),"\n",(0,n.jsx)(s.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#tojson",children:"toJSON"})]}),"\n",(0,n.jsx)(s.hr,{}),"\n",(0,n.jsx)(s.h3,{id:"tostring",children:"toString"}),"\n",(0,n.jsxs)(s.p,{children:["\u25b8 ",(0,n.jsx)(s.strong,{children:"toString"}),"(",(0,n.jsx)(s.code,{children:"encoding?"}),"): ",(0,n.jsx)(s.code,{children:"string"})]}),"\n",(0,n.jsx)(s.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,n.jsxs)(s.table,{children:[(0,n.jsx)(s.thead,{children:(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(s.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(s.th,{style:{textAlign:"left"},children:"Default value"})]})}),(0,n.jsx)(s.tbody,{children:(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{style:{textAlign:"left"},children:(0,n.jsx)(s.code,{children:"encoding"})}),(0,n.jsx)(s.td,{style:{textAlign:"left"},children:(0,n.jsx)(s.a,{href:"../#stringencoding",children:(0,n.jsx)(s.code,{children:"StringEncoding"})})}),(0,n.jsx)(s.td,{style:{textAlign:"left"},children:(0,n.jsx)(s.code,{children:'"ascii"'})})]})})]}),"\n",(0,n.jsx)(s.h4,{id:"returns-8",children:"Returns"}),"\n",(0,n.jsx)(s.p,{children:(0,n.jsx)(s.code,{children:"string"})}),"\n",(0,n.jsx)(s.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#tostring",children:"toString"})]}),"\n",(0,n.jsx)(s.hr,{}),"\n",(0,n.jsx)(s.h3,{id:"blockname",children:"blockName"}),"\n",(0,n.jsxs)(s.p,{children:["\u25b8 ",(0,n.jsx)(s.strong,{children:"blockName"}),"(): ",(0,n.jsx)(s.code,{children:"string"})]}),"\n",(0,n.jsx)(s.p,{children:"Aux function, need to get a block name. Need to have it here for inheritance"}),"\n",(0,n.jsx)(s.h4,{id:"returns-9",children:"Returns"}),"\n",(0,n.jsx)(s.p,{children:(0,n.jsx)(s.code,{children:"string"})}),"\n",(0,n.jsx)(s.p,{children:"Returns name of the block"}),"\n",(0,n.jsx)(s.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#blockname",children:"blockName"})]})]})}function a(e={}){const{wrapper:s}={...(0,l.a)(),...e.components};return s?(0,n.jsx)(s,{...e,children:(0,n.jsx)(o,{...e})}):o(e)}},1151:(e,s,r)=>{r.d(s,{Z:()=>c,a:()=>d});var n=r(7294);const l={},i=n.createContext(l);function d(e){const s=n.useContext(i);return n.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function c(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(l):e.components||l:d(e.components),n.createElement(i.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/1772.531d94c5.js b/assets/js/1772.531d94c5.js new file mode 100644 index 0000000..9ce56dc --- /dev/null +++ b/assets/js/1772.531d94c5.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[1772],{5658:(e,t,i)=>{i.d(t,{Z:()=>a});i(7294);var n=i(512),s=i(5999),o=i(2503),r=i(5893);function a(e){let{className:t}=e;return(0,r.jsx)("main",{className:(0,n.Z)("container margin-vert--xl",t),children:(0,r.jsx)("div",{className:"row",children:(0,r.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,r.jsx)(o.Z,{as:"h1",className:"hero__title",children:(0,r.jsx)(s.Z,{id:"theme.NotFound.title",description:"The title of the 404 page",children:"Page Not Found"})}),(0,r.jsx)("p",{children:(0,r.jsx)(s.Z,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page",children:"We could not find what you were looking for."})}),(0,r.jsx)("p",{children:(0,r.jsx)(s.Z,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page",children:"Please contact the owner of the site that linked you to the original URL and let them know their link is broken."})})]})})})}},1772:(e,t,i)=>{i.r(t),i.d(t,{default:()=>l});i(7294);var n=i(5999),s=i(1944),o=i(6040),r=i(5658),a=i(5893);function l(){const e=(0,n.I)({id:"theme.NotFound.title",message:"Page Not Found"});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.d,{title:e}),(0,a.jsx)(o.Z,{children:(0,a.jsx)(r.Z,{})})]})}}}]); \ No newline at end of file diff --git a/assets/js/17896441.27295a3b.js b/assets/js/17896441.27295a3b.js new file mode 100644 index 0000000..b85077d --- /dev/null +++ b/assets/js/17896441.27295a3b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[7918],{8077:(e,t,n)=>{n.r(t),n.d(t,{default:()=>jt});var s=n(7294),i=n(1944),a=n(902),l=n(5893);const o=s.createContext(null);function r(e){let{children:t,content:n}=e;const i=function(e){return(0,s.useMemo)((()=>({metadata:e.metadata,frontMatter:e.frontMatter,assets:e.assets,contentTitle:e.contentTitle,toc:e.toc})),[e])}(n);return(0,l.jsx)(o.Provider,{value:i,children:t})}function c(){const e=(0,s.useContext)(o);if(null===e)throw new a.i6("DocProvider");return e}function d(){const{metadata:e,frontMatter:t,assets:n}=c();return(0,l.jsx)(i.d,{title:e.title,description:e.description,keywords:t.keywords,image:n.image??t.image})}var u=n(512),m=n(7524),h=n(5999),x=n(3692);function p(e){const{permalink:t,title:n,subLabel:s,isNext:i}=e;return(0,l.jsxs)(x.Z,{className:(0,u.Z)("pagination-nav__link",i?"pagination-nav__link--next":"pagination-nav__link--prev"),to:t,children:[s&&(0,l.jsx)("div",{className:"pagination-nav__sublabel",children:s}),(0,l.jsx)("div",{className:"pagination-nav__label",children:n})]})}function f(e){const{previous:t,next:n}=e;return(0,l.jsxs)("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,h.I)({id:"theme.docs.paginator.navAriaLabel",message:"Docs pages",description:"The ARIA label for the docs pagination"}),children:[t&&(0,l.jsx)(p,{...t,subLabel:(0,l.jsx)(h.Z,{id:"theme.docs.paginator.previous",description:"The label used to navigate to the previous doc",children:"Previous"})}),n&&(0,l.jsx)(p,{...n,subLabel:(0,l.jsx)(h.Z,{id:"theme.docs.paginator.next",description:"The label used to navigate to the next doc",children:"Next"}),isNext:!0})]})}function v(){const{metadata:e}=c();return(0,l.jsx)(f,{previous:e.previous,next:e.next})}var j=n(2263),g=n(143),b=n(5281),N=n(373),C=n(4477);const L={unreleased:function(e){let{siteTitle:t,versionMetadata:n}=e;return(0,l.jsx)(h.Z,{id:"theme.docs.versions.unreleasedVersionLabel",description:"The label used to tell the user that he's browsing an unreleased doc version",values:{siteTitle:t,versionLabel:(0,l.jsx)("b",{children:n.label})},children:"This is unreleased documentation for {siteTitle} {versionLabel} version."})},unmaintained:function(e){let{siteTitle:t,versionMetadata:n}=e;return(0,l.jsx)(h.Z,{id:"theme.docs.versions.unmaintainedVersionLabel",description:"The label used to tell the user that he's browsing an unmaintained doc version",values:{siteTitle:t,versionLabel:(0,l.jsx)("b",{children:n.label})},children:"This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained."})}};function _(e){const t=L[e.versionMetadata.banner];return(0,l.jsx)(t,{...e})}function Z(e){let{versionLabel:t,to:n,onClick:s}=e;return(0,l.jsx)(h.Z,{id:"theme.docs.versions.latestVersionSuggestionLabel",description:"The label used to tell the user to check the latest version",values:{versionLabel:t,latestVersionLink:(0,l.jsx)("b",{children:(0,l.jsx)(x.Z,{to:n,onClick:s,children:(0,l.jsx)(h.Z,{id:"theme.docs.versions.latestVersionLinkLabel",description:"The label used for the latest version suggestion link label",children:"latest version"})})})},children:"For up-to-date documentation, see the {latestVersionLink} ({versionLabel})."})}function k(e){let{className:t,versionMetadata:n}=e;const{siteConfig:{title:s}}=(0,j.Z)(),{pluginId:i}=(0,g.gA)({failfast:!0}),{savePreferredVersionName:a}=(0,N.J)(i),{latestDocSuggestion:o,latestVersionSuggestion:r}=(0,g.Jo)(i),c=o??(d=r).docs.find((e=>e.id===d.mainDocId));var d;return(0,l.jsxs)("div",{className:(0,u.Z)(t,b.k.docs.docVersionBanner,"alert alert--warning margin-bottom--md"),role:"alert",children:[(0,l.jsx)("div",{children:(0,l.jsx)(_,{siteTitle:s,versionMetadata:n})}),(0,l.jsx)("div",{className:"margin-top--md",children:(0,l.jsx)(Z,{versionLabel:r.label,to:c.path,onClick:()=>a(r.name)})})]})}function T(e){let{className:t}=e;const n=(0,C.E)();return n.banner?(0,l.jsx)(k,{className:t,versionMetadata:n}):null}function y(e){let{className:t}=e;const n=(0,C.E)();return n.badge?(0,l.jsx)("span",{className:(0,u.Z)(t,b.k.docs.docVersionBadge,"badge badge--secondary"),children:(0,l.jsx)(h.Z,{id:"theme.docs.versionBadge.label",values:{versionLabel:n.label},children:"Version: {versionLabel}"})}):null}function w(e){let{lastUpdatedAt:t,formattedLastUpdatedAt:n}=e;return(0,l.jsx)(h.Z,{id:"theme.lastUpdated.atDate",description:"The words used to describe on which date a page has been last updated",values:{date:(0,l.jsx)("b",{children:(0,l.jsx)("time",{dateTime:new Date(1e3*t).toISOString(),children:n})})},children:" on {date}"})}function H(e){let{lastUpdatedBy:t}=e;return(0,l.jsx)(h.Z,{id:"theme.lastUpdated.byUser",description:"The words used to describe by who the page has been last updated",values:{user:(0,l.jsx)("b",{children:t})},children:" by {user}"})}function U(e){let{lastUpdatedAt:t,formattedLastUpdatedAt:n,lastUpdatedBy:s}=e;return(0,l.jsxs)("span",{className:b.k.common.lastUpdated,children:[(0,l.jsx)(h.Z,{id:"theme.lastUpdated.lastUpdatedAtBy",description:"The sentence used to display when a page has been last updated, and by who",values:{atDate:t&&n?(0,l.jsx)(w,{lastUpdatedAt:t,formattedLastUpdatedAt:n}):"",byUser:s?(0,l.jsx)(H,{lastUpdatedBy:s}):""},children:"Last updated{atDate}{byUser}"}),!1]})}const M={iconEdit:"iconEdit_Z9Sw"};function A(e){let{className:t,...n}=e;return(0,l.jsx)("svg",{fill:"currentColor",height:"20",width:"20",viewBox:"0 0 40 40",className:(0,u.Z)(M.iconEdit,t),"aria-hidden":"true",...n,children:(0,l.jsx)("g",{children:(0,l.jsx)("path",{d:"m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"})})})}function B(e){let{editUrl:t}=e;return(0,l.jsxs)(x.Z,{to:t,className:b.k.common.editThisPage,children:[(0,l.jsx)(A,{}),(0,l.jsx)(h.Z,{id:"theme.common.editThisPage",description:"The link label to edit the current page",children:"Edit this page"})]})}const E={tag:"tag_zVej",tagRegular:"tagRegular_sFm0",tagWithCount:"tagWithCount_h2kH"};function I(e){let{permalink:t,label:n,count:s}=e;return(0,l.jsxs)(x.Z,{href:t,className:(0,u.Z)(E.tag,s?E.tagWithCount:E.tagRegular),children:[n,s&&(0,l.jsx)("span",{children:s})]})}const z={tags:"tags_jXut",tag:"tag_QGVx"};function S(e){let{tags:t}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("b",{children:(0,l.jsx)(h.Z,{id:"theme.tags.tagsListLabel",description:"The label alongside a tag list",children:"Tags:"})}),(0,l.jsx)("ul",{className:(0,u.Z)(z.tags,"padding--none","margin-left--sm"),children:t.map((e=>{let{label:t,permalink:n}=e;return(0,l.jsx)("li",{className:z.tag,children:(0,l.jsx)(I,{label:t,permalink:n})},n)}))})]})}const R={lastUpdated:"lastUpdated_vwxv"};function V(e){return(0,l.jsx)("div",{className:(0,u.Z)(b.k.docs.docFooterTagsRow,"row margin-bottom--sm"),children:(0,l.jsx)("div",{className:"col",children:(0,l.jsx)(S,{...e})})})}function D(e){let{editUrl:t,lastUpdatedAt:n,lastUpdatedBy:s,formattedLastUpdatedAt:i}=e;return(0,l.jsxs)("div",{className:(0,u.Z)(b.k.docs.docFooterEditMetaRow,"row"),children:[(0,l.jsx)("div",{className:"col",children:t&&(0,l.jsx)(B,{editUrl:t})}),(0,l.jsx)("div",{className:(0,u.Z)("col",R.lastUpdated),children:(n||s)&&(0,l.jsx)(U,{lastUpdatedAt:n,formattedLastUpdatedAt:i,lastUpdatedBy:s})})]})}function O(){const{metadata:e}=c(),{editUrl:t,lastUpdatedAt:n,formattedLastUpdatedAt:s,lastUpdatedBy:i,tags:a}=e,o=a.length>0,r=!!(t||n||i);return o||r?(0,l.jsxs)("footer",{className:(0,u.Z)(b.k.docs.docFooter,"docusaurus-mt-lg"),children:[o&&(0,l.jsx)(V,{tags:a}),r&&(0,l.jsx)(D,{editUrl:t,lastUpdatedAt:n,lastUpdatedBy:i,formattedLastUpdatedAt:s})]}):null}var P=n(6043),F=n(6668);function q(e){const t=e.map((e=>({...e,parentIndex:-1,children:[]}))),n=Array(7).fill(-1);t.forEach(((e,t)=>{const s=n.slice(2,e.level);e.parentIndex=Math.max(...s),n[e.level]=t}));const s=[];return t.forEach((e=>{const{parentIndex:n,...i}=e;n>=0?t[n].children.push(i):s.push(i)})),s}function G(e){let{toc:t,minHeadingLevel:n,maxHeadingLevel:s}=e;return t.flatMap((e=>{const t=G({toc:e.children,minHeadingLevel:n,maxHeadingLevel:s});return function(e){return e.level>=n&&e.level<=s}(e)?[{...e,children:t}]:t}))}function W(e){const t=e.getBoundingClientRect();return t.top===t.bottom?W(e.parentNode):t}function $(e,t){let{anchorTopOffset:n}=t;const s=e.find((e=>W(e).top>=n));if(s){return function(e){return e.top>0&&e.bottom{e.current=t?0:document.querySelector(".navbar").clientHeight}),[t]),e}function Y(e){const t=(0,s.useRef)(void 0),n=J();(0,s.useEffect)((()=>{if(!e)return()=>{};const{linkClassName:s,linkActiveClassName:i,minHeadingLevel:a,maxHeadingLevel:l}=e;function o(){const e=function(e){return Array.from(document.getElementsByClassName(e))}(s),o=function(e){let{minHeadingLevel:t,maxHeadingLevel:n}=e;const s=[];for(let i=t;i<=n;i+=1)s.push(`h${i}.anchor`);return Array.from(document.querySelectorAll(s.join()))}({minHeadingLevel:a,maxHeadingLevel:l}),r=$(o,{anchorTopOffset:n.current}),c=e.find((e=>r&&r.id===function(e){return decodeURIComponent(e.href.substring(e.href.indexOf("#")+1))}(e)));e.forEach((e=>{!function(e,n){n?(t.current&&t.current!==e&&t.current.classList.remove(i),e.classList.add(i),t.current=e):e.classList.remove(i)}(e,e===c)}))}return document.addEventListener("scroll",o),document.addEventListener("resize",o),o(),()=>{document.removeEventListener("scroll",o),document.removeEventListener("resize",o)}}),[e,n])}function Q(e){let{toc:t,className:n,linkClassName:s,isChild:i}=e;return t.length?(0,l.jsx)("ul",{className:i?void 0:n,children:t.map((e=>(0,l.jsxs)("li",{children:[(0,l.jsx)(x.Z,{to:`#${e.id}`,className:s??void 0,dangerouslySetInnerHTML:{__html:e.value}}),(0,l.jsx)(Q,{isChild:!0,toc:e.children,className:n,linkClassName:s})]},e.id)))}):null}const X=s.memo(Q);function K(e){let{toc:t,className:n="table-of-contents table-of-contents__left-border",linkClassName:i="table-of-contents__link",linkActiveClassName:a,minHeadingLevel:o,maxHeadingLevel:r,...c}=e;const d=(0,F.L)(),u=o??d.tableOfContents.minHeadingLevel,m=r??d.tableOfContents.maxHeadingLevel,h=function(e){let{toc:t,minHeadingLevel:n,maxHeadingLevel:i}=e;return(0,s.useMemo)((()=>G({toc:q(t),minHeadingLevel:n,maxHeadingLevel:i})),[t,n,i])}({toc:t,minHeadingLevel:u,maxHeadingLevel:m});return Y((0,s.useMemo)((()=>{if(i&&a)return{linkClassName:i,linkActiveClassName:a,minHeadingLevel:u,maxHeadingLevel:m}}),[i,a,u,m])),(0,l.jsx)(X,{toc:h,className:n,linkClassName:i,...c})}const ee={tocCollapsibleButton:"tocCollapsibleButton_TO0P",tocCollapsibleButtonExpanded:"tocCollapsibleButtonExpanded_MG3E"};function te(e){let{collapsed:t,...n}=e;return(0,l.jsx)("button",{type:"button",...n,className:(0,u.Z)("clean-btn",ee.tocCollapsibleButton,!t&&ee.tocCollapsibleButtonExpanded,n.className),children:(0,l.jsx)(h.Z,{id:"theme.TOCCollapsible.toggleButtonLabel",description:"The label used by the button on the collapsible TOC component",children:"On this page"})})}const ne={tocCollapsible:"tocCollapsible_ETCw",tocCollapsibleContent:"tocCollapsibleContent_vkbj",tocCollapsibleExpanded:"tocCollapsibleExpanded_sAul"};function se(e){let{toc:t,className:n,minHeadingLevel:s,maxHeadingLevel:i}=e;const{collapsed:a,toggleCollapsed:o}=(0,P.u)({initialState:!0});return(0,l.jsxs)("div",{className:(0,u.Z)(ne.tocCollapsible,!a&&ne.tocCollapsibleExpanded,n),children:[(0,l.jsx)(te,{collapsed:a,onClick:o}),(0,l.jsx)(P.z,{lazy:!0,className:ne.tocCollapsibleContent,collapsed:a,children:(0,l.jsx)(K,{toc:t,minHeadingLevel:s,maxHeadingLevel:i})})]})}const ie={tocMobile:"tocMobile_ITEo"};function ae(){const{toc:e,frontMatter:t}=c();return(0,l.jsx)(se,{toc:e,minHeadingLevel:t.toc_min_heading_level,maxHeadingLevel:t.toc_max_heading_level,className:(0,u.Z)(b.k.docs.docTocMobile,ie.tocMobile)})}const le={tableOfContents:"tableOfContents_bqdL",docItemContainer:"docItemContainer_F8PC"},oe="table-of-contents__link toc-highlight",re="table-of-contents__link--active";function ce(e){let{className:t,...n}=e;return(0,l.jsx)("div",{className:(0,u.Z)(le.tableOfContents,"thin-scrollbar",t),children:(0,l.jsx)(K,{...n,linkClassName:oe,linkActiveClassName:re})})}function de(){const{toc:e,frontMatter:t}=c();return(0,l.jsx)(ce,{toc:e,minHeadingLevel:t.toc_min_heading_level,maxHeadingLevel:t.toc_max_heading_level,className:b.k.docs.docTocDesktop})}var ue=n(2503),me=n(1151),he=n(5742),xe=n(9286);function pe(e){return(0,l.jsx)("code",{...e})}var fe=n(2389);const ve={details:"details_lb9f",isBrowser:"isBrowser_bmU9",collapsibleContent:"collapsibleContent_i85q"};function je(e){return!!e&&("SUMMARY"===e.tagName||je(e.parentElement))}function ge(e,t){return!!e&&(e===t||ge(e.parentElement,t))}function be(e){let{summary:t,children:n,...i}=e;const a=(0,fe.Z)(),o=(0,s.useRef)(null),{collapsed:r,setCollapsed:c}=(0,P.u)({initialState:!i.open}),[d,m]=(0,s.useState)(i.open),h=s.isValidElement(t)?t:(0,l.jsx)("summary",{children:t??"Details"});return(0,l.jsxs)("details",{...i,ref:o,open:d,"data-collapsed":r,className:(0,u.Z)(ve.details,a&&ve.isBrowser,i.className),onMouseDown:e=>{je(e.target)&&e.detail>1&&e.preventDefault()},onClick:e=>{e.stopPropagation();const t=e.target;je(t)&&ge(t,o.current)&&(e.preventDefault(),r?(c(!1),m(!0)):c(!0))},children:[h,(0,l.jsx)(P.z,{lazy:!1,collapsed:r,disableSSRStyle:!0,onCollapseTransitionEnd:e=>{c(e),m(!e)},children:(0,l.jsx)("div",{className:ve.collapsibleContent,children:n})})]})}const Ne={details:"details_b_Ee"},Ce="alert alert--info";function Le(e){let{...t}=e;return(0,l.jsx)(be,{...t,className:(0,u.Z)(Ce,Ne.details,t.className)})}function _e(e){const t=s.Children.toArray(e.children),n=t.find((e=>s.isValidElement(e)&&"summary"===e.type)),i=(0,l.jsx)(l.Fragment,{children:t.filter((e=>e!==n))});return(0,l.jsx)(Le,{...e,summary:n,children:i})}function Ze(e){return(0,l.jsx)(ue.Z,{...e})}const ke={containsTaskList:"containsTaskList_mC6p"};function Te(e){if(void 0!==e)return(0,u.Z)(e,e?.includes("contains-task-list")&&ke.containsTaskList)}const ye={img:"img_ev3q"};function we(e){const{mdxAdmonitionTitle:t,rest:n}=function(e){const t=s.Children.toArray(e),n=t.find((e=>s.isValidElement(e)&&"mdxAdmonitionTitle"===e.type)),i=t.filter((e=>e!==n)),a=n?.props.children;return{mdxAdmonitionTitle:a,rest:i.length>0?(0,l.jsx)(l.Fragment,{children:i}):null}}(e.children),i=e.title??t;return{...e,...i&&{title:i},children:n}}const He={admonition:"admonition_xJq3",admonitionHeading:"admonitionHeading_Gvgb",admonitionIcon:"admonitionIcon_Rf37",admonitionContent:"admonitionContent_BuS1"};function Ue(e){let{type:t,className:n,children:s}=e;return(0,l.jsx)("div",{className:(0,u.Z)(b.k.common.admonition,b.k.common.admonitionType(t),He.admonition,n),children:s})}function Me(e){let{icon:t,title:n}=e;return(0,l.jsxs)("div",{className:He.admonitionHeading,children:[(0,l.jsx)("span",{className:He.admonitionIcon,children:t}),n]})}function Ae(e){let{children:t}=e;return t?(0,l.jsx)("div",{className:He.admonitionContent,children:t}):null}function Be(e){const{type:t,icon:n,title:s,children:i,className:a}=e;return(0,l.jsxs)(Ue,{type:t,className:a,children:[(0,l.jsx)(Me,{title:s,icon:n}),(0,l.jsx)(Ae,{children:i})]})}function Ee(e){return(0,l.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,l.jsx)("path",{fillRule:"evenodd",d:"M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"})})}const Ie={icon:(0,l.jsx)(Ee,{}),title:(0,l.jsx)(h.Z,{id:"theme.admonition.note",description:"The default label used for the Note admonition (:::note)",children:"note"})};function ze(e){return(0,l.jsx)(Be,{...Ie,...e,className:(0,u.Z)("alert alert--secondary",e.className),children:e.children})}function Se(e){return(0,l.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,l.jsx)("path",{fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"})})}const Re={icon:(0,l.jsx)(Se,{}),title:(0,l.jsx)(h.Z,{id:"theme.admonition.tip",description:"The default label used for the Tip admonition (:::tip)",children:"tip"})};function Ve(e){return(0,l.jsx)(Be,{...Re,...e,className:(0,u.Z)("alert alert--success",e.className),children:e.children})}function De(e){return(0,l.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,l.jsx)("path",{fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"})})}const Oe={icon:(0,l.jsx)(De,{}),title:(0,l.jsx)(h.Z,{id:"theme.admonition.info",description:"The default label used for the Info admonition (:::info)",children:"info"})};function Pe(e){return(0,l.jsx)(Be,{...Oe,...e,className:(0,u.Z)("alert alert--info",e.className),children:e.children})}function Fe(e){return(0,l.jsx)("svg",{viewBox:"0 0 16 16",...e,children:(0,l.jsx)("path",{fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"})})}const qe={icon:(0,l.jsx)(Fe,{}),title:(0,l.jsx)(h.Z,{id:"theme.admonition.warning",description:"The default label used for the Warning admonition (:::warning)",children:"warning"})};function Ge(e){return(0,l.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,l.jsx)("path",{fillRule:"evenodd",d:"M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"})})}const We={icon:(0,l.jsx)(Ge,{}),title:(0,l.jsx)(h.Z,{id:"theme.admonition.danger",description:"The default label used for the Danger admonition (:::danger)",children:"danger"})};const $e={icon:(0,l.jsx)(Fe,{}),title:(0,l.jsx)(h.Z,{id:"theme.admonition.caution",description:"The default label used for the Caution admonition (:::caution)",children:"caution"})};const Je={...{note:ze,tip:Ve,info:Pe,warning:function(e){return(0,l.jsx)(Be,{...qe,...e,className:(0,u.Z)("alert alert--warning",e.className),children:e.children})},danger:function(e){return(0,l.jsx)(Be,{...We,...e,className:(0,u.Z)("alert alert--danger",e.className),children:e.children})}},...{secondary:e=>(0,l.jsx)(ze,{title:"secondary",...e}),important:e=>(0,l.jsx)(Pe,{title:"important",...e}),success:e=>(0,l.jsx)(Ve,{title:"success",...e}),caution:function(e){return(0,l.jsx)(Be,{...$e,...e,className:(0,u.Z)("alert alert--warning",e.className),children:e.children})}}};function Ye(e){const t=we(e),n=(s=t.type,Je[s]||(console.warn(`No admonition component found for admonition type "${s}". Using Info as fallback.`),Je.info));var s;return(0,l.jsx)(n,{...t})}var Qe=n(1875);const Xe={Head:he.Z,details:_e,Details:_e,code:function(e){return function(e){return void 0!==e.children&&s.Children.toArray(e.children).every((e=>"string"==typeof e&&!e.includes("\n")))}(e)?(0,l.jsx)(pe,{...e}):(0,l.jsx)(xe.Z,{...e})},a:function(e){return(0,l.jsx)(x.Z,{...e})},pre:function(e){return(0,l.jsx)(l.Fragment,{children:e.children})},ul:function(e){return(0,l.jsx)("ul",{...e,className:Te(e.className)})},img:function(e){return(0,l.jsx)("img",{loading:"lazy",...e,className:(t=e.className,(0,u.Z)(t,ye.img))});var t},h1:e=>(0,l.jsx)(Ze,{as:"h1",...e}),h2:e=>(0,l.jsx)(Ze,{as:"h2",...e}),h3:e=>(0,l.jsx)(Ze,{as:"h3",...e}),h4:e=>(0,l.jsx)(Ze,{as:"h4",...e}),h5:e=>(0,l.jsx)(Ze,{as:"h5",...e}),h6:e=>(0,l.jsx)(Ze,{as:"h6",...e}),admonition:Ye,mermaid:Qe.Z};function Ke(e){let{children:t}=e;return(0,l.jsx)(me.Z,{components:Xe,children:t})}function et(e){let{children:t}=e;const n=function(){const{metadata:e,frontMatter:t,contentTitle:n}=c();return t.hide_title||void 0!==n?null:e.title}();return(0,l.jsxs)("div",{className:(0,u.Z)(b.k.docs.docMarkdown,"markdown"),children:[n&&(0,l.jsx)("header",{children:(0,l.jsx)(ue.Z,{as:"h1",children:n})}),(0,l.jsx)(Ke,{children:t})]})}var tt=n(2802),nt=n(8596),st=n(4996);function it(e){return(0,l.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,l.jsx)("path",{d:"M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z",fill:"currentColor"})})}const at={breadcrumbHomeIcon:"breadcrumbHomeIcon_YNFT"};function lt(){const e=(0,st.Z)("/");return(0,l.jsx)("li",{className:"breadcrumbs__item",children:(0,l.jsx)(x.Z,{"aria-label":(0,h.I)({id:"theme.docs.breadcrumbs.home",message:"Home page",description:"The ARIA label for the home page in the breadcrumbs"}),className:"breadcrumbs__link",href:e,children:(0,l.jsx)(it,{className:at.breadcrumbHomeIcon})})})}const ot={breadcrumbsContainer:"breadcrumbsContainer_Z_bl"};function rt(e){let{children:t,href:n,isLast:s}=e;const i="breadcrumbs__link";return s?(0,l.jsx)("span",{className:i,itemProp:"name",children:t}):n?(0,l.jsx)(x.Z,{className:i,href:n,itemProp:"item",children:(0,l.jsx)("span",{itemProp:"name",children:t})}):(0,l.jsx)("span",{className:i,children:t})}function ct(e){let{children:t,active:n,index:s,addMicrodata:i}=e;return(0,l.jsxs)("li",{...i&&{itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},className:(0,u.Z)("breadcrumbs__item",{"breadcrumbs__item--active":n}),children:[t,(0,l.jsx)("meta",{itemProp:"position",content:String(s+1)})]})}function dt(){const e=(0,tt.s1)(),t=(0,nt.Ns)();return e?(0,l.jsx)("nav",{className:(0,u.Z)(b.k.docs.docBreadcrumbs,ot.breadcrumbsContainer),"aria-label":(0,h.I)({id:"theme.docs.breadcrumbs.navAriaLabel",message:"Breadcrumbs",description:"The ARIA label for the breadcrumbs"}),children:(0,l.jsxs)("ul",{className:"breadcrumbs",itemScope:!0,itemType:"https://schema.org/BreadcrumbList",children:[t&&(0,l.jsx)(lt,{}),e.map(((t,n)=>{const s=n===e.length-1,i="category"===t.type&&t.linkUnlisted?void 0:t.href;return(0,l.jsx)(ct,{active:s,index:n,addMicrodata:!!i,children:(0,l.jsx)(rt,{href:i,isLast:s,children:t.label})},n)}))]})}):null}function ut(){return(0,l.jsx)(h.Z,{id:"theme.unlistedContent.title",description:"The unlisted content banner title",children:"Unlisted page"})}function mt(){return(0,l.jsx)(h.Z,{id:"theme.unlistedContent.message",description:"The unlisted content banner message",children:"This page is unlisted. Search engines will not index it, and only users having a direct link can access it."})}function ht(){return(0,l.jsx)(he.Z,{children:(0,l.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})}function xt(e){let{className:t}=e;return(0,l.jsx)(Ye,{type:"caution",title:(0,l.jsx)(ut,{}),className:(0,u.Z)(t,b.k.common.unlistedBanner),children:(0,l.jsx)(mt,{})})}function pt(e){return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(ht,{}),(0,l.jsx)(xt,{...e})]})}const ft={docItemContainer:"docItemContainer_Djhp",docItemCol:"docItemCol_VOVn"};function vt(e){let{children:t}=e;const n=function(){const{frontMatter:e,toc:t}=c(),n=(0,m.i)(),s=e.hide_table_of_contents,i=!s&&t.length>0;return{hidden:s,mobile:i?(0,l.jsx)(ae,{}):void 0,desktop:!i||"desktop"!==n&&"ssr"!==n?void 0:(0,l.jsx)(de,{})}}(),{metadata:{unlisted:s}}=c();return(0,l.jsxs)("div",{className:"row",children:[(0,l.jsxs)("div",{className:(0,u.Z)("col",!n.hidden&&ft.docItemCol),children:[s&&(0,l.jsx)(pt,{}),(0,l.jsx)(T,{}),(0,l.jsxs)("div",{className:ft.docItemContainer,children:[(0,l.jsxs)("article",{children:[(0,l.jsx)(dt,{}),(0,l.jsx)(y,{}),n.mobile,(0,l.jsx)(et,{children:t}),(0,l.jsx)(O,{})]}),(0,l.jsx)(v,{})]})]}),n.desktop&&(0,l.jsx)("div",{className:"col col--3",children:n.desktop})]})}function jt(e){const t=`docs-doc-id-${e.content.metadata.id}`,n=e.content;return(0,l.jsx)(r,{content:e.content,children:(0,l.jsxs)(i.FG,{className:t,children:[(0,l.jsx)(d,{}),(0,l.jsx)(vt,{children:(0,l.jsx)(n,{})})]})})}}}]); \ No newline at end of file diff --git a/assets/js/1d77307c.5f2b7f24.js b/assets/js/1d77307c.5f2b7f24.js new file mode 100644 index 0000000..b809e1a --- /dev/null +++ b/assets/js/1d77307c.5f2b7f24.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4081],{3252:(e,i,r)=>{r.r(i),r.d(i,{assets:()=>d,contentTitle:()=>a,default:()=>t,frontMatter:()=>l,metadata:()=>c,toc:()=>o});var n=r(5893),s=r(1151);const l={id:"PrimitiveParams",title:"Interface: PrimitiveParams",sidebar_label:"PrimitiveParams",sidebar_position:0,custom_edit_url:null},a=void 0,c={id:"api/interfaces/PrimitiveParams",title:"Interface: PrimitiveParams",description:"Hierarchy",source:"@site/docs/api/interfaces/PrimitiveParams.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/PrimitiveParams",permalink:"/docs/api/interfaces/PrimitiveParams",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"PrimitiveParams",title:"Interface: PrimitiveParams",sidebar_label:"PrimitiveParams",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"OctetStringParams",permalink:"/docs/api/interfaces/OctetStringParams"},next:{title:"RelativeObjectIdentifierJson",permalink:"/docs/api/interfaces/RelativeObjectIdentifierJson"}},d={},o=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"isHexOnly",id:"ishexonly",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"valueHex",id:"valuehex",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-10",level:4}];function h(e){const i={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,s.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,n.jsxs)(i.ul,{children:["\n",(0,n.jsxs)(i.li,{children:["\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams",children:(0,n.jsx)(i.code,{children:"BaseBlockParams"})})}),"\n"]}),"\n",(0,n.jsxs)(i.li,{children:["\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"LocalPrimitiveValueBlockParams"})}),"\n",(0,n.jsxs)(i.p,{children:["\u21b3 ",(0,n.jsx)(i.strong,{children:(0,n.jsx)(i.code,{children:"PrimitiveParams"})})]}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(i.h2,{id:"properties",children:"Properties"}),"\n",(0,n.jsx)(i.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"blockLength"}),": ",(0,n.jsx)(i.code,{children:"number"})]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams#blocklength",children:"blockLength"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"error",children:"error"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"error"}),": ",(0,n.jsx)(i.code,{children:"string"})]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams#error",children:"error"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"idblock",children:"idBlock"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"idBlock"}),": ",(0,n.jsx)(i.code,{children:"Partial"}),"<",(0,n.jsx)(i.code,{children:"ILocalIdentificationBlock"}),"> & ",(0,n.jsx)(i.code,{children:"Partial"}),"<",(0,n.jsx)(i.a,{href:"/docs/api/interfaces/IHexBlock",children:(0,n.jsx)(i.code,{children:"IHexBlock"})}),">"]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams#idblock",children:"idBlock"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"ishexonly",children:"isHexOnly"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"isHexOnly"}),": ",(0,n.jsx)(i.code,{children:"boolean"})]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,n.jsx)(i.p,{children:"LocalPrimitiveValueBlockParams.isHexOnly"}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"lenBlock"}),": ",(0,n.jsx)(i.code,{children:"Partial"}),"<",(0,n.jsx)(i.code,{children:"ILocalLengthBlock"}),">"]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams#lenblock",children:"lenBlock"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"name",children:"name"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"name"}),": ",(0,n.jsx)(i.code,{children:"string"})]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams#name",children:"name"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"optional",children:"optional"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"optional"}),": ",(0,n.jsx)(i.code,{children:"boolean"})]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams#optional",children:"optional"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"primitiveSchema"}),": ",(0,n.jsx)(i.a,{href:"/docs/api/classes/BaseBlock",children:(0,n.jsx)(i.code,{children:"BaseBlock"})}),"<",(0,n.jsx)(i.a,{href:"/docs/api/classes/ValueBlock",children:(0,n.jsx)(i.code,{children:"ValueBlock"})}),", ",(0,n.jsx)(i.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams#primitiveschema",children:"primitiveSchema"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"valueBeforeDecode"}),": ",(0,n.jsx)(i.code,{children:"BufferSource"})]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams#valuebeforedecode",children:"valueBeforeDecode"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"valuehex",children:"valueHex"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"valueHex"}),": ",(0,n.jsx)(i.code,{children:"BufferSource"})]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,n.jsx)(i.p,{children:"LocalPrimitiveValueBlockParams.valueHex"}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"warnings",children:"warnings"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"warnings"}),": ",(0,n.jsx)(i.code,{children:"string"}),"[]"]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams#warnings",children:"warnings"})]})]})}function t(e={}){const{wrapper:i}={...(0,s.a)(),...e.components};return i?(0,n.jsx)(i,{...e,children:(0,n.jsx)(h,{...e})}):h(e)}},1151:(e,i,r)=>{r.d(i,{Z:()=>c,a:()=>a});var n=r(7294);const s={},l=n.createContext(s);function a(e){const i=n.useContext(l);return n.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function c(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:a(e.components),n.createElement(l.Provider,{value:i},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/1df93b7f.a7122a82.js b/assets/js/1df93b7f.a7122a82.js new file mode 100644 index 0000000..4a7878e --- /dev/null +++ b/assets/js/1df93b7f.a7122a82.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[3237],{8478:(e,n,i)=>{i.r(n),i.d(n,{default:()=>h});i(7294);var t=i(6040),s=i(3692),r=i(2263),o=i(5893),c=i(1151);function a(e){const n={h4:"h4",p:"p",...(0,c.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("li",{children:[(0,o.jsx)(n.h4,{id:"asn1-object-encodingdecoding",children:"ASN.1 Object Encoding/Decoding"}),(0,o.jsx)(n.p,{children:"Encode and decode ASN.1 objects, allowing for the serialization and deserialization of data structures according to the ASN.1 specifications."})]}),"\n",(0,o.jsxs)("li",{children:[(0,o.jsx)(n.h4,{id:"ber-der-and-cer-support",children:"BER, DER, and CER Support"}),(0,o.jsx)(n.p,{children:"Support for Basic Encoding Rules (BER), Distinguished Encoding Rules (DER), and Canonical Encoding Rules (CER), which are different encoding rules for ASN.1."})]}),"\n",(0,o.jsxs)("li",{children:[(0,o.jsx)(n.h4,{id:"universal-application-context-specific-tag-support",children:"Universal, Application, Context-Specific Tag Support"}),(0,o.jsx)(n.p,{children:"Handle different ASN.1 tag types, including universal tags, application-specific tags, and context-specific tags."})]}),"\n",(0,o.jsxs)("li",{children:[(0,o.jsx)(n.h4,{id:"constructive-and-primitive-encoding",children:"Constructive and Primitive Encoding"}),(0,o.jsx)(n.p,{children:"Support for both primitive and constructed encoding, allowing the representation of simple values (primitive) and more complex structures (constructed)."})]}),"\n",(0,o.jsxs)("li",{children:[(0,o.jsx)(n.h4,{id:"oid-object-identifier-handling",children:"OID (Object Identifier) Handling"}),(0,o.jsx)(n.p,{children:"Ability to work with Object Identifiers, which are a hierarchical tree of identifiers commonly used in ASN.1 to uniquely identify objects, types, and attributes."})]}),"\n",(0,o.jsxs)("li",{children:[(0,o.jsx)(n.h4,{id:"extension-support",children:"Extension Support"}),(0,o.jsx)(n.p,{children:"Ability to handle ASN.1 extensions, which are used to extend existing data structures without modifying their original definition."})]})]})}function d(e={}){const{wrapper:n}={...(0,c.a)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(a,{...e})}):a(e)}function l(e){const n={h1:"h1",p:"p",...(0,c.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.h1,{id:"asn1js---javascript-module-for-abstract-syntax-notation-one-encoding-and-decoding",children:"ASN.1.js - JavaScript Module for Abstract Syntax Notation One Encoding and Decoding."}),"\n",(0,o.jsx)(n.p,{children:"ASN.1.js is a versatile and efficient npm module designed for encoding and decoding data using the Abstract Syntax Notation One (ASN.1) standard in JavaScript environments. This module empowers developers to work with complex data structures and facilitate interoperability in various protocols, such as LDAP, PKCS, and X.509. With ASN.1.js, you can seamlessly handle binary data representation, ensuring robust and standards-compliant communication. Whether you're building secure communication protocols or dealing with cryptographic structures, this module provides a reliable foundation for ASN.1 encoding and decoding in your JavaScript projects."})]})}function u(e={}){const{wrapper:n}={...(0,c.a)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(l,{...e})}):l(e)}const p={preview:"preview_s1Xp","reverse-pulse-opacity":"reverse-pulse-opacity_xAGi","pulse-opacity":"pulse-opacity_dJ1c",preview_content:"preview_content_u3fH",features:"features_XAlT",features_title:"features_title_GulZ",features_list:"features_list_RMlj",m_width:"m_width_rSnZ"};function h(){const{siteConfig:e}=(0,r.Z)();return(0,o.jsxs)(t.Z,{description:e.customFields.description,children:[(0,o.jsx)("div",{className:p.preview,children:(0,o.jsx)("div",{className:p.m_width,children:(0,o.jsxs)("div",{className:p.preview_content,children:[(0,o.jsx)(u,{}),(0,o.jsx)("div",{children:(0,o.jsx)(s.Z,{to:"/docs/installation",className:"button button--secondary button--lg",children:"Get started \u279e"})})]})})}),(0,o.jsx)("div",{className:p.features,children:(0,o.jsxs)("div",{className:p.m_width,children:[(0,o.jsx)("h2",{className:p.features_title,children:"Features"}),(0,o.jsx)("ul",{className:p.features_list,children:(0,o.jsx)(d,{})})]})})]})}},1151:(e,n,i)=>{i.d(n,{Z:()=>c,a:()=>o});var t=i(7294);const s={},r=t.createContext(s);function o(e){const n=t.useContext(r);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:o(e.components),t.createElement(r.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/1e333d5e.30396e0e.js b/assets/js/1e333d5e.30396e0e.js new file mode 100644 index 0000000..9f94882 --- /dev/null +++ b/assets/js/1e333d5e.30396e0e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2521],{7920:(e,r,s)=>{s.r(r),s.d(r,{assets:()=>t,contentTitle:()=>d,default:()=>a,frontMatter:()=>i,metadata:()=>c,toc:()=>h});var n=s(5893),l=s(1151);const i={id:"OctetString",title:"Class: OctetString",sidebar_label:"OctetString",sidebar_position:0,custom_edit_url:null},d=void 0,c={id:"api/classes/OctetString",title:"Class: OctetString",description:"Hierarchy",source:"@site/docs/api/classes/OctetString.md",sourceDirName:"api/classes",slug:"/api/classes/OctetString",permalink:"/docs/api/classes/OctetString",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"OctetString",title:"Class: OctetString",sidebar_label:"OctetString",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"ObjectIdentifier",permalink:"/docs/api/classes/ObjectIdentifier"},next:{title:"Primitive",permalink:"/docs/api/classes/Primitive"}},t={},h=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Overrides",id:"overrides",level:4},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"valueBeforeDecodeView",id:"valuebeforedecodeview",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"valueBlock",id:"valueblock",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"NAME",id:"name-1",level:3},{value:"Overrides",id:"overrides-1",level:4},{value:"Accessors",id:"accessors",level:2},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Returns",id:"returns-1",level:4},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Methods",id:"methods",level:2},{value:"fromBER",id:"fromber",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Overrides",id:"overrides-2",level:4},{value:"getValue",id:"getvalue",level:3},{value:"Returns",id:"returns-4",level:4},{value:"isEqual",id:"isequal",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-5",level:4},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"onAsciiEncoding",id:"onasciiencoding",level:3},{value:"Returns",id:"returns-6",level:4},{value:"Overrides",id:"overrides-3",level:4},{value:"toBER",id:"tober",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-7",level:4},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"toJSON",id:"tojson",level:3},{value:"Returns",id:"returns-8",level:4},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"toString",id:"tostring",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-9",level:4},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"blockName",id:"blockname",level:3},{value:"Returns",id:"returns-10",level:4},{value:"Inherited from",id:"inherited-from-16",level:4}];function o(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,l.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,n.jsxs)(r.ul,{children:["\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:(0,n.jsx)(r.code,{children:"BaseBlock"})}),"<",(0,n.jsx)(r.code,{children:"LocalOctetStringValueBlock"}),", ",(0,n.jsx)(r.code,{children:"LocalOctetStringValueBlockJson"}),">"]}),"\n",(0,n.jsxs)(r.p,{children:["\u21b3 ",(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"OctetString"})})]}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(r.h2,{id:"constructors",children:"Constructors"}),"\n",(0,n.jsx)(r.h3,{id:"constructor",children:"constructor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"new OctetString"}),"(",(0,n.jsx)(r.code,{children:"\xabdestructured\xbb?"}),"): ",(0,n.jsx)(r.a,{href:"/docs/api/classes/OctetString",children:(0,n.jsx)(r.code,{children:"OctetString"})})]}),"\n",(0,n.jsx)(r.h4,{id:"parameters",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(r.tbody,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"\xabdestructured\xbb"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.a,{href:"/docs/api/interfaces/OctetStringParams",children:(0,n.jsx)(r.code,{children:"OctetStringParams"})})})]})})]}),"\n",(0,n.jsx)(r.h4,{id:"returns",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"/docs/api/classes/OctetString",children:(0,n.jsx)(r.code,{children:"OctetString"})})}),"\n",(0,n.jsx)(r.h4,{id:"overrides",children:"Overrides"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#constructor",children:"constructor"})]}),"\n",(0,n.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,n.jsx)(r.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"blockLength"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#blocklength",children:"blockLength"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"error",children:"error"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"error"}),": ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#error",children:"error"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"idblock",children:"idBlock"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"idBlock"}),": ",(0,n.jsx)(r.code,{children:"LocalIdentificationBlock"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#idblock",children:"idBlock"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"lenBlock"}),": ",(0,n.jsx)(r.code,{children:"LocalLengthBlock"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#lenblock",children:"lenBlock"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"name",children:"name"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"name"}),": ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#name",children:"name"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"optional",children:"optional"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"optional"}),": ",(0,n.jsx)(r.code,{children:"boolean"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#optional",children:"optional"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"primitiveSchema"}),": ",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:(0,n.jsx)(r.code,{children:"BaseBlock"})}),"<",(0,n.jsx)(r.a,{href:"/docs/api/classes/ValueBlock",children:(0,n.jsx)(r.code,{children:"ValueBlock"})}),", ",(0,n.jsx)(r.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#primitiveschema",children:"primitiveSchema"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"valuebeforedecodeview",children:"valueBeforeDecodeView"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"valueBeforeDecodeView"}),": ",(0,n.jsx)(r.code,{children:"Uint8Array"})]}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"Since"})})}),"\n",(0,n.jsx)(r.p,{children:"3.0.0"}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#valuebeforedecodeview",children:"valueBeforeDecodeView"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"valueblock",children:"valueBlock"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"valueBlock"}),": ",(0,n.jsx)(r.code,{children:"LocalOctetStringValueBlock"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#valueblock",children:"valueBlock"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"warnings",children:"warnings"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"warnings"}),": ",(0,n.jsx)(r.code,{children:"string"}),"[]"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#warnings",children:"warnings"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"name-1",children:"NAME"}),"\n",(0,n.jsxs)(r.p,{children:["\u25aa ",(0,n.jsx)(r.code,{children:"Static"})," ",(0,n.jsx)(r.strong,{children:"NAME"}),": ",(0,n.jsx)(r.code,{children:"string"})," = ",(0,n.jsx)(r.code,{children:"OCTET_STRING_NAME"})]}),"\n",(0,n.jsx)(r.h4,{id:"overrides-1",children:"Overrides"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#name-1",children:"NAME"})]}),"\n",(0,n.jsx)(r.h2,{id:"accessors",children:"Accessors"}),"\n",(0,n.jsx)(r.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"get"})," ",(0,n.jsx)(r.strong,{children:"valueBeforeDecode"}),"(): ",(0,n.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-1",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,n.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"BaseBlock.valueBeforeDecode"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"set"})," ",(0,n.jsx)(r.strong,{children:"valueBeforeDecode"}),"(",(0,n.jsx)(r.code,{children:"value"}),"): ",(0,n.jsx)(r.code,{children:"void"})]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(r.tbody,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"value"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"ArrayBuffer"})})]})})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-2",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"void"})}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,n.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"BaseBlock.valueBeforeDecode"}),"\n",(0,n.jsx)(r.h2,{id:"methods",children:"Methods"}),"\n",(0,n.jsx)(r.h3,{id:"fromber",children:"fromBER"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"fromBER"}),"(",(0,n.jsx)(r.code,{children:"inputBuffer"}),", ",(0,n.jsx)(r.code,{children:"inputOffset"}),", ",(0,n.jsx)(r.code,{children:"inputLength"}),"): ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.p,{children:"Base function for converting block from BER encoded array of bytes"}),"\n",(0,n.jsx)(r.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"inputBuffer"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,n.jsx)(r.code,{children:"Uint8Array"})," | ",(0,n.jsx)(r.code,{children:"ArrayBuffer"})]}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:"ASN.1 BER encoded array"})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"inputOffset"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"number"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:"Offset in ASN.1 BER encoded array where decoding should be started"})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"inputLength"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"number"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:"Maximum length of array of bytes which can be using in this function"})]})]})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-3",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"number"})}),"\n",(0,n.jsx)(r.p,{children:"Offset after least decoded byte"}),"\n",(0,n.jsx)(r.h4,{id:"overrides-2",children:"Overrides"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#fromber",children:"fromBER"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"getvalue",children:"getValue"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"getValue"}),"(): ",(0,n.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,n.jsx)(r.p,{children:"Returns OctetString value. If OctetString is constructed, returns concatenated internal OctetString values"}),"\n",(0,n.jsx)(r.h4,{id:"returns-4",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,n.jsx)(r.p,{children:"Array buffer"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"Since"})})}),"\n",(0,n.jsx)(r.p,{children:"3.0.0"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"isequal",children:"isEqual"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"isEqual"}),"(",(0,n.jsx)(r.code,{children:"other"}),"): other is OctetString"]}),"\n",(0,n.jsx)(r.p,{children:"Determines whether two object instances are equal"}),"\n",(0,n.jsx)(r.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,n.jsx)(r.tbody,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"other"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"unknown"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:"Object to compare with the current object"})]})})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-5",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:"other is OctetString"}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#isequal",children:"isEqual"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"onasciiencoding",children:"onAsciiEncoding"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"onAsciiEncoding"}),"(): ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-6",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"string"})}),"\n",(0,n.jsx)(r.h4,{id:"overrides-3",children:"Overrides"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#onasciiencoding",children:"onAsciiEncoding"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"tober",children:"toBER"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"toBER"}),"(",(0,n.jsx)(r.code,{children:"sizeOnly?"}),", ",(0,n.jsx)(r.code,{children:"writer?"}),"): ",(0,n.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,n.jsx)(r.p,{children:"Encoding of current ASN.1 block into ASN.1 encoded array (BER rules)"}),"\n",(0,n.jsx)(r.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"sizeOnly?"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"boolean"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:"Flag that we need only a size of encoding, not a real array of bytes"})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"writer?"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.a,{href:"/docs/api/classes/ViewWriter",children:(0,n.jsx)(r.code,{children:"ViewWriter"})})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:"-"})]})]})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-7",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,n.jsx)(r.p,{children:"ASN.1 BER encoded array"}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#tober",children:"toBER"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"tojson",children:"toJSON"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"toJSON"}),"(): ",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,n.jsx)(r.code,{children:"BaseBlockJson"})}),"<",(0,n.jsx)(r.code,{children:"LocalOctetStringValueBlockJson"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"returns-8",children:"Returns"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,n.jsx)(r.code,{children:"BaseBlockJson"})}),"<",(0,n.jsx)(r.code,{children:"LocalOctetStringValueBlockJson"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#tojson",children:"toJSON"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"tostring",children:"toString"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"toString"}),"(",(0,n.jsx)(r.code,{children:"encoding?"}),"): ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Default value"})]})}),(0,n.jsx)(r.tbody,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"encoding"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.a,{href:"../#stringencoding",children:(0,n.jsx)(r.code,{children:"StringEncoding"})})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:'"ascii"'})})]})})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-9",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"string"})}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#tostring",children:"toString"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"blockname",children:"blockName"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"blockName"}),"(): ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.p,{children:"Aux function, need to get a block name. Need to have it here for inheritance"}),"\n",(0,n.jsx)(r.h4,{id:"returns-10",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"string"})}),"\n",(0,n.jsx)(r.p,{children:"Returns name of the block"}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#blockname",children:"blockName"})]})]})}function a(e={}){const{wrapper:r}={...(0,l.a)(),...e.components};return r?(0,n.jsx)(r,{...e,children:(0,n.jsx)(o,{...e})}):o(e)}},1151:(e,r,s)=>{s.d(r,{Z:()=>c,a:()=>d});var n=s(7294);const l={},i=n.createContext(l);function d(e){const r=n.useContext(i);return n.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function c(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(l):e.components||l:d(e.components),n.createElement(i.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/20190980.8948c1a9.js b/assets/js/20190980.8948c1a9.js new file mode 100644 index 0000000..e42bd6b --- /dev/null +++ b/assets/js/20190980.8948c1a9.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[3627],{2863:(e,i,r)=>{r.r(i),r.d(i,{assets:()=>c,contentTitle:()=>d,default:()=>t,frontMatter:()=>l,metadata:()=>a,toc:()=>o});var n=r(5893),s=r(1151);const l={id:"BitStringParams",title:"Interface: BitStringParams",sidebar_label:"BitStringParams",sidebar_position:0,custom_edit_url:null},d=void 0,a={id:"api/interfaces/BitStringParams",title:"Interface: BitStringParams",description:"Hierarchy",source:"@site/docs/api/interfaces/BitStringParams.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/BitStringParams",permalink:"/docs/api/interfaces/BitStringParams",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"BitStringParams",title:"Interface: BitStringParams",sidebar_label:"BitStringParams",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"BaseStringBlockParams",permalink:"/docs/api/interfaces/BaseStringBlockParams"},next:{title:"BooleanParams",permalink:"/docs/api/interfaces/BooleanParams"}},c={},o=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"isConstructed",id:"isconstructed",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"isHexOnly",id:"ishexonly",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"isIndefiniteForm",id:"isindefiniteform",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"unusedBits",id:"unusedbits",level:3},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"value",id:"value",level:3},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"valueHex",id:"valuehex",level:3},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-14",level:4}];function h(e){const i={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,s.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,n.jsxs)(i.ul,{children:["\n",(0,n.jsxs)(i.li,{children:["\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams",children:(0,n.jsx)(i.code,{children:"BaseBlockParams"})})}),"\n"]}),"\n",(0,n.jsxs)(i.li,{children:["\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"LocalBitStringValueBlockParams"})}),"\n",(0,n.jsxs)(i.p,{children:["\u21b3 ",(0,n.jsx)(i.strong,{children:(0,n.jsx)(i.code,{children:"BitStringParams"})})]}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(i.h2,{id:"properties",children:"Properties"}),"\n",(0,n.jsx)(i.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"blockLength"}),": ",(0,n.jsx)(i.code,{children:"number"})]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams#blocklength",children:"blockLength"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"error",children:"error"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"error"}),": ",(0,n.jsx)(i.code,{children:"string"})]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams#error",children:"error"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"idblock",children:"idBlock"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"idBlock"}),": ",(0,n.jsx)(i.code,{children:"Partial"}),"<",(0,n.jsx)(i.code,{children:"ILocalIdentificationBlock"}),"> & ",(0,n.jsx)(i.code,{children:"Partial"}),"<",(0,n.jsx)(i.a,{href:"/docs/api/interfaces/IHexBlock",children:(0,n.jsx)(i.code,{children:"IHexBlock"})}),">"]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams#idblock",children:"idBlock"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"isconstructed",children:"isConstructed"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"isConstructed"}),": ",(0,n.jsx)(i.code,{children:"boolean"})]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,n.jsx)(i.p,{children:"LocalBitStringValueBlockParams.isConstructed"}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"ishexonly",children:"isHexOnly"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"isHexOnly"}),": ",(0,n.jsx)(i.code,{children:"boolean"})]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,n.jsx)(i.p,{children:"LocalBitStringValueBlockParams.isHexOnly"}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"isindefiniteform",children:"isIndefiniteForm"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"isIndefiniteForm"}),": ",(0,n.jsx)(i.code,{children:"boolean"})]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,n.jsx)(i.p,{children:"LocalBitStringValueBlockParams.isIndefiniteForm"}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"lenBlock"}),": ",(0,n.jsx)(i.code,{children:"Partial"}),"<",(0,n.jsx)(i.code,{children:"ILocalLengthBlock"}),">"]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams#lenblock",children:"lenBlock"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"name",children:"name"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"name"}),": ",(0,n.jsx)(i.code,{children:"string"})]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams#name",children:"name"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"optional",children:"optional"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"optional"}),": ",(0,n.jsx)(i.code,{children:"boolean"})]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams#optional",children:"optional"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"primitiveSchema"}),": ",(0,n.jsx)(i.a,{href:"/docs/api/classes/BaseBlock",children:(0,n.jsx)(i.code,{children:"BaseBlock"})}),"<",(0,n.jsx)(i.a,{href:"/docs/api/classes/ValueBlock",children:(0,n.jsx)(i.code,{children:"ValueBlock"})}),", ",(0,n.jsx)(i.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams#primitiveschema",children:"primitiveSchema"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"unusedbits",children:"unusedBits"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"unusedBits"}),": ",(0,n.jsx)(i.code,{children:"number"})]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,n.jsx)(i.p,{children:"LocalBitStringValueBlockParams.unusedBits"}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"value",children:"value"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"value"}),": ",(0,n.jsx)(i.a,{href:"/docs/api/classes/BitString",children:(0,n.jsx)(i.code,{children:"BitString"})}),"[]"]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,n.jsx)(i.p,{children:"LocalBitStringValueBlockParams.value"}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"valueBeforeDecode"}),": ",(0,n.jsx)(i.code,{children:"BufferSource"})]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams#valuebeforedecode",children:"valueBeforeDecode"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"valuehex",children:"valueHex"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"valueHex"}),": ",(0,n.jsx)(i.code,{children:"BufferSource"})]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,n.jsx)(i.p,{children:"LocalBitStringValueBlockParams.valueHex"}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"warnings",children:"warnings"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"warnings"}),": ",(0,n.jsx)(i.code,{children:"string"}),"[]"]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams#warnings",children:"warnings"})]})]})}function t(e={}){const{wrapper:i}={...(0,s.a)(),...e.components};return i?(0,n.jsx)(i,{...e,children:(0,n.jsx)(h,{...e})}):h(e)}},1151:(e,i,r)=>{r.d(i,{Z:()=>a,a:()=>d});var n=r(7294);const s={},l=n.createContext(s);function d(e){const i=n.useContext(l);return n.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function a(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:d(e.components),n.createElement(l.Provider,{value:i},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/2312.e0182ad9.js b/assets/js/2312.e0182ad9.js new file mode 100644 index 0000000..5bea93b --- /dev/null +++ b/assets/js/2312.e0182ad9.js @@ -0,0 +1 @@ +(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2312],{9286:(e,t,n)=>{"use strict";n.d(t,{Z:()=>V});var o=n(7294),s=n(2389),c=n(512),r=n(2949),a=n(6668);function l(){const{prism:e}=(0,a.L)(),{colorMode:t}=(0,r.I)(),n=e.theme,o=e.darkTheme||n;return"dark"===t?o:n}var i=n(5281),u=n(7594),d=n.n(u);const m=/title=(?["'])(?.*?)\1/,p=/\{(?<range>[\d,-]+)\}/,b={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},bash:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}},f={...b,lua:{start:"--",end:""},wasm:{start:"\\;\\;",end:""},tex:{start:"%",end:""},vb:{start:"['\u2018\u2019]",end:""},rem:{start:"[Rr][Ee][Mm]\\b",end:""},f90:{start:"!",end:""},ml:{start:"\\(\\*",end:"\\*\\)"},cobol:{start:"\\*>",end:""}},h=Object.keys(b);function g(e,t){const n=e.map((e=>{const{start:n,end:o}=f[e];return`(?:${n}\\s*(${t.flatMap((e=>[e.line,e.block?.start,e.block?.end].filter(Boolean))).join("|")})\\s*${o})`})).join("|");return new RegExp(`^\\s*(?:${n})\\s*$`)}function k(e,t){let n=e.replace(/\n$/,"");const{language:o,magicComments:s,metastring:c}=t;if(c&&p.test(c)){const e=c.match(p).groups.range;if(0===s.length)throw new Error(`A highlight range has been given in code block's metastring (\`\`\` ${c}), but no magic comment config is available. Docusaurus applies the first magic comment entry's className for metastring ranges.`);const t=s[0].className,o=d()(e).filter((e=>e>0)).map((e=>[e-1,[t]]));return{lineClassNames:Object.fromEntries(o),code:n}}if(void 0===o)return{lineClassNames:{},code:n};const r=function(e,t){switch(e){case"js":case"javascript":case"ts":case"typescript":return g(["js","jsBlock"],t);case"jsx":case"tsx":return g(["js","jsBlock","jsx"],t);case"html":return g(["js","jsBlock","html"],t);case"python":case"py":case"bash":return g(["bash"],t);case"markdown":case"md":return g(["html","jsx","bash"],t);case"tex":case"latex":case"matlab":return g(["tex"],t);case"lua":case"haskell":case"sql":return g(["lua"],t);case"wasm":return g(["wasm"],t);case"vb":case"vbnet":case"vba":case"visual-basic":return g(["vb","rem"],t);case"batch":return g(["rem"],t);case"basic":return g(["rem","f90"],t);case"fsharp":return g(["js","ml"],t);case"ocaml":case"sml":return g(["ml"],t);case"fortran":return g(["f90"],t);case"cobol":return g(["cobol"],t);default:return g(h,t)}}(o,s),a=n.split("\n"),l=Object.fromEntries(s.map((e=>[e.className,{start:0,range:""}]))),i=Object.fromEntries(s.filter((e=>e.line)).map((e=>{let{className:t,line:n}=e;return[n,t]}))),u=Object.fromEntries(s.filter((e=>e.block)).map((e=>{let{className:t,block:n}=e;return[n.start,t]}))),m=Object.fromEntries(s.filter((e=>e.block)).map((e=>{let{className:t,block:n}=e;return[n.end,t]})));for(let d=0;d<a.length;){const e=a[d].match(r);if(!e){d+=1;continue}const t=e.slice(1).find((e=>void 0!==e));i[t]?l[i[t]].range+=`${d},`:u[t]?l[u[t]].start=d:m[t]&&(l[m[t]].range+=`${l[m[t]].start}-${d-1},`),a.splice(d,1)}n=a.join("\n");const b={};return Object.entries(l).forEach((e=>{let[t,{range:n}]=e;d()(n).forEach((e=>{b[e]??=[],b[e].push(t)}))})),{lineClassNames:b,code:n}}const x={codeBlockContainer:"codeBlockContainer_Ckt0"};var B=n(5893);function j(e){let{as:t,...n}=e;const o=function(e){const t={color:"--prism-color",backgroundColor:"--prism-background-color"},n={};return Object.entries(e.plain).forEach((e=>{let[o,s]=e;const c=t[o];c&&"string"==typeof s&&(n[c]=s)})),n}(l());return(0,B.jsx)(t,{...n,style:o,className:(0,c.Z)(n.className,x.codeBlockContainer,i.k.common.codeBlock)})}const y={codeBlockContent:"codeBlockContent_biex",codeBlockTitle:"codeBlockTitle_Ktv7",codeBlock:"codeBlock_bY9V",codeBlockStandalone:"codeBlockStandalone_MEMb",codeBlockLines:"codeBlockLines_e6Vv",codeBlockLinesWithNumbering:"codeBlockLinesWithNumbering_o6Pm",buttonGroup:"buttonGroup__atx"};function v(e){let{children:t,className:n}=e;return(0,B.jsx)(j,{as:"pre",tabIndex:0,className:(0,c.Z)(y.codeBlockStandalone,"thin-scrollbar",n),children:(0,B.jsx)("code",{className:y.codeBlockLines,children:t})})}var C=n(902);const N={attributes:!0,characterData:!0,childList:!0,subtree:!0};function w(e,t){const[n,s]=(0,o.useState)(),c=(0,o.useCallback)((()=>{s(e.current?.closest("[role=tabpanel][hidden]"))}),[e,s]);(0,o.useEffect)((()=>{c()}),[c]),function(e,t,n){void 0===n&&(n=N);const s=(0,C.zX)(t),c=(0,C.Ql)(n);(0,o.useEffect)((()=>{const t=new MutationObserver(s);return e&&t.observe(e,c),()=>t.disconnect()}),[e,s,c])}(n,(e=>{e.forEach((e=>{"attributes"===e.type&&"hidden"===e.attributeName&&(t(),c())}))}),{attributes:!0,characterData:!1,childList:!1,subtree:!1})}var L=n(2573);const E={codeLine:"codeLine_lJS_",codeLineNumber:"codeLineNumber_Tfdd",codeLineContent:"codeLineContent_feaV"};function I(e){let{line:t,classNames:n,showLineNumbers:o,getLineProps:s,getTokenProps:r}=e;1===t.length&&"\n"===t[0].content&&(t[0].content="");const a=s({line:t,className:(0,c.Z)(n,o&&E.codeLine)}),l=t.map(((e,t)=>(0,B.jsx)("span",{...r({token:e,key:t})},t)));return(0,B.jsxs)("span",{...a,children:[o?(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)("span",{className:E.codeLineNumber}),(0,B.jsx)("span",{className:E.codeLineContent,children:l})]}):l,(0,B.jsx)("br",{})]})}var S=n(5999);function _(e){return(0,B.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,B.jsx)("path",{fill:"currentColor",d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"})})}function A(e){return(0,B.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,B.jsx)("path",{fill:"currentColor",d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"})})}const T={copyButtonCopied:"copyButtonCopied_obH4",copyButtonIcons:"copyButtonIcons_eSgA",copyButtonIcon:"copyButtonIcon_y97N",copyButtonSuccessIcon:"copyButtonSuccessIcon_LjdS"};function $(e){let{code:t,className:n}=e;const[s,r]=(0,o.useState)(!1),a=(0,o.useRef)(void 0),l=(0,o.useCallback)((()=>{!function(e,t){let{target:n=document.body}=void 0===t?{}:t;if("string"!=typeof e)throw new TypeError(`Expected parameter \`text\` to be a \`string\`, got \`${typeof e}\`.`);const o=document.createElement("textarea"),s=document.activeElement;o.value=e,o.setAttribute("readonly",""),o.style.contain="strict",o.style.position="absolute",o.style.left="-9999px",o.style.fontSize="12pt";const c=document.getSelection(),r=c.rangeCount>0&&c.getRangeAt(0);n.append(o),o.select(),o.selectionStart=0,o.selectionEnd=e.length;let a=!1;try{a=document.execCommand("copy")}catch{}o.remove(),r&&(c.removeAllRanges(),c.addRange(r)),s&&s.focus()}(t),r(!0),a.current=window.setTimeout((()=>{r(!1)}),1e3)}),[t]);return(0,o.useEffect)((()=>()=>window.clearTimeout(a.current)),[]),(0,B.jsx)("button",{type:"button","aria-label":s?(0,S.I)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,S.I)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,S.I)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,c.Z)("clean-btn",n,T.copyButton,s&&T.copyButtonCopied),onClick:l,children:(0,B.jsxs)("span",{className:T.copyButtonIcons,"aria-hidden":"true",children:[(0,B.jsx)(_,{className:T.copyButtonIcon}),(0,B.jsx)(A,{className:T.copyButtonSuccessIcon})]})})}function W(e){return(0,B.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,B.jsx)("path",{fill:"currentColor",d:"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"})})}const M={wordWrapButtonIcon:"wordWrapButtonIcon_Bwma",wordWrapButtonEnabled:"wordWrapButtonEnabled_EoeP"};function Z(e){let{className:t,onClick:n,isEnabled:o}=e;const s=(0,S.I)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return(0,B.jsx)("button",{type:"button",onClick:n,className:(0,c.Z)("clean-btn",t,o&&M.wordWrapButtonEnabled),"aria-label":s,title:s,children:(0,B.jsx)(W,{className:M.wordWrapButtonIcon,"aria-hidden":"true"})})}function H(e){let{children:t,className:n="",metastring:s,title:r,showLineNumbers:i,language:u}=e;const{prism:{defaultLanguage:d,magicComments:p}}=(0,a.L)(),b=function(e){return e?.toLowerCase()}(u??function(e){const t=e.split(" ").find((e=>e.startsWith("language-")));return t?.replace(/language-/,"")}(n)??d),f=l(),h=function(){const[e,t]=(0,o.useState)(!1),[n,s]=(0,o.useState)(!1),c=(0,o.useRef)(null),r=(0,o.useCallback)((()=>{const n=c.current.querySelector("code");e?n.removeAttribute("style"):(n.style.whiteSpace="pre-wrap",n.style.overflowWrap="anywhere"),t((e=>!e))}),[c,e]),a=(0,o.useCallback)((()=>{const{scrollWidth:e,clientWidth:t}=c.current,n=e>t||c.current.querySelector("code").hasAttribute("style");s(n)}),[c]);return w(c,a),(0,o.useEffect)((()=>{a()}),[e,a]),(0,o.useEffect)((()=>(window.addEventListener("resize",a,{passive:!0}),()=>{window.removeEventListener("resize",a)})),[a]),{codeBlockRef:c,isEnabled:e,isCodeScrollable:n,toggle:r}}(),g=function(e){return e?.match(m)?.groups.title??""}(s)||r,{lineClassNames:x,code:v}=k(t,{metastring:s,language:b,magicComments:p}),C=i??function(e){return Boolean(e?.includes("showLineNumbers"))}(s);return(0,B.jsxs)(j,{as:"div",className:(0,c.Z)(n,b&&!n.includes(`language-${b}`)&&`language-${b}`),children:[g&&(0,B.jsx)("div",{className:y.codeBlockTitle,children:g}),(0,B.jsxs)("div",{className:y.codeBlockContent,children:[(0,B.jsx)(L.y$,{theme:f,code:v,language:b??"text",children:e=>{let{className:t,style:n,tokens:o,getLineProps:s,getTokenProps:r}=e;return(0,B.jsx)("pre",{tabIndex:0,ref:h.codeBlockRef,className:(0,c.Z)(t,y.codeBlock,"thin-scrollbar"),style:n,children:(0,B.jsx)("code",{className:(0,c.Z)(y.codeBlockLines,C&&y.codeBlockLinesWithNumbering),children:o.map(((e,t)=>(0,B.jsx)(I,{line:e,getLineProps:s,getTokenProps:r,classNames:x[t],showLineNumbers:C},t)))})})}}),(0,B.jsxs)("div",{className:y.buttonGroup,children:[(h.isEnabled||h.isCodeScrollable)&&(0,B.jsx)(Z,{className:y.codeButton,onClick:()=>h.toggle(),isEnabled:h.isEnabled}),(0,B.jsx)($,{className:y.codeButton,code:v})]})]})]})}function V(e){let{children:t,...n}=e;const c=(0,s.Z)(),r=function(e){return o.Children.toArray(e).some((e=>(0,o.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(t),a="string"==typeof r?H:v;return(0,B.jsx)(a,{...n,children:r},String(c))}},7594:(e,t)=>{function n(e){let t,n=[];for(let o of e.split(",").map((e=>e.trim())))if(/^-?\d+$/.test(o))n.push(parseInt(o,10));else if(t=o.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[e,o,s,c]=t;if(o&&c){o=parseInt(o),c=parseInt(c);const e=o<c?1:-1;"-"!==s&&".."!==s&&"\u2025"!==s||(c+=e);for(let t=o;t!==c;t+=e)n.push(t)}}return n}t.default=n,e.exports=n},1151:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a,a:()=>r});var o=n(7294);const s={},c=o.createContext(s);function r(e){const t=o.useContext(c);return o.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:r(e.components),o.createElement(c.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/278d5f50.cab4b4cf.js b/assets/js/278d5f50.cab4b4cf.js new file mode 100644 index 0000000..a838787 --- /dev/null +++ b/assets/js/278d5f50.cab4b4cf.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[5689],{2357:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>i,default:()=>h,frontMatter:()=>s,metadata:()=>d,toc:()=>o});var r=n(5893),l=n(1151);const s={id:"IBerConvertible",title:"Interface: IBerConvertible",sidebar_label:"IBerConvertible",sidebar_position:0,custom_edit_url:null},i=void 0,d={id:"api/interfaces/IBerConvertible",title:"Interface: IBerConvertible",description:"Implemented by",source:"@site/docs/api/interfaces/IBerConvertible.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/IBerConvertible",permalink:"/docs/api/interfaces/IBerConvertible",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"IBerConvertible",title:"Interface: IBerConvertible",sidebar_label:"IBerConvertible",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"IBaseBlock",permalink:"/docs/api/interfaces/IBaseBlock"},next:{title:"IChoice",permalink:"/docs/api/interfaces/IChoice"}},c={},o=[{value:"Implemented by",id:"implemented-by",level:2},{value:"Methods",id:"methods",level:2},{value:"fromBER",id:"fromber",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"toBER",id:"tober",level:3},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-1",level:4}];function a(e){const t={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,l.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.h2,{id:"implemented-by",children:"Implemented by"}),"\n",(0,r.jsxs)(t.ul,{children:["\n",(0,r.jsx)(t.li,{children:(0,r.jsx)(t.a,{href:"/docs/api/classes/BaseBlock",children:(0,r.jsx)(t.code,{children:"BaseBlock"})})}),"\n",(0,r.jsx)(t.li,{children:(0,r.jsx)(t.a,{href:"/docs/api/classes/RawData",children:(0,r.jsx)(t.code,{children:"RawData"})})}),"\n",(0,r.jsx)(t.li,{children:(0,r.jsx)(t.a,{href:"/docs/api/classes/ValueBlock",children:(0,r.jsx)(t.code,{children:"ValueBlock"})})}),"\n"]}),"\n",(0,r.jsx)(t.h2,{id:"methods",children:"Methods"}),"\n",(0,r.jsx)(t.h3,{id:"fromber",children:"fromBER"}),"\n",(0,r.jsxs)(t.p,{children:["\u25b8 ",(0,r.jsx)(t.strong,{children:"fromBER"}),"(",(0,r.jsx)(t.code,{children:"inputBuffer"}),", ",(0,r.jsx)(t.code,{children:"inputOffset"}),", ",(0,r.jsx)(t.code,{children:"inputLength"}),"): ",(0,r.jsx)(t.code,{children:"number"})]}),"\n",(0,r.jsx)(t.p,{children:"Base function for converting block from BER encoded array of bytes"}),"\n",(0,r.jsx)(t.h4,{id:"parameters",children:"Parameters"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{style:{textAlign:"left"},children:"Name"}),(0,r.jsx)(t.th,{style:{textAlign:"left"},children:"Type"}),(0,r.jsx)(t.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,r.jsxs)(t.tbody,{children:[(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{style:{textAlign:"left"},children:(0,r.jsx)(t.code,{children:"inputBuffer"})}),(0,r.jsxs)(t.td,{style:{textAlign:"left"},children:[(0,r.jsx)(t.code,{children:"Uint8Array"})," | ",(0,r.jsx)(t.code,{children:"ArrayBuffer"})]}),(0,r.jsx)(t.td,{style:{textAlign:"left"},children:"ASN.1 BER encoded array"})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{style:{textAlign:"left"},children:(0,r.jsx)(t.code,{children:"inputOffset"})}),(0,r.jsx)(t.td,{style:{textAlign:"left"},children:(0,r.jsx)(t.code,{children:"number"})}),(0,r.jsx)(t.td,{style:{textAlign:"left"},children:"Offset in ASN.1 BER encoded array where decoding should be started"})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{style:{textAlign:"left"},children:(0,r.jsx)(t.code,{children:"inputLength"})}),(0,r.jsx)(t.td,{style:{textAlign:"left"},children:(0,r.jsx)(t.code,{children:"number"})}),(0,r.jsx)(t.td,{style:{textAlign:"left"},children:"Maximum length of array of bytes which can be using in this function"})]})]})]}),"\n",(0,r.jsx)(t.h4,{id:"returns",children:"Returns"}),"\n",(0,r.jsx)(t.p,{children:(0,r.jsx)(t.code,{children:"number"})}),"\n",(0,r.jsx)(t.p,{children:"Offset after least decoded byte"}),"\n",(0,r.jsx)(t.hr,{}),"\n",(0,r.jsx)(t.h3,{id:"tober",children:"toBER"}),"\n",(0,r.jsxs)(t.p,{children:["\u25b8 ",(0,r.jsx)(t.strong,{children:"toBER"}),"(",(0,r.jsx)(t.code,{children:"sizeOnly?"}),"): ",(0,r.jsx)(t.code,{children:"ArrayBuffer"})]}),"\n",(0,r.jsx)(t.p,{children:"Encoding of current ASN.1 block into ASN.1 encoded array (BER rules)"}),"\n",(0,r.jsx)(t.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{style:{textAlign:"left"},children:"Name"}),(0,r.jsx)(t.th,{style:{textAlign:"left"},children:"Type"}),(0,r.jsx)(t.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,r.jsx)(t.tbody,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{style:{textAlign:"left"},children:(0,r.jsx)(t.code,{children:"sizeOnly?"})}),(0,r.jsx)(t.td,{style:{textAlign:"left"},children:(0,r.jsx)(t.code,{children:"boolean"})}),(0,r.jsx)(t.td,{style:{textAlign:"left"},children:"Flag that we need only a size of encoding, not a real array of bytes"})]})})]}),"\n",(0,r.jsx)(t.h4,{id:"returns-1",children:"Returns"}),"\n",(0,r.jsx)(t.p,{children:(0,r.jsx)(t.code,{children:"ArrayBuffer"})}),"\n",(0,r.jsx)(t.p,{children:"ASN.1 BER encoded array"})]})}function h(e={}){const{wrapper:t}={...(0,l.a)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(a,{...e})}):a(e)}},1151:(e,t,n)=>{n.d(t,{Z:()=>d,a:()=>i});var r=n(7294);const l={},s=r.createContext(l);function i(e){const t=r.useContext(s);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function d(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(l):e.components||l:i(e.components),r.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/2c629d30.ae80f2e5.js b/assets/js/2c629d30.ae80f2e5.js new file mode 100644 index 0000000..848db4a --- /dev/null +++ b/assets/js/2c629d30.ae80f2e5.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[299],{6795:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>o,contentTitle:()=>r,default:()=>p,frontMatter:()=>l,metadata:()=>c,toc:()=>a});var s=i(5893),t=i(1151);const l={id:"IBaseBlock",title:"Interface: IBaseBlock",sidebar_label:"IBaseBlock",sidebar_position:0,custom_edit_url:null},r=void 0,c={id:"api/interfaces/IBaseBlock",title:"Interface: IBaseBlock",description:"Implemented by",source:"@site/docs/api/interfaces/IBaseBlock.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/IBaseBlock",permalink:"/docs/api/interfaces/IBaseBlock",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"IBaseBlock",title:"Interface: IBaseBlock",sidebar_label:"IBaseBlock",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"IAny",permalink:"/docs/api/interfaces/IAny"},next:{title:"IBerConvertible",permalink:"/docs/api/interfaces/IBerConvertible"}},o={},a=[{value:"Implemented by",id:"implemented-by",level:2},{value:"Properties",id:"properties",level:2},{value:"name",id:"name",level:3},{value:"optional",id:"optional",level:3},{value:"primitiveSchema",id:"primitiveschema",level:3}];function d(e){const n={a:"a",code:"code",h2:"h2",h3:"h3",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,t.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.h2,{id:"implemented-by",children:"Implemented by"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"/docs/api/classes/BaseBlock",children:(0,s.jsx)(n.code,{children:"BaseBlock"})})}),"\n"]}),"\n",(0,s.jsx)(n.h2,{id:"properties",children:"Properties"}),"\n",(0,s.jsx)(n.h3,{id:"name",children:"name"}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"name"}),": ",(0,s.jsx)(n.code,{children:"string"})]}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"optional",children:"optional"}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"optional"}),": ",(0,s.jsx)(n.code,{children:"boolean"})]}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.code,{children:"Optional"})," ",(0,s.jsx)(n.strong,{children:"primitiveSchema"}),": ",(0,s.jsx)(n.a,{href:"/docs/api/classes/BaseBlock",children:(0,s.jsx)(n.code,{children:"BaseBlock"})}),"<",(0,s.jsx)(n.a,{href:"/docs/api/classes/ValueBlock",children:(0,s.jsx)(n.code,{children:"ValueBlock"})}),", ",(0,s.jsx)(n.code,{children:"LocalBaseBlockJson"}),">"]})]})}function p(e={}){const{wrapper:n}={...(0,t.a)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},1151:(e,n,i)=>{i.d(n,{Z:()=>c,a:()=>r});var s=i(7294);const t={},l=s.createContext(t);function r(e){const n=s.useContext(l);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:r(e.components),s.createElement(l.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/30dc882d.cce6f87a.js b/assets/js/30dc882d.cce6f87a.js new file mode 100644 index 0000000..b1cb75c --- /dev/null +++ b/assets/js/30dc882d.cce6f87a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[5352],{5745:e=>{e.exports=JSON.parse('{"name":"docusaurus-plugin-content-pages","id":"default"}')}}]); \ No newline at end of file diff --git a/assets/js/30edd11b.46642cdd.js b/assets/js/30edd11b.46642cdd.js new file mode 100644 index 0000000..69708b6 --- /dev/null +++ b/assets/js/30edd11b.46642cdd.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[1080],{947:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>c,contentTitle:()=>s,default:()=>x,frontMatter:()=>d,metadata:()=>t,toc:()=>h});var i=n(5893),l=n(1151);const d={id:"VideotexString",title:"Class: VideotexString",sidebar_label:"VideotexString",sidebar_position:0,custom_edit_url:null},s=void 0,t={id:"api/classes/VideotexString",title:"Class: VideotexString",description:"Hierarchy",source:"@site/docs/api/classes/VideotexString.md",sourceDirName:"api/classes",slug:"/api/classes/VideotexString",permalink:"/docs/api/classes/VideotexString",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"VideotexString",title:"Class: VideotexString",sidebar_label:"VideotexString",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"ValueBlock",permalink:"/docs/api/classes/ValueBlock"},next:{title:"ViewWriter",permalink:"/docs/api/classes/ViewWriter"}},c={},h=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Overrides",id:"overrides",level:4},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"valueBeforeDecodeView",id:"valuebeforedecodeview",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"valueBlock",id:"valueblock",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"NAME",id:"name-1",level:3},{value:"Overrides",id:"overrides-1",level:4},{value:"Accessors",id:"accessors",level:2},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Returns",id:"returns-1",level:4},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Methods",id:"methods",level:2},{value:"fromBER",id:"fromber",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"fromBuffer",id:"frombuffer",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-4",level:4},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"fromString",id:"fromstring",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-5",level:4},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"getValue",id:"getvalue",level:3},{value:"Returns",id:"returns-6",level:4},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"isEqual",id:"isequal",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-7",level:4},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"onAsciiEncoding",id:"onasciiencoding",level:3},{value:"Returns",id:"returns-8",level:4},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"setValue",id:"setvalue",level:3},{value:"Parameters",id:"parameters-6",level:4},{value:"Returns",id:"returns-9",level:4},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"toBER",id:"tober",level:3},{value:"Parameters",id:"parameters-7",level:4},{value:"Returns",id:"returns-10",level:4},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"toJSON",id:"tojson",level:3},{value:"Returns",id:"returns-11",level:4},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"toString",id:"tostring",level:3},{value:"Parameters",id:"parameters-8",level:4},{value:"Returns",id:"returns-12",level:4},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"blockName",id:"blockname",level:3},{value:"Returns",id:"returns-13",level:4},{value:"Inherited from",id:"inherited-from-22",level:4}];function o(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,l.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,i.jsxs)(r.ul,{children:["\n",(0,i.jsxs)(r.li,{children:["\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"LocalSimpleStringBlock"})}),"\n",(0,i.jsxs)(r.p,{children:["\u21b3 ",(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"VideotexString"})})]}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(r.h2,{id:"constructors",children:"Constructors"}),"\n",(0,i.jsx)(r.h3,{id:"constructor",children:"constructor"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"new VideotexString"}),"(",(0,i.jsx)(r.code,{children:"parameters?"}),"): ",(0,i.jsx)(r.a,{href:"/docs/api/classes/VideotexString",children:(0,i.jsx)(r.code,{children:"VideotexString"})})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"parameters"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"LocalSimpleStringBlockParams"})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.a,{href:"/docs/api/classes/VideotexString",children:(0,i.jsx)(r.code,{children:"VideotexString"})})}),"\n",(0,i.jsx)(r.h4,{id:"overrides",children:"Overrides"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.constructor"}),"\n",(0,i.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,i.jsx)(r.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"blockLength"}),": ",(0,i.jsx)(r.code,{children:"number"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.blockLength"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"error",children:"error"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"error"}),": ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.error"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"idblock",children:"idBlock"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"idBlock"}),": ",(0,i.jsx)(r.code,{children:"LocalIdentificationBlock"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.idBlock"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"lenBlock"}),": ",(0,i.jsx)(r.code,{children:"LocalLengthBlock"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.lenBlock"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"name",children:"name"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"name"}),": ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.name"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"optional",children:"optional"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"optional"}),": ",(0,i.jsx)(r.code,{children:"boolean"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.optional"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.code,{children:"Optional"})," ",(0,i.jsx)(r.strong,{children:"primitiveSchema"}),": ",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:(0,i.jsx)(r.code,{children:"BaseBlock"})}),"<",(0,i.jsx)(r.a,{href:"/docs/api/classes/ValueBlock",children:(0,i.jsx)(r.code,{children:"ValueBlock"})}),", ",(0,i.jsx)(r.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.primitiveSchema"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"valuebeforedecodeview",children:"valueBeforeDecodeView"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"valueBeforeDecodeView"}),": ",(0,i.jsx)(r.code,{children:"Uint8Array"})]}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Since"})})}),"\n",(0,i.jsx)(r.p,{children:"3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.valueBeforeDecodeView"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"valueblock",children:"valueBlock"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"valueBlock"}),": ",(0,i.jsx)(r.code,{children:"LocalSimpleStringValueBlock"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.valueBlock"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"warnings",children:"warnings"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"warnings"}),": ",(0,i.jsx)(r.code,{children:"string"}),"[]"]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.warnings"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"name-1",children:"NAME"}),"\n",(0,i.jsxs)(r.p,{children:["\u25aa ",(0,i.jsx)(r.code,{children:"Static"})," ",(0,i.jsx)(r.strong,{children:"NAME"}),": ",(0,i.jsx)(r.code,{children:"string"})," = ",(0,i.jsx)(r.code,{children:'"VideotexString"'})]}),"\n",(0,i.jsx)(r.h4,{id:"overrides-1",children:"Overrides"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.NAME"}),"\n",(0,i.jsx)(r.h2,{id:"accessors",children:"Accessors"}),"\n",(0,i.jsx)(r.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.code,{children:"get"})," ",(0,i.jsx)(r.strong,{children:"valueBeforeDecode"}),"(): ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-1",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,i.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.valueBeforeDecode"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.code,{children:"set"})," ",(0,i.jsx)(r.strong,{children:"valueBeforeDecode"}),"(",(0,i.jsx)(r.code,{children:"value"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"value"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"ArrayBuffer"})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-2",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,i.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.valueBeforeDecode"}),"\n",(0,i.jsx)(r.h2,{id:"methods",children:"Methods"}),"\n",(0,i.jsx)(r.h3,{id:"fromber",children:"fromBER"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"fromBER"}),"(",(0,i.jsx)(r.code,{children:"inputBuffer"}),", ",(0,i.jsx)(r.code,{children:"inputOffset"}),", ",(0,i.jsx)(r.code,{children:"inputLength"}),"): ",(0,i.jsx)(r.code,{children:"number"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsxs)(r.tbody,{children:[(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputBuffer"})}),(0,i.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,i.jsx)(r.code,{children:"Uint8Array"})," | ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputOffset"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"number"})})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputLength"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"number"})})]})]})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-3",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"number"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.fromBER"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"frombuffer",children:"fromBuffer"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"fromBuffer"}),"(",(0,i.jsx)(r.code,{children:"inputBuffer"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputBuffer"})}),(0,i.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,i.jsx)(r.code,{children:"Uint8Array"})," | ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-4",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.fromBuffer"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"fromstring",children:"fromString"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"fromString"}),"(",(0,i.jsx)(r.code,{children:"inputString"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputString"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"string"})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-5",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.fromString"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"getvalue",children:"getValue"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"getValue"}),"(): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.p,{children:"String value"}),"\n",(0,i.jsx)(r.h4,{id:"returns-6",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Since"})})}),"\n",(0,i.jsx)(r.p,{children:"3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.getValue"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"isequal",children:"isEqual"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"isEqual"}),"(",(0,i.jsx)(r.code,{children:"other"}),"): other is VideotexString"]}),"\n",(0,i.jsx)(r.p,{children:"Determines whether two object instances are equal"}),"\n",(0,i.jsx)(r.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"other"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"unknown"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:"Object to compare with the current object"})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-7",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:"other is VideotexString"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.isEqual"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"onasciiencoding",children:"onAsciiEncoding"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"onAsciiEncoding"}),"(): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-8",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-17",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.onAsciiEncoding"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"setvalue",children:"setValue"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"setValue"}),"(",(0,i.jsx)(r.code,{children:"value"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.p,{children:"String value"}),"\n",(0,i.jsx)(r.h4,{id:"parameters-6",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"value"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"string"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:"String value"})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-9",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Since"})})}),"\n",(0,i.jsx)(r.p,{children:"3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-18",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.setValue"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"tober",children:"toBER"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"toBER"}),"(",(0,i.jsx)(r.code,{children:"sizeOnly?"}),", ",(0,i.jsx)(r.code,{children:"writer?"}),"): ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-7",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsxs)(r.tbody,{children:[(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"sizeOnly?"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"boolean"})})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"writer?"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.a,{href:"/docs/api/classes/ViewWriter",children:(0,i.jsx)(r.code,{children:"ViewWriter"})})})]})]})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-10",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-19",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.toBER"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"tojson",children:"toJSON"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"toJSON"}),"(): ",(0,i.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,i.jsx)(r.code,{children:"BaseBlockJson"})}),"<",(0,i.jsx)(r.code,{children:"LocalStringValueBlockJson"}),">"]}),"\n",(0,i.jsx)(r.h4,{id:"returns-11",children:"Returns"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,i.jsx)(r.code,{children:"BaseBlockJson"})}),"<",(0,i.jsx)(r.code,{children:"LocalStringValueBlockJson"}),">"]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-20",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.toJSON"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"tostring",children:"toString"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"toString"}),"(",(0,i.jsx)(r.code,{children:"encoding?"}),"): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-8",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Default value"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"encoding"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.a,{href:"../#stringencoding",children:(0,i.jsx)(r.code,{children:"StringEncoding"})})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:'"ascii"'})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-12",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-21",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.toString"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"blockname",children:"blockName"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"blockName"}),"(): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.p,{children:"Aux function, need to get a block name. Need to have it here for inheritance"}),"\n",(0,i.jsx)(r.h4,{id:"returns-13",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.p,{children:"Returns name of the block"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-22",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.blockName"})]})}function x(e={}){const{wrapper:r}={...(0,l.a)(),...e.components};return r?(0,i.jsx)(r,{...e,children:(0,i.jsx)(o,{...e})}):o(e)}},1151:(e,r,n)=>{n.d(r,{Z:()=>t,a:()=>s});var i=n(7294);const l={},d=i.createContext(l);function s(e){const r=i.useContext(d);return i.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function t(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(l):e.components||l:s(e.components),i.createElement(d.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/3926a858.51f70f26.js b/assets/js/3926a858.51f70f26.js new file mode 100644 index 0000000..9a63066 --- /dev/null +++ b/assets/js/3926a858.51f70f26.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[1686],{4700:(e,r,s)=>{s.r(r),s.d(r,{assets:()=>t,contentTitle:()=>d,default:()=>a,frontMatter:()=>i,metadata:()=>c,toc:()=>h});var n=s(5893),l=s(1151);const i={id:"Integer",title:"Class: Integer",sidebar_label:"Integer",sidebar_position:0,custom_edit_url:null},d=void 0,c={id:"api/classes/Integer",title:"Class: Integer",description:"Hierarchy",source:"@site/docs/api/classes/Integer.md",sourceDirName:"api/classes",slug:"/api/classes/Integer",permalink:"/docs/api/classes/Integer",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"Integer",title:"Class: Integer",sidebar_label:"Integer",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"IA5String",permalink:"/docs/api/classes/IA5String"},next:{title:"Null",permalink:"/docs/api/classes/Null"}},t={},h=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Overrides",id:"overrides",level:4},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"valueBeforeDecodeView",id:"valuebeforedecodeview",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"valueBlock",id:"valueblock",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"NAME",id:"name-1",level:3},{value:"Overrides",id:"overrides-1",level:4},{value:"Accessors",id:"accessors",level:2},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Returns",id:"returns-1",level:4},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Methods",id:"methods",level:2},{value:"convertFromDER",id:"convertfromder",level:3},{value:"Returns",id:"returns-3",level:4},{value:"convertToDER",id:"converttoder",level:3},{value:"Returns",id:"returns-4",level:4},{value:"fromBER",id:"fromber",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-5",level:4},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"isEqual",id:"isequal",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-6",level:4},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"onAsciiEncoding",id:"onasciiencoding",level:3},{value:"Returns",id:"returns-7",level:4},{value:"Overrides",id:"overrides-2",level:4},{value:"toBER",id:"tober",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-8",level:4},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"toBigInt",id:"tobigint",level:3},{value:"Returns",id:"returns-9",level:4},{value:"toJSON",id:"tojson",level:3},{value:"Returns",id:"returns-10",level:4},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"toString",id:"tostring",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-11",level:4},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"blockName",id:"blockname",level:3},{value:"Returns",id:"returns-12",level:4},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"fromBigInt",id:"frombigint",level:3},{value:"Parameters",id:"parameters-6",level:4},{value:"Returns",id:"returns-13",level:4}];function o(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,l.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,n.jsxs)(r.ul,{children:["\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:(0,n.jsx)(r.code,{children:"BaseBlock"})}),"<",(0,n.jsx)(r.code,{children:"LocalIntegerValueBlock"}),", ",(0,n.jsx)(r.code,{children:"LocalIntegerValueBlockJson"}),">"]}),"\n",(0,n.jsxs)(r.p,{children:["\u21b3 ",(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"Integer"})})]}),"\n",(0,n.jsxs)(r.p,{children:["\u21b3\u21b3 ",(0,n.jsx)(r.a,{href:"/docs/api/classes/Enumerated",children:(0,n.jsx)(r.code,{children:"Enumerated"})})]}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(r.h2,{id:"constructors",children:"Constructors"}),"\n",(0,n.jsx)(r.h3,{id:"constructor",children:"constructor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"new Integer"}),"(",(0,n.jsx)(r.code,{children:"parameters?"}),"): ",(0,n.jsx)(r.a,{href:"/docs/api/classes/Integer",children:(0,n.jsx)(r.code,{children:"Integer"})})]}),"\n",(0,n.jsx)(r.h4,{id:"parameters",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(r.tbody,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"parameters"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.a,{href:"/docs/api/interfaces/IntegerParams",children:(0,n.jsx)(r.code,{children:"IntegerParams"})})})]})})]}),"\n",(0,n.jsx)(r.h4,{id:"returns",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"/docs/api/classes/Integer",children:(0,n.jsx)(r.code,{children:"Integer"})})}),"\n",(0,n.jsx)(r.h4,{id:"overrides",children:"Overrides"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#constructor",children:"constructor"})]}),"\n",(0,n.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,n.jsx)(r.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"blockLength"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#blocklength",children:"blockLength"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"error",children:"error"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"error"}),": ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#error",children:"error"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"idblock",children:"idBlock"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"idBlock"}),": ",(0,n.jsx)(r.code,{children:"LocalIdentificationBlock"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#idblock",children:"idBlock"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"lenBlock"}),": ",(0,n.jsx)(r.code,{children:"LocalLengthBlock"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#lenblock",children:"lenBlock"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"name",children:"name"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"name"}),": ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#name",children:"name"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"optional",children:"optional"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"optional"}),": ",(0,n.jsx)(r.code,{children:"boolean"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#optional",children:"optional"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"primitiveSchema"}),": ",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:(0,n.jsx)(r.code,{children:"BaseBlock"})}),"<",(0,n.jsx)(r.a,{href:"/docs/api/classes/ValueBlock",children:(0,n.jsx)(r.code,{children:"ValueBlock"})}),", ",(0,n.jsx)(r.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#primitiveschema",children:"primitiveSchema"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"valuebeforedecodeview",children:"valueBeforeDecodeView"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"valueBeforeDecodeView"}),": ",(0,n.jsx)(r.code,{children:"Uint8Array"})]}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"Since"})})}),"\n",(0,n.jsx)(r.p,{children:"3.0.0"}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#valuebeforedecodeview",children:"valueBeforeDecodeView"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"valueblock",children:"valueBlock"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"valueBlock"}),": ",(0,n.jsx)(r.code,{children:"LocalIntegerValueBlock"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#valueblock",children:"valueBlock"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"warnings",children:"warnings"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"warnings"}),": ",(0,n.jsx)(r.code,{children:"string"}),"[]"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#warnings",children:"warnings"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"name-1",children:"NAME"}),"\n",(0,n.jsxs)(r.p,{children:["\u25aa ",(0,n.jsx)(r.code,{children:"Static"})," ",(0,n.jsx)(r.strong,{children:"NAME"}),": ",(0,n.jsx)(r.code,{children:"string"})," = ",(0,n.jsx)(r.code,{children:'"INTEGER"'})]}),"\n",(0,n.jsx)(r.h4,{id:"overrides-1",children:"Overrides"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#name-1",children:"NAME"})]}),"\n",(0,n.jsx)(r.h2,{id:"accessors",children:"Accessors"}),"\n",(0,n.jsx)(r.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"get"})," ",(0,n.jsx)(r.strong,{children:"valueBeforeDecode"}),"(): ",(0,n.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-1",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,n.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"BaseBlock.valueBeforeDecode"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"set"})," ",(0,n.jsx)(r.strong,{children:"valueBeforeDecode"}),"(",(0,n.jsx)(r.code,{children:"value"}),"): ",(0,n.jsx)(r.code,{children:"void"})]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(r.tbody,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"value"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"ArrayBuffer"})})]})})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-2",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"void"})}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,n.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"BaseBlock.valueBeforeDecode"}),"\n",(0,n.jsx)(r.h2,{id:"methods",children:"Methods"}),"\n",(0,n.jsx)(r.h3,{id:"convertfromder",children:"convertFromDER"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"convertFromDER"}),"(): ",(0,n.jsx)(r.a,{href:"/docs/api/classes/Integer",children:(0,n.jsx)(r.code,{children:"Integer"})})]}),"\n",(0,n.jsx)(r.p,{children:"Convert current Integer value from DER to BER format"}),"\n",(0,n.jsx)(r.h4,{id:"returns-3",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"/docs/api/classes/Integer",children:(0,n.jsx)(r.code,{children:"Integer"})})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"converttoder",children:"convertToDER"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"convertToDER"}),"(): ",(0,n.jsx)(r.a,{href:"/docs/api/classes/Integer",children:(0,n.jsx)(r.code,{children:"Integer"})})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-4",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"/docs/api/classes/Integer",children:(0,n.jsx)(r.code,{children:"Integer"})})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"fromber",children:"fromBER"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"fromBER"}),"(",(0,n.jsx)(r.code,{children:"inputBuffer"}),", ",(0,n.jsx)(r.code,{children:"inputOffset"}),", ",(0,n.jsx)(r.code,{children:"inputLength"}),"): ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.p,{children:"Base function for converting block from BER encoded array of bytes"}),"\n",(0,n.jsx)(r.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"inputBuffer"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,n.jsx)(r.code,{children:"Uint8Array"})," | ",(0,n.jsx)(r.code,{children:"ArrayBuffer"})]}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:"ASN.1 BER encoded array"})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"inputOffset"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"number"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:"Offset in ASN.1 BER encoded array where decoding should be started"})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"inputLength"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"number"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:"Maximum length of array of bytes which can be using in this function"})]})]})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-5",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"number"})}),"\n",(0,n.jsx)(r.p,{children:"Offset after least decoded byte"}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#fromber",children:"fromBER"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"isequal",children:"isEqual"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"isEqual"}),"(",(0,n.jsx)(r.code,{children:"other"}),"): other is Integer"]}),"\n",(0,n.jsx)(r.p,{children:"Determines whether two object instances are equal"}),"\n",(0,n.jsx)(r.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,n.jsx)(r.tbody,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"other"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"unknown"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:"Object to compare with the current object"})]})})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-6",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:"other is Integer"}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#isequal",children:"isEqual"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"onasciiencoding",children:"onAsciiEncoding"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"onAsciiEncoding"}),"(): ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-7",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"string"})}),"\n",(0,n.jsx)(r.h4,{id:"overrides-2",children:"Overrides"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#onasciiencoding",children:"onAsciiEncoding"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"tober",children:"toBER"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"toBER"}),"(",(0,n.jsx)(r.code,{children:"sizeOnly?"}),", ",(0,n.jsx)(r.code,{children:"writer?"}),"): ",(0,n.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,n.jsx)(r.p,{children:"Encoding of current ASN.1 block into ASN.1 encoded array (BER rules)"}),"\n",(0,n.jsx)(r.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"sizeOnly?"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"boolean"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:"Flag that we need only a size of encoding, not a real array of bytes"})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"writer?"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.a,{href:"/docs/api/classes/ViewWriter",children:(0,n.jsx)(r.code,{children:"ViewWriter"})})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:"-"})]})]})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-8",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,n.jsx)(r.p,{children:"ASN.1 BER encoded array"}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#tober",children:"toBER"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"tobigint",children:"toBigInt"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"toBigInt"}),"(): ",(0,n.jsx)(r.code,{children:"bigint"})]}),"\n",(0,n.jsx)(r.p,{children:"Converts Integer into BigInt"}),"\n",(0,n.jsx)(r.h4,{id:"returns-9",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"bigint"})}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"Throws"})})}),"\n",(0,n.jsx)(r.p,{children:"Throws Error if BigInt is not supported"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"Since"})})}),"\n",(0,n.jsx)(r.p,{children:"3.0.0"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"tojson",children:"toJSON"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"toJSON"}),"(): ",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,n.jsx)(r.code,{children:"BaseBlockJson"})}),"<",(0,n.jsx)(r.code,{children:"LocalIntegerValueBlockJson"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"returns-10",children:"Returns"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,n.jsx)(r.code,{children:"BaseBlockJson"})}),"<",(0,n.jsx)(r.code,{children:"LocalIntegerValueBlockJson"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#tojson",children:"toJSON"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"tostring",children:"toString"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"toString"}),"(",(0,n.jsx)(r.code,{children:"encoding?"}),"): ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Default value"})]})}),(0,n.jsx)(r.tbody,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"encoding"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.a,{href:"../#stringencoding",children:(0,n.jsx)(r.code,{children:"StringEncoding"})})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:'"ascii"'})})]})})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-11",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"string"})}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#tostring",children:"toString"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"blockname",children:"blockName"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"blockName"}),"(): ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.p,{children:"Aux function, need to get a block name. Need to have it here for inheritance"}),"\n",(0,n.jsx)(r.h4,{id:"returns-12",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"string"})}),"\n",(0,n.jsx)(r.p,{children:"Returns name of the block"}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-17",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#blockname",children:"blockName"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"frombigint",children:"fromBigInt"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"fromBigInt"}),"(",(0,n.jsx)(r.code,{children:"value"}),"): ",(0,n.jsx)(r.a,{href:"/docs/api/classes/Integer",children:(0,n.jsx)(r.code,{children:"Integer"})})]}),"\n",(0,n.jsx)(r.p,{children:"Creates Integer from BigInt value"}),"\n",(0,n.jsx)(r.h4,{id:"parameters-6",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,n.jsx)(r.tbody,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"value"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,n.jsx)(r.code,{children:"string"})," | ",(0,n.jsx)(r.code,{children:"number"})," | ",(0,n.jsx)(r.code,{children:"bigint"})," | ",(0,n.jsx)(r.code,{children:"boolean"})]}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:"BigInt value"})]})})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-13",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"/docs/api/classes/Integer",children:(0,n.jsx)(r.code,{children:"Integer"})})}),"\n",(0,n.jsx)(r.p,{children:"ASN.1 Integer"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"Throws"})})}),"\n",(0,n.jsx)(r.p,{children:"Throws Error if BigInt is not supported"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"Since"})})}),"\n",(0,n.jsx)(r.p,{children:"3.0.0"})]})}function a(e={}){const{wrapper:r}={...(0,l.a)(),...e.components};return r?(0,n.jsx)(r,{...e,children:(0,n.jsx)(o,{...e})}):o(e)}},1151:(e,r,s)=>{s.d(r,{Z:()=>c,a:()=>d});var n=s(7294);const l={},i=n.createContext(l);function d(e){const r=n.useContext(i);return n.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function c(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(l):e.components||l:d(e.components),n.createElement(i.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/394c73fc.988ed41c.js b/assets/js/394c73fc.988ed41c.js new file mode 100644 index 0000000..83d85c6 --- /dev/null +++ b/assets/js/394c73fc.988ed41c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8067],{6969:(e,r,s)=>{s.r(r),s.d(r,{assets:()=>o,contentTitle:()=>i,default:()=>u,frontMatter:()=>n,metadata:()=>a,toc:()=>d});var t=s(5893),c=s(1151);const n={id:"CompareSchemaSuccess",title:"Interface: CompareSchemaSuccess",sidebar_label:"CompareSchemaSuccess",sidebar_position:0,custom_edit_url:null},i=void 0,a={id:"api/interfaces/CompareSchemaSuccess",title:"Interface: CompareSchemaSuccess",description:"Properties",source:"@site/docs/api/interfaces/CompareSchemaSuccess.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/CompareSchemaSuccess",permalink:"/docs/api/interfaces/CompareSchemaSuccess",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"CompareSchemaSuccess",title:"Interface: CompareSchemaSuccess",sidebar_label:"CompareSchemaSuccess",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"CompareSchemaFail",permalink:"/docs/api/interfaces/CompareSchemaFail"},next:{title:"ConstructedParams",permalink:"/docs/api/interfaces/ConstructedParams"}},o={},d=[{value:"Properties",id:"properties",level:2},{value:"result",id:"result",level:3},{value:"verified",id:"verified",level:3}];function l(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",hr:"hr",p:"p",strong:"strong",...(0,c.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,t.jsx)(r.h3,{id:"result",children:"result"}),"\n",(0,t.jsxs)(r.p,{children:["\u2022 ",(0,t.jsx)(r.strong,{children:"result"}),": ",(0,t.jsx)(r.a,{href:"../#asntype",children:(0,t.jsx)(r.code,{children:"AsnType"})})," & { ",(0,t.jsx)(r.code,{children:"[key: string]"}),": ",(0,t.jsx)(r.code,{children:"any"}),"; }"]}),"\n",(0,t.jsx)(r.hr,{}),"\n",(0,t.jsx)(r.h3,{id:"verified",children:"verified"}),"\n",(0,t.jsxs)(r.p,{children:["\u2022 ",(0,t.jsx)(r.strong,{children:"verified"}),": ",(0,t.jsx)(r.code,{children:"true"})]})]})}function u(e={}){const{wrapper:r}={...(0,c.a)(),...e.components};return r?(0,t.jsx)(r,{...e,children:(0,t.jsx)(l,{...e})}):l(e)}},1151:(e,r,s)=>{s.d(r,{Z:()=>a,a:()=>i});var t=s(7294);const c={},n=t.createContext(c);function i(e){const r=t.useContext(n);return t.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function a(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:i(e.components),t.createElement(n.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/3b8c55ea.37a9f190.js b/assets/js/3b8c55ea.37a9f190.js new file mode 100644 index 0000000..00e0e24 --- /dev/null +++ b/assets/js/3b8c55ea.37a9f190.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[3217],{6995:(n,t,e)=>{e.r(t),e.d(t,{assets:()=>c,contentTitle:()=>r,default:()=>u,frontMatter:()=>a,metadata:()=>i,toc:()=>l});var o=e(5893),s=e(1151);const a={},r="Installation",i={id:"installation",title:"Installation",description:"Run one of the following commands to add asn1js to your project:",source:"@site/docs/installation.md",sourceDirName:".",slug:"/installation",permalink:"/docs/installation",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"docs",next:{title:"Exports",permalink:"/docs/api/"}},c={},l=[];function d(n){const t={code:"code",h1:"h1",p:"p",pre:"pre",...(0,s.a)(),...n.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.h1,{id:"installation",children:"Installation"}),"\n",(0,o.jsxs)(t.p,{children:["Run one of the following commands to add ",(0,o.jsx)(t.code,{children:"asn1js"})," to your project:"]}),"\n",(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{className:"language-bash",metastring:"npm2yarn",children:"npm install asn1js\n"})})]})}function u(n={}){const{wrapper:t}={...(0,s.a)(),...n.components};return t?(0,o.jsx)(t,{...n,children:(0,o.jsx)(d,{...n})}):d(n)}},1151:(n,t,e)=>{e.d(t,{Z:()=>i,a:()=>r});var o=e(7294);const s={},a=o.createContext(s);function r(n){const t=o.useContext(a);return o.useMemo((function(){return"function"==typeof n?n(t):{...t,...n}}),[t,n])}function i(n){let t;return t=n.disableParentContext?"function"==typeof n.components?n.components(s):n.components||s:r(n.components),o.createElement(a.Provider,{value:t},n.children)}}}]); \ No newline at end of file diff --git a/assets/js/3d5a6bf6.b1cc0428.js b/assets/js/3d5a6bf6.b1cc0428.js new file mode 100644 index 0000000..b980106 --- /dev/null +++ b/assets/js/3d5a6bf6.b1cc0428.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[302],{2329:(e,r,i)=>{i.r(r),i.d(r,{assets:()=>h,contentTitle:()=>d,default:()=>o,frontMatter:()=>l,metadata:()=>c,toc:()=>t});var s=i(5893),n=i(1151);const l={id:"GeneralizedTime",title:"Class: GeneralizedTime",sidebar_label:"GeneralizedTime",sidebar_position:0,custom_edit_url:null},d=void 0,c={id:"api/classes/GeneralizedTime",title:"Class: GeneralizedTime",description:"Hierarchy",source:"@site/docs/api/classes/GeneralizedTime.md",sourceDirName:"api/classes",slug:"/api/classes/GeneralizedTime",permalink:"/docs/api/classes/GeneralizedTime",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"GeneralizedTime",title:"Class: GeneralizedTime",sidebar_label:"GeneralizedTime",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"GeneralString",permalink:"/docs/api/classes/GeneralString"},next:{title:"GraphicString",permalink:"/docs/api/classes/GraphicString"}},h={},t=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Overrides",id:"overrides",level:4},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"day",id:"day",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"hour",id:"hour",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"millisecond",id:"millisecond",level:3},{value:"minute",id:"minute",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"month",id:"month",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"second",id:"second",level:3},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"valueBeforeDecodeView",id:"valuebeforedecodeview",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"valueBlock",id:"valueblock",level:3},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"year",id:"year",level:3},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"NAME",id:"name-1",level:3},{value:"Overrides",id:"overrides-1",level:4},{value:"Accessors",id:"accessors",level:2},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Returns",id:"returns-1",level:4},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"Methods",id:"methods",level:2},{value:"fromBER",id:"fromber",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"fromBuffer",id:"frombuffer",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-4",level:4},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"fromDate",id:"fromdate",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-5",level:4},{value:"Overrides",id:"overrides-2",level:4},{value:"fromString",id:"fromstring",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-6",level:4},{value:"Overrides",id:"overrides-3",level:4},{value:"getValue",id:"getvalue",level:3},{value:"Returns",id:"returns-7",level:4},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"isEqual",id:"isequal",level:3},{value:"Parameters",id:"parameters-6",level:4},{value:"Returns",id:"returns-8",level:4},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"onAsciiEncoding",id:"onasciiencoding",level:3},{value:"Returns",id:"returns-9",level:4},{value:"Inherited from",id:"inherited-from-22",level:4},{value:"setValue",id:"setvalue",level:3},{value:"Parameters",id:"parameters-7",level:4},{value:"Returns",id:"returns-10",level:4},{value:"Inherited from",id:"inherited-from-23",level:4},{value:"toBER",id:"tober",level:3},{value:"Parameters",id:"parameters-8",level:4},{value:"Returns",id:"returns-11",level:4},{value:"Inherited from",id:"inherited-from-24",level:4},{value:"toBuffer",id:"tobuffer",level:3},{value:"Returns",id:"returns-12",level:4},{value:"Inherited from",id:"inherited-from-25",level:4},{value:"toDate",id:"todate",level:3},{value:"Returns",id:"returns-13",level:4},{value:"Overrides",id:"overrides-4",level:4},{value:"toJSON",id:"tojson",level:3},{value:"Returns",id:"returns-14",level:4},{value:"Overrides",id:"overrides-5",level:4},{value:"toString",id:"tostring",level:3},{value:"Parameters",id:"parameters-9",level:4},{value:"Returns",id:"returns-15",level:4},{value:"Overrides",id:"overrides-6",level:4},{value:"blockName",id:"blockname",level:3},{value:"Returns",id:"returns-16",level:4},{value:"Inherited from",id:"inherited-from-26",level:4}];function a(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,n.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,s.jsxs)(r.ul,{children:["\n",(0,s.jsxs)(r.li,{children:["\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime",children:(0,s.jsx)(r.code,{children:"UTCTime"})})}),"\n",(0,s.jsxs)(r.p,{children:["\u21b3 ",(0,s.jsx)(r.strong,{children:(0,s.jsx)(r.code,{children:"GeneralizedTime"})})]}),"\n"]}),"\n"]}),"\n",(0,s.jsx)(r.h2,{id:"constructors",children:"Constructors"}),"\n",(0,s.jsx)(r.h3,{id:"constructor",children:"constructor"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"new GeneralizedTime"}),"(",(0,s.jsx)(r.code,{children:"parameters?"}),"): ",(0,s.jsx)(r.a,{href:"/docs/api/classes/GeneralizedTime",children:(0,s.jsx)(r.code,{children:"GeneralizedTime"})})]}),"\n",(0,s.jsx)(r.h4,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,s.jsx)(r.tbody,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"parameters"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.a,{href:"/docs/api/interfaces/UTCTimeParams",children:(0,s.jsx)(r.code,{children:"UTCTimeParams"})})})]})})]}),"\n",(0,s.jsx)(r.h4,{id:"returns",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"/docs/api/classes/GeneralizedTime",children:(0,s.jsx)(r.code,{children:"GeneralizedTime"})})}),"\n",(0,s.jsx)(r.h4,{id:"overrides",children:"Overrides"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime",children:"UTCTime"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime#constructor",children:"constructor"})]}),"\n",(0,s.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,s.jsx)(r.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"blockLength"}),": ",(0,s.jsx)(r.code,{children:"number"})]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime",children:"UTCTime"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime#blocklength",children:"blockLength"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"day",children:"day"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"day"}),": ",(0,s.jsx)(r.code,{children:"number"})]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime",children:"UTCTime"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime#day",children:"day"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"error",children:"error"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"error"}),": ",(0,s.jsx)(r.code,{children:"string"})]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime",children:"UTCTime"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime#error",children:"error"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"hour",children:"hour"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"hour"}),": ",(0,s.jsx)(r.code,{children:"number"})]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime",children:"UTCTime"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime#hour",children:"hour"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"idblock",children:"idBlock"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"idBlock"}),": ",(0,s.jsx)(r.code,{children:"LocalIdentificationBlock"})]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime",children:"UTCTime"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime#idblock",children:"idBlock"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"lenBlock"}),": ",(0,s.jsx)(r.code,{children:"LocalLengthBlock"})]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime",children:"UTCTime"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime#lenblock",children:"lenBlock"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"millisecond",children:"millisecond"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"millisecond"}),": ",(0,s.jsx)(r.code,{children:"number"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"minute",children:"minute"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"minute"}),": ",(0,s.jsx)(r.code,{children:"number"})]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime",children:"UTCTime"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime#minute",children:"minute"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"month",children:"month"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"month"}),": ",(0,s.jsx)(r.code,{children:"number"})]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime",children:"UTCTime"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime#month",children:"month"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"name",children:"name"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"name"}),": ",(0,s.jsx)(r.code,{children:"string"})]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime",children:"UTCTime"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime#name",children:"name"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"optional",children:"optional"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"optional"}),": ",(0,s.jsx)(r.code,{children:"boolean"})]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime",children:"UTCTime"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime#optional",children:"optional"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.code,{children:"Optional"})," ",(0,s.jsx)(r.strong,{children:"primitiveSchema"}),": ",(0,s.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:(0,s.jsx)(r.code,{children:"BaseBlock"})}),"<",(0,s.jsx)(r.a,{href:"/docs/api/classes/ValueBlock",children:(0,s.jsx)(r.code,{children:"ValueBlock"})}),", ",(0,s.jsx)(r.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime",children:"UTCTime"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime#primitiveschema",children:"primitiveSchema"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"second",children:"second"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"second"}),": ",(0,s.jsx)(r.code,{children:"number"})]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime",children:"UTCTime"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime#second",children:"second"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"valuebeforedecodeview",children:"valueBeforeDecodeView"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"valueBeforeDecodeView"}),": ",(0,s.jsx)(r.code,{children:"Uint8Array"})]}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.strong,{children:(0,s.jsx)(r.code,{children:"Since"})})}),"\n",(0,s.jsx)(r.p,{children:"3.0.0"}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime",children:"UTCTime"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime#valuebeforedecodeview",children:"valueBeforeDecodeView"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"valueblock",children:"valueBlock"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"valueBlock"}),": ",(0,s.jsx)(r.code,{children:"LocalSimpleStringValueBlock"})]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime",children:"UTCTime"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime#valueblock",children:"valueBlock"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"warnings",children:"warnings"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"warnings"}),": ",(0,s.jsx)(r.code,{children:"string"}),"[]"]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime",children:"UTCTime"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime#warnings",children:"warnings"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"year",children:"year"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"year"}),": ",(0,s.jsx)(r.code,{children:"number"})]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime",children:"UTCTime"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime#year",children:"year"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"name-1",children:"NAME"}),"\n",(0,s.jsxs)(r.p,{children:["\u25aa ",(0,s.jsx)(r.code,{children:"Static"})," ",(0,s.jsx)(r.strong,{children:"NAME"}),": ",(0,s.jsx)(r.code,{children:"string"})," = ",(0,s.jsx)(r.code,{children:'"GeneralizedTime"'})]}),"\n",(0,s.jsx)(r.h4,{id:"overrides-1",children:"Overrides"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime",children:"UTCTime"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime#name-1",children:"NAME"})]}),"\n",(0,s.jsx)(r.h2,{id:"accessors",children:"Accessors"}),"\n",(0,s.jsx)(r.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.code,{children:"get"})," ",(0,s.jsx)(r.strong,{children:"valueBeforeDecode"}),"(): ",(0,s.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,s.jsx)(r.h4,{id:"returns-1",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.strong,{children:(0,s.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,s.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,s.jsx)(r.p,{children:"UTCTime.valueBeforeDecode"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.code,{children:"set"})," ",(0,s.jsx)(r.strong,{children:"valueBeforeDecode"}),"(",(0,s.jsx)(r.code,{children:"value"}),"): ",(0,s.jsx)(r.code,{children:"void"})]}),"\n",(0,s.jsx)(r.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,s.jsx)(r.tbody,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"value"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"ArrayBuffer"})})]})})]}),"\n",(0,s.jsx)(r.h4,{id:"returns-2",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.code,{children:"void"})}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.strong,{children:(0,s.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,s.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-17",children:"Inherited from"}),"\n",(0,s.jsx)(r.p,{children:"UTCTime.valueBeforeDecode"}),"\n",(0,s.jsx)(r.h2,{id:"methods",children:"Methods"}),"\n",(0,s.jsx)(r.h3,{id:"fromber",children:"fromBER"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"fromBER"}),"(",(0,s.jsx)(r.code,{children:"inputBuffer"}),", ",(0,s.jsx)(r.code,{children:"inputOffset"}),", ",(0,s.jsx)(r.code,{children:"inputLength"}),"): ",(0,s.jsx)(r.code,{children:"number"})]}),"\n",(0,s.jsx)(r.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,s.jsxs)(r.tbody,{children:[(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"inputBuffer"})}),(0,s.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,s.jsx)(r.code,{children:"Uint8Array"})," | ",(0,s.jsx)(r.code,{children:"ArrayBuffer"})]})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"inputOffset"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"number"})})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"inputLength"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"number"})})]})]})]}),"\n",(0,s.jsx)(r.h4,{id:"returns-3",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.code,{children:"number"})}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-18",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime",children:"UTCTime"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime#fromber",children:"fromBER"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"frombuffer",children:"fromBuffer"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"fromBuffer"}),"(",(0,s.jsx)(r.code,{children:"inputBuffer"}),"): ",(0,s.jsx)(r.code,{children:"void"})]}),"\n",(0,s.jsx)(r.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,s.jsx)(r.tbody,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"inputBuffer"})}),(0,s.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,s.jsx)(r.code,{children:"Uint8Array"})," | ",(0,s.jsx)(r.code,{children:"ArrayBuffer"})]})]})})]}),"\n",(0,s.jsx)(r.h4,{id:"returns-4",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.code,{children:"void"})}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-19",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime",children:"UTCTime"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime#frombuffer",children:"fromBuffer"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"fromdate",children:"fromDate"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"fromDate"}),"(",(0,s.jsx)(r.code,{children:"inputDate"}),"): ",(0,s.jsx)(r.code,{children:"void"})]}),"\n",(0,s.jsx)(r.p,{children:'Function converting "Date" object into ASN.1 internal string'}),"\n",(0,s.jsx)(r.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,s.jsx)(r.tbody,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"inputDate"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"Date"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:'JavaScript "Date" object'})]})})]}),"\n",(0,s.jsx)(r.h4,{id:"returns-5",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.code,{children:"void"})}),"\n",(0,s.jsx)(r.h4,{id:"overrides-2",children:"Overrides"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime",children:"UTCTime"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime#fromdate",children:"fromDate"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"fromstring",children:"fromString"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"fromString"}),"(",(0,s.jsx)(r.code,{children:"inputString"}),"): ",(0,s.jsx)(r.code,{children:"void"})]}),"\n",(0,s.jsx)(r.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,s.jsx)(r.tbody,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"inputString"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"string"})})]})})]}),"\n",(0,s.jsx)(r.h4,{id:"returns-6",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.code,{children:"void"})}),"\n",(0,s.jsx)(r.h4,{id:"overrides-3",children:"Overrides"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime",children:"UTCTime"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime#fromstring",children:"fromString"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"getvalue",children:"getValue"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"getValue"}),"(): ",(0,s.jsx)(r.code,{children:"string"})]}),"\n",(0,s.jsx)(r.p,{children:"String value"}),"\n",(0,s.jsx)(r.h4,{id:"returns-7",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.code,{children:"string"})}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.strong,{children:(0,s.jsx)(r.code,{children:"Since"})})}),"\n",(0,s.jsx)(r.p,{children:"3.0.0"}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-20",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime",children:"UTCTime"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime#getvalue",children:"getValue"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"isequal",children:"isEqual"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"isEqual"}),"(",(0,s.jsx)(r.code,{children:"other"}),"): other is GeneralizedTime"]}),"\n",(0,s.jsx)(r.p,{children:"Determines whether two object instances are equal"}),"\n",(0,s.jsx)(r.h4,{id:"parameters-6",children:"Parameters"}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,s.jsx)(r.tbody,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"other"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"unknown"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:"Object to compare with the current object"})]})})]}),"\n",(0,s.jsx)(r.h4,{id:"returns-8",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:"other is GeneralizedTime"}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-21",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime",children:"UTCTime"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime#isequal",children:"isEqual"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"onasciiencoding",children:"onAsciiEncoding"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"onAsciiEncoding"}),"(): ",(0,s.jsx)(r.code,{children:"string"})]}),"\n",(0,s.jsx)(r.h4,{id:"returns-9",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.code,{children:"string"})}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-22",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime",children:"UTCTime"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime#onasciiencoding",children:"onAsciiEncoding"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"setvalue",children:"setValue"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"setValue"}),"(",(0,s.jsx)(r.code,{children:"value"}),"): ",(0,s.jsx)(r.code,{children:"void"})]}),"\n",(0,s.jsx)(r.p,{children:"String value"}),"\n",(0,s.jsx)(r.h4,{id:"parameters-7",children:"Parameters"}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,s.jsx)(r.tbody,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"value"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"string"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:"String value"})]})})]}),"\n",(0,s.jsx)(r.h4,{id:"returns-10",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.code,{children:"void"})}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.strong,{children:(0,s.jsx)(r.code,{children:"Since"})})}),"\n",(0,s.jsx)(r.p,{children:"3.0.0"}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-23",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime",children:"UTCTime"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime#setvalue",children:"setValue"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"tober",children:"toBER"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"toBER"}),"(",(0,s.jsx)(r.code,{children:"sizeOnly?"}),", ",(0,s.jsx)(r.code,{children:"writer?"}),"): ",(0,s.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,s.jsx)(r.h4,{id:"parameters-8",children:"Parameters"}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,s.jsxs)(r.tbody,{children:[(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"sizeOnly?"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"boolean"})})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"writer?"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.a,{href:"/docs/api/classes/ViewWriter",children:(0,s.jsx)(r.code,{children:"ViewWriter"})})})]})]})]}),"\n",(0,s.jsx)(r.h4,{id:"returns-11",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-24",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime",children:"UTCTime"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime#tober",children:"toBER"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"tobuffer",children:"toBuffer"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"toBuffer"}),"(): ",(0,s.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,s.jsx)(r.p,{children:"Function converting ASN.1 internal string into ArrayBuffer"}),"\n",(0,s.jsx)(r.h4,{id:"returns-12",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-25",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime",children:"UTCTime"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime#tobuffer",children:"toBuffer"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"todate",children:"toDate"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"toDate"}),"(): ",(0,s.jsx)(r.code,{children:"Date"})]}),"\n",(0,s.jsx)(r.p,{children:"Converts a class object into the JavaScrip Date Object"}),"\n",(0,s.jsx)(r.h4,{id:"returns-13",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.code,{children:"Date"})}),"\n",(0,s.jsx)(r.p,{children:"Date object"}),"\n",(0,s.jsx)(r.h4,{id:"overrides-4",children:"Overrides"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime",children:"UTCTime"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime#todate",children:"toDate"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"tojson",children:"toJSON"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"toJSON"}),"(): ",(0,s.jsx)(r.a,{href:"/docs/api/interfaces/GeneralizedTimeJson",children:(0,s.jsx)(r.code,{children:"GeneralizedTimeJson"})})]}),"\n",(0,s.jsx)(r.h4,{id:"returns-14",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"/docs/api/interfaces/GeneralizedTimeJson",children:(0,s.jsx)(r.code,{children:"GeneralizedTimeJson"})})}),"\n",(0,s.jsx)(r.h4,{id:"overrides-5",children:"Overrides"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime",children:"UTCTime"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime#tojson",children:"toJSON"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"tostring",children:"toString"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"toString"}),"(",(0,s.jsx)(r.code,{children:"encoding?"}),"): ",(0,s.jsx)(r.code,{children:"string"})]}),"\n",(0,s.jsx)(r.h4,{id:"parameters-9",children:"Parameters"}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Default value"})]})}),(0,s.jsx)(r.tbody,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"encoding"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.a,{href:"../#datestringencoding",children:(0,s.jsx)(r.code,{children:"DateStringEncoding"})})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:'"iso"'})})]})})]}),"\n",(0,s.jsx)(r.h4,{id:"returns-15",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.code,{children:"string"})}),"\n",(0,s.jsx)(r.h4,{id:"overrides-6",children:"Overrides"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime",children:"UTCTime"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime#tostring",children:"toString"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"blockname",children:"blockName"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"blockName"}),"(): ",(0,s.jsx)(r.code,{children:"string"})]}),"\n",(0,s.jsx)(r.p,{children:"Aux function, need to get a block name. Need to have it here for inheritance"}),"\n",(0,s.jsx)(r.h4,{id:"returns-16",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.code,{children:"string"})}),"\n",(0,s.jsx)(r.p,{children:"Returns name of the block"}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-26",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime",children:"UTCTime"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/UTCTime#blockname",children:"blockName"})]})]})}function o(e={}){const{wrapper:r}={...(0,n.a)(),...e.components};return r?(0,s.jsx)(r,{...e,children:(0,s.jsx)(a,{...e})}):a(e)}},1151:(e,r,i)=>{i.d(r,{Z:()=>c,a:()=>d});var s=i(7294);const n={},l=s.createContext(n);function d(e){const r=s.useContext(l);return s.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function c(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:d(e.components),s.createElement(l.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/44975b2a.4af1d5a6.js b/assets/js/44975b2a.4af1d5a6.js new file mode 100644 index 0000000..91b7e40 --- /dev/null +++ b/assets/js/44975b2a.4af1d5a6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[5831],{994:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>o,contentTitle:()=>i,default:()=>m,frontMatter:()=>u,metadata:()=>l,toc:()=>p});var r=s(5893),n=s(1151),a=s(9286);const c="import * as asn1js from 'asn1js';\n\nvar sequence2 = new asn1js.Sequence({\n value: [\n new asn1js.Integer({ value: 1 }),\n new asn1js.Integer({\n isHexOnly: true,\n valueHex: integer_data\n }),\n ]\n});\n",u={},i="Create new ASN.1 structures by calling constructors with parameters",l={id:"examples/create-new-asn-structures-by-calling-constructors-with-parameters",title:"Create new ASN.1 structures by calling constructors with parameters",description:"",source:"@site/docs/examples/create-new-asn-structures-by-calling-constructors-with-parameters.mdx",sourceDirName:"examples",slug:"/examples/create-new-asn-structures-by-calling-constructors-with-parameters",permalink:"/docs/examples/create-new-asn-structures-by-calling-constructors-with-parameters",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"examples",next:{title:"Create new ASN.1 structures",permalink:"/docs/examples/create-new-asn-structures"}},o={},p=[];function w(e){const t={h1:"h1",...(0,n.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.h1,{id:"create-new-asn1-structures-by-calling-constructors-with-parameters",children:"Create new ASN.1 structures by calling constructors with parameters"}),"\n",(0,r.jsx)(a.Z,{language:"ts",children:c})]})}function m(e={}){const{wrapper:t}={...(0,n.a)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(w,{...e})}):w(e)}}}]); \ No newline at end of file diff --git a/assets/js/44cf8793.66f48c73.js b/assets/js/44cf8793.66f48c73.js new file mode 100644 index 0000000..6aedd29 --- /dev/null +++ b/assets/js/44cf8793.66f48c73.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2807],{6518:(e,s,r)=>{r.r(s),r.d(s,{assets:()=>t,contentTitle:()=>d,default:()=>a,frontMatter:()=>i,metadata:()=>c,toc:()=>h});var l=r(5893),n=r(1151);const i={id:"Null",title:"Class: Null",sidebar_label:"Null",sidebar_position:0,custom_edit_url:null},d=void 0,c={id:"api/classes/Null",title:"Class: Null",description:"Hierarchy",source:"@site/docs/api/classes/Null.md",sourceDirName:"api/classes",slug:"/api/classes/Null",permalink:"/docs/api/classes/Null",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"Null",title:"Class: Null",sidebar_label:"Null",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"Integer",permalink:"/docs/api/classes/Integer"},next:{title:"NumericString",permalink:"/docs/api/classes/NumericString"}},t={},h=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Overrides",id:"overrides",level:4},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"valueBeforeDecodeView",id:"valuebeforedecodeview",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"valueBlock",id:"valueblock",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"NAME",id:"name-1",level:3},{value:"Overrides",id:"overrides-1",level:4},{value:"Accessors",id:"accessors",level:2},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Returns",id:"returns-1",level:4},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Methods",id:"methods",level:2},{value:"fromBER",id:"fromber",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Overrides",id:"overrides-2",level:4},{value:"isEqual",id:"isequal",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-4",level:4},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"onAsciiEncoding",id:"onasciiencoding",level:3},{value:"Returns",id:"returns-5",level:4},{value:"Overrides",id:"overrides-3",level:4},{value:"toBER",id:"tober",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-6",level:4},{value:"Overrides",id:"overrides-4",level:4},{value:"toJSON",id:"tojson",level:3},{value:"Returns",id:"returns-7",level:4},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"toString",id:"tostring",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-8",level:4},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"blockName",id:"blockname",level:3},{value:"Returns",id:"returns-9",level:4},{value:"Inherited from",id:"inherited-from-15",level:4}];function o(e){const s={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,n.a)(),...e.components};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(s.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,l.jsxs)(s.ul,{children:["\n",(0,l.jsxs)(s.li,{children:["\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:(0,l.jsx)(s.code,{children:"BaseBlock"})}),"<",(0,l.jsx)(s.a,{href:"/docs/api/classes/ValueBlock",children:(0,l.jsx)(s.code,{children:"ValueBlock"})}),", ",(0,l.jsx)(s.a,{href:"../#valueblockjson",children:(0,l.jsx)(s.code,{children:"ValueBlockJson"})}),">"]}),"\n",(0,l.jsxs)(s.p,{children:["\u21b3 ",(0,l.jsx)(s.strong,{children:(0,l.jsx)(s.code,{children:"Null"})})]}),"\n"]}),"\n"]}),"\n",(0,l.jsx)(s.h2,{id:"constructors",children:"Constructors"}),"\n",(0,l.jsx)(s.h3,{id:"constructor",children:"constructor"}),"\n",(0,l.jsxs)(s.p,{children:["\u2022 ",(0,l.jsx)(s.strong,{children:"new Null"}),"(",(0,l.jsx)(s.code,{children:"parameters?"}),"): ",(0,l.jsx)(s.a,{href:"/docs/api/classes/Null",children:(0,l.jsx)(s.code,{children:"Null"})})]}),"\n",(0,l.jsx)(s.h4,{id:"parameters",children:"Parameters"}),"\n",(0,l.jsxs)(s.table,{children:[(0,l.jsx)(s.thead,{children:(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,l.jsx)(s.tbody,{children:(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"parameters"})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.a,{href:"/docs/api/interfaces/BaseBlockParams",children:(0,l.jsx)(s.code,{children:"BaseBlockParams"})})})]})})]}),"\n",(0,l.jsx)(s.h4,{id:"returns",children:"Returns"}),"\n",(0,l.jsx)(s.p,{children:(0,l.jsx)(s.a,{href:"/docs/api/classes/Null",children:(0,l.jsx)(s.code,{children:"Null"})})}),"\n",(0,l.jsx)(s.h4,{id:"overrides",children:"Overrides"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#constructor",children:"constructor"})]}),"\n",(0,l.jsx)(s.h2,{id:"properties",children:"Properties"}),"\n",(0,l.jsx)(s.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,l.jsxs)(s.p,{children:["\u2022 ",(0,l.jsx)(s.strong,{children:"blockLength"}),": ",(0,l.jsx)(s.code,{children:"number"})]}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#blocklength",children:"blockLength"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"error",children:"error"}),"\n",(0,l.jsxs)(s.p,{children:["\u2022 ",(0,l.jsx)(s.strong,{children:"error"}),": ",(0,l.jsx)(s.code,{children:"string"})]}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#error",children:"error"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"idblock",children:"idBlock"}),"\n",(0,l.jsxs)(s.p,{children:["\u2022 ",(0,l.jsx)(s.strong,{children:"idBlock"}),": ",(0,l.jsx)(s.code,{children:"LocalIdentificationBlock"})]}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#idblock",children:"idBlock"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,l.jsxs)(s.p,{children:["\u2022 ",(0,l.jsx)(s.strong,{children:"lenBlock"}),": ",(0,l.jsx)(s.code,{children:"LocalLengthBlock"})]}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#lenblock",children:"lenBlock"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"name",children:"name"}),"\n",(0,l.jsxs)(s.p,{children:["\u2022 ",(0,l.jsx)(s.strong,{children:"name"}),": ",(0,l.jsx)(s.code,{children:"string"})]}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#name",children:"name"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"optional",children:"optional"}),"\n",(0,l.jsxs)(s.p,{children:["\u2022 ",(0,l.jsx)(s.strong,{children:"optional"}),": ",(0,l.jsx)(s.code,{children:"boolean"})]}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#optional",children:"optional"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,l.jsxs)(s.p,{children:["\u2022 ",(0,l.jsx)(s.code,{children:"Optional"})," ",(0,l.jsx)(s.strong,{children:"primitiveSchema"}),": ",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:(0,l.jsx)(s.code,{children:"BaseBlock"})}),"<",(0,l.jsx)(s.a,{href:"/docs/api/classes/ValueBlock",children:(0,l.jsx)(s.code,{children:"ValueBlock"})}),", ",(0,l.jsx)(s.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#primitiveschema",children:"primitiveSchema"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"valuebeforedecodeview",children:"valueBeforeDecodeView"}),"\n",(0,l.jsxs)(s.p,{children:["\u2022 ",(0,l.jsx)(s.strong,{children:"valueBeforeDecodeView"}),": ",(0,l.jsx)(s.code,{children:"Uint8Array"})]}),"\n",(0,l.jsx)(s.p,{children:(0,l.jsx)(s.strong,{children:(0,l.jsx)(s.code,{children:"Since"})})}),"\n",(0,l.jsx)(s.p,{children:"3.0.0"}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#valuebeforedecodeview",children:"valueBeforeDecodeView"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"valueblock",children:"valueBlock"}),"\n",(0,l.jsxs)(s.p,{children:["\u2022 ",(0,l.jsx)(s.strong,{children:"valueBlock"}),": ",(0,l.jsx)(s.a,{href:"/docs/api/classes/ValueBlock",children:(0,l.jsx)(s.code,{children:"ValueBlock"})})]}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#valueblock",children:"valueBlock"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"warnings",children:"warnings"}),"\n",(0,l.jsxs)(s.p,{children:["\u2022 ",(0,l.jsx)(s.strong,{children:"warnings"}),": ",(0,l.jsx)(s.code,{children:"string"}),"[]"]}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#warnings",children:"warnings"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"name-1",children:"NAME"}),"\n",(0,l.jsxs)(s.p,{children:["\u25aa ",(0,l.jsx)(s.code,{children:"Static"})," ",(0,l.jsx)(s.strong,{children:"NAME"}),": ",(0,l.jsx)(s.code,{children:"string"})," = ",(0,l.jsx)(s.code,{children:'"NULL"'})]}),"\n",(0,l.jsx)(s.h4,{id:"overrides-1",children:"Overrides"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#name-1",children:"NAME"})]}),"\n",(0,l.jsx)(s.h2,{id:"accessors",children:"Accessors"}),"\n",(0,l.jsx)(s.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,l.jsxs)(s.p,{children:["\u2022 ",(0,l.jsx)(s.code,{children:"get"})," ",(0,l.jsx)(s.strong,{children:"valueBeforeDecode"}),"(): ",(0,l.jsx)(s.code,{children:"ArrayBuffer"})]}),"\n",(0,l.jsx)(s.h4,{id:"returns-1",children:"Returns"}),"\n",(0,l.jsx)(s.p,{children:(0,l.jsx)(s.code,{children:"ArrayBuffer"})}),"\n",(0,l.jsx)(s.p,{children:(0,l.jsx)(s.strong,{children:(0,l.jsx)(s.code,{children:"Deprecated"})})}),"\n",(0,l.jsx)(s.p,{children:"since version 3.0.0"}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,l.jsx)(s.p,{children:"BaseBlock.valueBeforeDecode"}),"\n",(0,l.jsxs)(s.p,{children:["\u2022 ",(0,l.jsx)(s.code,{children:"set"})," ",(0,l.jsx)(s.strong,{children:"valueBeforeDecode"}),"(",(0,l.jsx)(s.code,{children:"value"}),"): ",(0,l.jsx)(s.code,{children:"void"})]}),"\n",(0,l.jsx)(s.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,l.jsxs)(s.table,{children:[(0,l.jsx)(s.thead,{children:(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,l.jsx)(s.tbody,{children:(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"value"})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"ArrayBuffer"})})]})})]}),"\n",(0,l.jsx)(s.h4,{id:"returns-2",children:"Returns"}),"\n",(0,l.jsx)(s.p,{children:(0,l.jsx)(s.code,{children:"void"})}),"\n",(0,l.jsx)(s.p,{children:(0,l.jsx)(s.strong,{children:(0,l.jsx)(s.code,{children:"Deprecated"})})}),"\n",(0,l.jsx)(s.p,{children:"since version 3.0.0"}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,l.jsx)(s.p,{children:"BaseBlock.valueBeforeDecode"}),"\n",(0,l.jsx)(s.h2,{id:"methods",children:"Methods"}),"\n",(0,l.jsx)(s.h3,{id:"fromber",children:"fromBER"}),"\n",(0,l.jsxs)(s.p,{children:["\u25b8 ",(0,l.jsx)(s.strong,{children:"fromBER"}),"(",(0,l.jsx)(s.code,{children:"inputBuffer"}),", ",(0,l.jsx)(s.code,{children:"inputOffset"}),", ",(0,l.jsx)(s.code,{children:"inputLength"}),"): ",(0,l.jsx)(s.code,{children:"number"})]}),"\n",(0,l.jsx)(s.p,{children:"Base function for converting block from BER encoded array of bytes"}),"\n",(0,l.jsx)(s.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,l.jsxs)(s.table,{children:[(0,l.jsx)(s.thead,{children:(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Type"}),(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,l.jsxs)(s.tbody,{children:[(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"inputBuffer"})}),(0,l.jsxs)(s.td,{style:{textAlign:"left"},children:[(0,l.jsx)(s.code,{children:"Uint8Array"})," | ",(0,l.jsx)(s.code,{children:"ArrayBuffer"})]}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:"ASN.1 BER encoded array"})]}),(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"inputOffset"})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"number"})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:"Offset in ASN.1 BER encoded array where decoding should be started"})]}),(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"inputLength"})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"number"})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:"Maximum length of array of bytes which can be using in this function"})]})]})]}),"\n",(0,l.jsx)(s.h4,{id:"returns-3",children:"Returns"}),"\n",(0,l.jsx)(s.p,{children:(0,l.jsx)(s.code,{children:"number"})}),"\n",(0,l.jsx)(s.p,{children:"Offset after least decoded byte"}),"\n",(0,l.jsx)(s.h4,{id:"overrides-2",children:"Overrides"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#fromber",children:"fromBER"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"isequal",children:"isEqual"}),"\n",(0,l.jsxs)(s.p,{children:["\u25b8 ",(0,l.jsx)(s.strong,{children:"isEqual"}),"(",(0,l.jsx)(s.code,{children:"other"}),"): other is Null"]}),"\n",(0,l.jsx)(s.p,{children:"Determines whether two object instances are equal"}),"\n",(0,l.jsx)(s.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,l.jsxs)(s.table,{children:[(0,l.jsx)(s.thead,{children:(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Type"}),(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,l.jsx)(s.tbody,{children:(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"other"})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"unknown"})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:"Object to compare with the current object"})]})})]}),"\n",(0,l.jsx)(s.h4,{id:"returns-4",children:"Returns"}),"\n",(0,l.jsx)(s.p,{children:"other is Null"}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#isequal",children:"isEqual"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"onasciiencoding",children:"onAsciiEncoding"}),"\n",(0,l.jsxs)(s.p,{children:["\u25b8 ",(0,l.jsx)(s.strong,{children:"onAsciiEncoding"}),"(): ",(0,l.jsx)(s.code,{children:"string"})]}),"\n",(0,l.jsx)(s.h4,{id:"returns-5",children:"Returns"}),"\n",(0,l.jsx)(s.p,{children:(0,l.jsx)(s.code,{children:"string"})}),"\n",(0,l.jsx)(s.h4,{id:"overrides-3",children:"Overrides"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#onasciiencoding",children:"onAsciiEncoding"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"tober",children:"toBER"}),"\n",(0,l.jsxs)(s.p,{children:["\u25b8 ",(0,l.jsx)(s.strong,{children:"toBER"}),"(",(0,l.jsx)(s.code,{children:"sizeOnly?"}),", ",(0,l.jsx)(s.code,{children:"writer?"}),"): ",(0,l.jsx)(s.code,{children:"ArrayBuffer"})]}),"\n",(0,l.jsx)(s.p,{children:"Encoding of current ASN.1 block into ASN.1 encoded array (BER rules)"}),"\n",(0,l.jsx)(s.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,l.jsxs)(s.table,{children:[(0,l.jsx)(s.thead,{children:(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Type"}),(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,l.jsxs)(s.tbody,{children:[(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"sizeOnly?"})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"boolean"})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:"Flag that we need only a size of encoding, not a real array of bytes"})]}),(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"writer?"})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.a,{href:"/docs/api/classes/ViewWriter",children:(0,l.jsx)(s.code,{children:"ViewWriter"})})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:"-"})]})]})]}),"\n",(0,l.jsx)(s.h4,{id:"returns-6",children:"Returns"}),"\n",(0,l.jsx)(s.p,{children:(0,l.jsx)(s.code,{children:"ArrayBuffer"})}),"\n",(0,l.jsx)(s.p,{children:"ASN.1 BER encoded array"}),"\n",(0,l.jsx)(s.h4,{id:"overrides-4",children:"Overrides"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#tober",children:"toBER"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"tojson",children:"toJSON"}),"\n",(0,l.jsxs)(s.p,{children:["\u25b8 ",(0,l.jsx)(s.strong,{children:"toJSON"}),"(): ",(0,l.jsx)(s.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,l.jsx)(s.code,{children:"BaseBlockJson"})}),"<",(0,l.jsx)(s.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,l.jsx)(s.h4,{id:"returns-7",children:"Returns"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,l.jsx)(s.code,{children:"BaseBlockJson"})}),"<",(0,l.jsx)(s.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#tojson",children:"toJSON"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"tostring",children:"toString"}),"\n",(0,l.jsxs)(s.p,{children:["\u25b8 ",(0,l.jsx)(s.strong,{children:"toString"}),"(",(0,l.jsx)(s.code,{children:"encoding?"}),"): ",(0,l.jsx)(s.code,{children:"string"})]}),"\n",(0,l.jsx)(s.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,l.jsxs)(s.table,{children:[(0,l.jsx)(s.thead,{children:(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Type"}),(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Default value"})]})}),(0,l.jsx)(s.tbody,{children:(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"encoding"})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.a,{href:"../#stringencoding",children:(0,l.jsx)(s.code,{children:"StringEncoding"})})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:'"ascii"'})})]})})]}),"\n",(0,l.jsx)(s.h4,{id:"returns-8",children:"Returns"}),"\n",(0,l.jsx)(s.p,{children:(0,l.jsx)(s.code,{children:"string"})}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#tostring",children:"toString"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"blockname",children:"blockName"}),"\n",(0,l.jsxs)(s.p,{children:["\u25b8 ",(0,l.jsx)(s.strong,{children:"blockName"}),"(): ",(0,l.jsx)(s.code,{children:"string"})]}),"\n",(0,l.jsx)(s.p,{children:"Aux function, need to get a block name. Need to have it here for inheritance"}),"\n",(0,l.jsx)(s.h4,{id:"returns-9",children:"Returns"}),"\n",(0,l.jsx)(s.p,{children:(0,l.jsx)(s.code,{children:"string"})}),"\n",(0,l.jsx)(s.p,{children:"Returns name of the block"}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#blockname",children:"blockName"})]})]})}function a(e={}){const{wrapper:s}={...(0,n.a)(),...e.components};return s?(0,l.jsx)(s,{...e,children:(0,l.jsx)(o,{...e})}):o(e)}},1151:(e,s,r)=>{r.d(s,{Z:()=>c,a:()=>d});var l=r(7294);const n={},i=l.createContext(n);function d(e){const s=l.useContext(i);return l.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function c(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:d(e.components),l.createElement(i.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/4691bf8d.6283969a.js b/assets/js/4691bf8d.6283969a.js new file mode 100644 index 0000000..0e6b86f --- /dev/null +++ b/assets/js/4691bf8d.6283969a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[3333],{4071:(e,r,i)=>{i.r(r),i.d(r,{assets:()=>o,contentTitle:()=>a,default:()=>t,frontMatter:()=>s,metadata:()=>c,toc:()=>d});var n=i(5893),l=i(1151);const s={id:"BooleanParams",title:"Interface: BooleanParams",sidebar_label:"BooleanParams",sidebar_position:0,custom_edit_url:null},a=void 0,c={id:"api/interfaces/BooleanParams",title:"Interface: BooleanParams",description:"Hierarchy",source:"@site/docs/api/interfaces/BooleanParams.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/BooleanParams",permalink:"/docs/api/interfaces/BooleanParams",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"BooleanParams",title:"Interface: BooleanParams",sidebar_label:"BooleanParams",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"BitStringParams",permalink:"/docs/api/interfaces/BitStringParams"},next:{title:"CompareSchemaFail",permalink:"/docs/api/interfaces/CompareSchemaFail"}},o={},d=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"isHexOnly",id:"ishexonly",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"value",id:"value",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"valueHex",id:"valuehex",level:3},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-11",level:4}];function h(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,l.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,n.jsxs)(r.ul,{children:["\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:(0,n.jsx)(r.code,{children:"BaseBlockParams"})})}),"\n"]}),"\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"LocalBooleanValueBlockParams"})}),"\n",(0,n.jsxs)(r.p,{children:["\u21b3 ",(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"BooleanParams"})})]}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,n.jsx)(r.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"blockLength"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#blocklength",children:"blockLength"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"error",children:"error"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"error"}),": ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#error",children:"error"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"idblock",children:"idBlock"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"idBlock"}),": ",(0,n.jsx)(r.code,{children:"Partial"}),"<",(0,n.jsx)(r.code,{children:"ILocalIdentificationBlock"}),"> & ",(0,n.jsx)(r.code,{children:"Partial"}),"<",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/IHexBlock",children:(0,n.jsx)(r.code,{children:"IHexBlock"})}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#idblock",children:"idBlock"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"ishexonly",children:"isHexOnly"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"isHexOnly"}),": ",(0,n.jsx)(r.code,{children:"boolean"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"LocalBooleanValueBlockParams.isHexOnly"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"lenBlock"}),": ",(0,n.jsx)(r.code,{children:"Partial"}),"<",(0,n.jsx)(r.code,{children:"ILocalLengthBlock"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#lenblock",children:"lenBlock"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"name",children:"name"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"name"}),": ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#name",children:"name"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"optional",children:"optional"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"optional"}),": ",(0,n.jsx)(r.code,{children:"boolean"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#optional",children:"optional"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"primitiveSchema"}),": ",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:(0,n.jsx)(r.code,{children:"BaseBlock"})}),"<",(0,n.jsx)(r.a,{href:"/docs/api/classes/ValueBlock",children:(0,n.jsx)(r.code,{children:"ValueBlock"})}),", ",(0,n.jsx)(r.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#primitiveschema",children:"primitiveSchema"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"value",children:"value"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"value"}),": ",(0,n.jsx)(r.code,{children:"boolean"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"LocalBooleanValueBlockParams.value"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"valueBeforeDecode"}),": ",(0,n.jsx)(r.code,{children:"BufferSource"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#valuebeforedecode",children:"valueBeforeDecode"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"valuehex",children:"valueHex"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"valueHex"}),": ",(0,n.jsx)(r.code,{children:"BufferSource"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"LocalBooleanValueBlockParams.valueHex"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"warnings",children:"warnings"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"warnings"}),": ",(0,n.jsx)(r.code,{children:"string"}),"[]"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#warnings",children:"warnings"})]})]})}function t(e={}){const{wrapper:r}={...(0,l.a)(),...e.components};return r?(0,n.jsx)(r,{...e,children:(0,n.jsx)(h,{...e})}):h(e)}},1151:(e,r,i)=>{i.d(r,{Z:()=>c,a:()=>a});var n=i(7294);const l={},s=n.createContext(l);function a(e){const r=n.useContext(s);return n.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function c(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(l):e.components||l:a(e.components),n.createElement(s.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/4ba0dc1c.e4f22e3f.js b/assets/js/4ba0dc1c.e4f22e3f.js new file mode 100644 index 0000000..b87831e --- /dev/null +++ b/assets/js/4ba0dc1c.e4f22e3f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8370],{7972:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>c,contentTitle:()=>s,default:()=>x,frontMatter:()=>d,metadata:()=>t,toc:()=>h});var i=n(5893),l=n(1151);const d={id:"GraphicString",title:"Class: GraphicString",sidebar_label:"GraphicString",sidebar_position:0,custom_edit_url:null},s=void 0,t={id:"api/classes/GraphicString",title:"Class: GraphicString",description:"Hierarchy",source:"@site/docs/api/classes/GraphicString.md",sourceDirName:"api/classes",slug:"/api/classes/GraphicString",permalink:"/docs/api/classes/GraphicString",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"GraphicString",title:"Class: GraphicString",sidebar_label:"GraphicString",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"GeneralizedTime",permalink:"/docs/api/classes/GeneralizedTime"},next:{title:"IA5String",permalink:"/docs/api/classes/IA5String"}},c={},h=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Overrides",id:"overrides",level:4},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"valueBeforeDecodeView",id:"valuebeforedecodeview",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"valueBlock",id:"valueblock",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"NAME",id:"name-1",level:3},{value:"Overrides",id:"overrides-1",level:4},{value:"Accessors",id:"accessors",level:2},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Returns",id:"returns-1",level:4},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Methods",id:"methods",level:2},{value:"fromBER",id:"fromber",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"fromBuffer",id:"frombuffer",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-4",level:4},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"fromString",id:"fromstring",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-5",level:4},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"getValue",id:"getvalue",level:3},{value:"Returns",id:"returns-6",level:4},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"isEqual",id:"isequal",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-7",level:4},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"onAsciiEncoding",id:"onasciiencoding",level:3},{value:"Returns",id:"returns-8",level:4},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"setValue",id:"setvalue",level:3},{value:"Parameters",id:"parameters-6",level:4},{value:"Returns",id:"returns-9",level:4},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"toBER",id:"tober",level:3},{value:"Parameters",id:"parameters-7",level:4},{value:"Returns",id:"returns-10",level:4},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"toJSON",id:"tojson",level:3},{value:"Returns",id:"returns-11",level:4},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"toString",id:"tostring",level:3},{value:"Parameters",id:"parameters-8",level:4},{value:"Returns",id:"returns-12",level:4},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"blockName",id:"blockname",level:3},{value:"Returns",id:"returns-13",level:4},{value:"Inherited from",id:"inherited-from-22",level:4}];function o(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,l.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,i.jsxs)(r.ul,{children:["\n",(0,i.jsxs)(r.li,{children:["\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"LocalSimpleStringBlock"})}),"\n",(0,i.jsxs)(r.p,{children:["\u21b3 ",(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"GraphicString"})})]}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(r.h2,{id:"constructors",children:"Constructors"}),"\n",(0,i.jsx)(r.h3,{id:"constructor",children:"constructor"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"new GraphicString"}),"(",(0,i.jsx)(r.code,{children:"parameters?"}),"): ",(0,i.jsx)(r.a,{href:"/docs/api/classes/GraphicString",children:(0,i.jsx)(r.code,{children:"GraphicString"})})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"parameters"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"LocalSimpleStringBlockParams"})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.a,{href:"/docs/api/classes/GraphicString",children:(0,i.jsx)(r.code,{children:"GraphicString"})})}),"\n",(0,i.jsx)(r.h4,{id:"overrides",children:"Overrides"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.constructor"}),"\n",(0,i.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,i.jsx)(r.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"blockLength"}),": ",(0,i.jsx)(r.code,{children:"number"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.blockLength"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"error",children:"error"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"error"}),": ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.error"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"idblock",children:"idBlock"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"idBlock"}),": ",(0,i.jsx)(r.code,{children:"LocalIdentificationBlock"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.idBlock"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"lenBlock"}),": ",(0,i.jsx)(r.code,{children:"LocalLengthBlock"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.lenBlock"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"name",children:"name"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"name"}),": ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.name"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"optional",children:"optional"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"optional"}),": ",(0,i.jsx)(r.code,{children:"boolean"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.optional"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.code,{children:"Optional"})," ",(0,i.jsx)(r.strong,{children:"primitiveSchema"}),": ",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:(0,i.jsx)(r.code,{children:"BaseBlock"})}),"<",(0,i.jsx)(r.a,{href:"/docs/api/classes/ValueBlock",children:(0,i.jsx)(r.code,{children:"ValueBlock"})}),", ",(0,i.jsx)(r.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.primitiveSchema"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"valuebeforedecodeview",children:"valueBeforeDecodeView"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"valueBeforeDecodeView"}),": ",(0,i.jsx)(r.code,{children:"Uint8Array"})]}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Since"})})}),"\n",(0,i.jsx)(r.p,{children:"3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.valueBeforeDecodeView"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"valueblock",children:"valueBlock"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"valueBlock"}),": ",(0,i.jsx)(r.code,{children:"LocalSimpleStringValueBlock"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.valueBlock"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"warnings",children:"warnings"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"warnings"}),": ",(0,i.jsx)(r.code,{children:"string"}),"[]"]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.warnings"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"name-1",children:"NAME"}),"\n",(0,i.jsxs)(r.p,{children:["\u25aa ",(0,i.jsx)(r.code,{children:"Static"})," ",(0,i.jsx)(r.strong,{children:"NAME"}),": ",(0,i.jsx)(r.code,{children:"string"})," = ",(0,i.jsx)(r.code,{children:'"GraphicString"'})]}),"\n",(0,i.jsx)(r.h4,{id:"overrides-1",children:"Overrides"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.NAME"}),"\n",(0,i.jsx)(r.h2,{id:"accessors",children:"Accessors"}),"\n",(0,i.jsx)(r.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.code,{children:"get"})," ",(0,i.jsx)(r.strong,{children:"valueBeforeDecode"}),"(): ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-1",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,i.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.valueBeforeDecode"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.code,{children:"set"})," ",(0,i.jsx)(r.strong,{children:"valueBeforeDecode"}),"(",(0,i.jsx)(r.code,{children:"value"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"value"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"ArrayBuffer"})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-2",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,i.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.valueBeforeDecode"}),"\n",(0,i.jsx)(r.h2,{id:"methods",children:"Methods"}),"\n",(0,i.jsx)(r.h3,{id:"fromber",children:"fromBER"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"fromBER"}),"(",(0,i.jsx)(r.code,{children:"inputBuffer"}),", ",(0,i.jsx)(r.code,{children:"inputOffset"}),", ",(0,i.jsx)(r.code,{children:"inputLength"}),"): ",(0,i.jsx)(r.code,{children:"number"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsxs)(r.tbody,{children:[(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputBuffer"})}),(0,i.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,i.jsx)(r.code,{children:"Uint8Array"})," | ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputOffset"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"number"})})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputLength"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"number"})})]})]})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-3",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"number"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.fromBER"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"frombuffer",children:"fromBuffer"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"fromBuffer"}),"(",(0,i.jsx)(r.code,{children:"inputBuffer"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputBuffer"})}),(0,i.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,i.jsx)(r.code,{children:"Uint8Array"})," | ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-4",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.fromBuffer"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"fromstring",children:"fromString"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"fromString"}),"(",(0,i.jsx)(r.code,{children:"inputString"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputString"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"string"})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-5",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.fromString"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"getvalue",children:"getValue"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"getValue"}),"(): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.p,{children:"String value"}),"\n",(0,i.jsx)(r.h4,{id:"returns-6",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Since"})})}),"\n",(0,i.jsx)(r.p,{children:"3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.getValue"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"isequal",children:"isEqual"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"isEqual"}),"(",(0,i.jsx)(r.code,{children:"other"}),"): other is GraphicString"]}),"\n",(0,i.jsx)(r.p,{children:"Determines whether two object instances are equal"}),"\n",(0,i.jsx)(r.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"other"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"unknown"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:"Object to compare with the current object"})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-7",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:"other is GraphicString"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.isEqual"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"onasciiencoding",children:"onAsciiEncoding"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"onAsciiEncoding"}),"(): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-8",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-17",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.onAsciiEncoding"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"setvalue",children:"setValue"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"setValue"}),"(",(0,i.jsx)(r.code,{children:"value"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.p,{children:"String value"}),"\n",(0,i.jsx)(r.h4,{id:"parameters-6",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"value"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"string"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:"String value"})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-9",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Since"})})}),"\n",(0,i.jsx)(r.p,{children:"3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-18",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.setValue"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"tober",children:"toBER"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"toBER"}),"(",(0,i.jsx)(r.code,{children:"sizeOnly?"}),", ",(0,i.jsx)(r.code,{children:"writer?"}),"): ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-7",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsxs)(r.tbody,{children:[(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"sizeOnly?"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"boolean"})})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"writer?"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.a,{href:"/docs/api/classes/ViewWriter",children:(0,i.jsx)(r.code,{children:"ViewWriter"})})})]})]})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-10",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-19",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.toBER"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"tojson",children:"toJSON"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"toJSON"}),"(): ",(0,i.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,i.jsx)(r.code,{children:"BaseBlockJson"})}),"<",(0,i.jsx)(r.code,{children:"LocalStringValueBlockJson"}),">"]}),"\n",(0,i.jsx)(r.h4,{id:"returns-11",children:"Returns"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,i.jsx)(r.code,{children:"BaseBlockJson"})}),"<",(0,i.jsx)(r.code,{children:"LocalStringValueBlockJson"}),">"]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-20",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.toJSON"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"tostring",children:"toString"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"toString"}),"(",(0,i.jsx)(r.code,{children:"encoding?"}),"): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-8",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Default value"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"encoding"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.a,{href:"../#stringencoding",children:(0,i.jsx)(r.code,{children:"StringEncoding"})})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:'"ascii"'})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-12",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-21",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.toString"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"blockname",children:"blockName"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"blockName"}),"(): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.p,{children:"Aux function, need to get a block name. Need to have it here for inheritance"}),"\n",(0,i.jsx)(r.h4,{id:"returns-13",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.p,{children:"Returns name of the block"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-22",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.blockName"})]})}function x(e={}){const{wrapper:r}={...(0,l.a)(),...e.components};return r?(0,i.jsx)(r,{...e,children:(0,i.jsx)(o,{...e})}):o(e)}},1151:(e,r,n)=>{n.d(r,{Z:()=>t,a:()=>s});var i=n(7294);const l={},d=i.createContext(l);function s(e){const r=i.useContext(d);return i.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function t(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(l):e.components||l:s(e.components),i.createElement(d.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/4c16353d.6028b784.js b/assets/js/4c16353d.6028b784.js new file mode 100644 index 0000000..7b105e6 --- /dev/null +++ b/assets/js/4c16353d.6028b784.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8547],{1023:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>c,contentTitle:()=>d,default:()=>a,frontMatter:()=>l,metadata:()=>t,toc:()=>h});var s=n(5893),i=n(1151);const l={id:"Enumerated",title:"Class: Enumerated",sidebar_label:"Enumerated",sidebar_position:0,custom_edit_url:null},d=void 0,t={id:"api/classes/Enumerated",title:"Class: Enumerated",description:"Hierarchy",source:"@site/docs/api/classes/Enumerated.md",sourceDirName:"api/classes",slug:"/api/classes/Enumerated",permalink:"/docs/api/classes/Enumerated",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"Enumerated",title:"Class: Enumerated",sidebar_label:"Enumerated",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"EndOfContent",permalink:"/docs/api/classes/EndOfContent"},next:{title:"GeneralString",permalink:"/docs/api/classes/GeneralString"}},c={},h=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Overrides",id:"overrides",level:4},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"valueBeforeDecodeView",id:"valuebeforedecodeview",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"valueBlock",id:"valueblock",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"NAME",id:"name-1",level:3},{value:"Overrides",id:"overrides-1",level:4},{value:"Accessors",id:"accessors",level:2},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Returns",id:"returns-1",level:4},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Methods",id:"methods",level:2},{value:"convertFromDER",id:"convertfromder",level:3},{value:"Returns",id:"returns-3",level:4},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"convertToDER",id:"converttoder",level:3},{value:"Returns",id:"returns-4",level:4},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"fromBER",id:"fromber",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-5",level:4},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"isEqual",id:"isequal",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-6",level:4},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"onAsciiEncoding",id:"onasciiencoding",level:3},{value:"Returns",id:"returns-7",level:4},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"toBER",id:"tober",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-8",level:4},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"toBigInt",id:"tobigint",level:3},{value:"Returns",id:"returns-9",level:4},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"toJSON",id:"tojson",level:3},{value:"Returns",id:"returns-10",level:4},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"toString",id:"tostring",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-11",level:4},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"blockName",id:"blockname",level:3},{value:"Returns",id:"returns-12",level:4},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"fromBigInt",id:"frombigint",level:3},{value:"Parameters",id:"parameters-6",level:4},{value:"Returns",id:"returns-13",level:4},{value:"Inherited from",id:"inherited-from-22",level:4}];function o(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,s.jsxs)(r.ul,{children:["\n",(0,s.jsxs)(r.li,{children:["\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer",children:(0,s.jsx)(r.code,{children:"Integer"})})}),"\n",(0,s.jsxs)(r.p,{children:["\u21b3 ",(0,s.jsx)(r.strong,{children:(0,s.jsx)(r.code,{children:"Enumerated"})})]}),"\n"]}),"\n"]}),"\n",(0,s.jsx)(r.h2,{id:"constructors",children:"Constructors"}),"\n",(0,s.jsx)(r.h3,{id:"constructor",children:"constructor"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"new Enumerated"}),"(",(0,s.jsx)(r.code,{children:"parameters?"}),"): ",(0,s.jsx)(r.a,{href:"/docs/api/classes/Enumerated",children:(0,s.jsx)(r.code,{children:"Enumerated"})})]}),"\n",(0,s.jsx)(r.h4,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,s.jsx)(r.tbody,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"parameters"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.a,{href:"/docs/api/interfaces/IntegerParams",children:(0,s.jsx)(r.code,{children:"IntegerParams"})})})]})})]}),"\n",(0,s.jsx)(r.h4,{id:"returns",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"/docs/api/classes/Enumerated",children:(0,s.jsx)(r.code,{children:"Enumerated"})})}),"\n",(0,s.jsx)(r.h4,{id:"overrides",children:"Overrides"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer",children:"Integer"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer#constructor",children:"constructor"})]}),"\n",(0,s.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,s.jsx)(r.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"blockLength"}),": ",(0,s.jsx)(r.code,{children:"number"})]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer",children:"Integer"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer#blocklength",children:"blockLength"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"error",children:"error"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"error"}),": ",(0,s.jsx)(r.code,{children:"string"})]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer",children:"Integer"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer#error",children:"error"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"idblock",children:"idBlock"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"idBlock"}),": ",(0,s.jsx)(r.code,{children:"LocalIdentificationBlock"})]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer",children:"Integer"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer#idblock",children:"idBlock"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"lenBlock"}),": ",(0,s.jsx)(r.code,{children:"LocalLengthBlock"})]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer",children:"Integer"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer#lenblock",children:"lenBlock"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"name",children:"name"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"name"}),": ",(0,s.jsx)(r.code,{children:"string"})]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer",children:"Integer"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer#name",children:"name"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"optional",children:"optional"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"optional"}),": ",(0,s.jsx)(r.code,{children:"boolean"})]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer",children:"Integer"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer#optional",children:"optional"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.code,{children:"Optional"})," ",(0,s.jsx)(r.strong,{children:"primitiveSchema"}),": ",(0,s.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:(0,s.jsx)(r.code,{children:"BaseBlock"})}),"<",(0,s.jsx)(r.a,{href:"/docs/api/classes/ValueBlock",children:(0,s.jsx)(r.code,{children:"ValueBlock"})}),", ",(0,s.jsx)(r.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer",children:"Integer"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer#primitiveschema",children:"primitiveSchema"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"valuebeforedecodeview",children:"valueBeforeDecodeView"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"valueBeforeDecodeView"}),": ",(0,s.jsx)(r.code,{children:"Uint8Array"})]}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.strong,{children:(0,s.jsx)(r.code,{children:"Since"})})}),"\n",(0,s.jsx)(r.p,{children:"3.0.0"}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer",children:"Integer"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer#valuebeforedecodeview",children:"valueBeforeDecodeView"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"valueblock",children:"valueBlock"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"valueBlock"}),": ",(0,s.jsx)(r.code,{children:"LocalIntegerValueBlock"})]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer",children:"Integer"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer#valueblock",children:"valueBlock"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"warnings",children:"warnings"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"warnings"}),": ",(0,s.jsx)(r.code,{children:"string"}),"[]"]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer",children:"Integer"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer#warnings",children:"warnings"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"name-1",children:"NAME"}),"\n",(0,s.jsxs)(r.p,{children:["\u25aa ",(0,s.jsx)(r.code,{children:"Static"})," ",(0,s.jsx)(r.strong,{children:"NAME"}),": ",(0,s.jsx)(r.code,{children:"string"})," = ",(0,s.jsx)(r.code,{children:'"ENUMERATED"'})]}),"\n",(0,s.jsx)(r.h4,{id:"overrides-1",children:"Overrides"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer",children:"Integer"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer#name-1",children:"NAME"})]}),"\n",(0,s.jsx)(r.h2,{id:"accessors",children:"Accessors"}),"\n",(0,s.jsx)(r.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.code,{children:"get"})," ",(0,s.jsx)(r.strong,{children:"valueBeforeDecode"}),"(): ",(0,s.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,s.jsx)(r.h4,{id:"returns-1",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.strong,{children:(0,s.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,s.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,s.jsx)(r.p,{children:"Integer.valueBeforeDecode"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.code,{children:"set"})," ",(0,s.jsx)(r.strong,{children:"valueBeforeDecode"}),"(",(0,s.jsx)(r.code,{children:"value"}),"): ",(0,s.jsx)(r.code,{children:"void"})]}),"\n",(0,s.jsx)(r.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,s.jsx)(r.tbody,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"value"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"ArrayBuffer"})})]})})]}),"\n",(0,s.jsx)(r.h4,{id:"returns-2",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.code,{children:"void"})}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.strong,{children:(0,s.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,s.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,s.jsx)(r.p,{children:"Integer.valueBeforeDecode"}),"\n",(0,s.jsx)(r.h2,{id:"methods",children:"Methods"}),"\n",(0,s.jsx)(r.h3,{id:"convertfromder",children:"convertFromDER"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"convertFromDER"}),"(): ",(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer",children:(0,s.jsx)(r.code,{children:"Integer"})})]}),"\n",(0,s.jsx)(r.p,{children:"Convert current Integer value from DER to BER format"}),"\n",(0,s.jsx)(r.h4,{id:"returns-3",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer",children:(0,s.jsx)(r.code,{children:"Integer"})})}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer",children:"Integer"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer#convertfromder",children:"convertFromDER"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"converttoder",children:"convertToDER"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"convertToDER"}),"(): ",(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer",children:(0,s.jsx)(r.code,{children:"Integer"})})]}),"\n",(0,s.jsx)(r.h4,{id:"returns-4",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer",children:(0,s.jsx)(r.code,{children:"Integer"})})}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer",children:"Integer"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer#converttoder",children:"convertToDER"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"fromber",children:"fromBER"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"fromBER"}),"(",(0,s.jsx)(r.code,{children:"inputBuffer"}),", ",(0,s.jsx)(r.code,{children:"inputOffset"}),", ",(0,s.jsx)(r.code,{children:"inputLength"}),"): ",(0,s.jsx)(r.code,{children:"number"})]}),"\n",(0,s.jsx)(r.p,{children:"Base function for converting block from BER encoded array of bytes"}),"\n",(0,s.jsx)(r.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,s.jsxs)(r.tbody,{children:[(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"inputBuffer"})}),(0,s.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,s.jsx)(r.code,{children:"Uint8Array"})," | ",(0,s.jsx)(r.code,{children:"ArrayBuffer"})]}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:"ASN.1 BER encoded array"})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"inputOffset"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"number"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:"Offset in ASN.1 BER encoded array where decoding should be started"})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"inputLength"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"number"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:"Maximum length of array of bytes which can be using in this function"})]})]})]}),"\n",(0,s.jsx)(r.h4,{id:"returns-5",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.code,{children:"number"})}),"\n",(0,s.jsx)(r.p,{children:"Offset after least decoded byte"}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer",children:"Integer"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer#fromber",children:"fromBER"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"isequal",children:"isEqual"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"isEqual"}),"(",(0,s.jsx)(r.code,{children:"other"}),"): other is Enumerated"]}),"\n",(0,s.jsx)(r.p,{children:"Determines whether two object instances are equal"}),"\n",(0,s.jsx)(r.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,s.jsx)(r.tbody,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"other"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"unknown"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:"Object to compare with the current object"})]})})]}),"\n",(0,s.jsx)(r.h4,{id:"returns-6",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:"other is Enumerated"}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer",children:"Integer"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer#isequal",children:"isEqual"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"onasciiencoding",children:"onAsciiEncoding"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"onAsciiEncoding"}),"(): ",(0,s.jsx)(r.code,{children:"string"})]}),"\n",(0,s.jsx)(r.h4,{id:"returns-7",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.code,{children:"string"})}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer",children:"Integer"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer#onasciiencoding",children:"onAsciiEncoding"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"tober",children:"toBER"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"toBER"}),"(",(0,s.jsx)(r.code,{children:"sizeOnly?"}),", ",(0,s.jsx)(r.code,{children:"writer?"}),"): ",(0,s.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,s.jsx)(r.p,{children:"Encoding of current ASN.1 block into ASN.1 encoded array (BER rules)"}),"\n",(0,s.jsx)(r.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,s.jsxs)(r.tbody,{children:[(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"sizeOnly?"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"boolean"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:"Flag that we need only a size of encoding, not a real array of bytes"})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"writer?"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.a,{href:"/docs/api/classes/ViewWriter",children:(0,s.jsx)(r.code,{children:"ViewWriter"})})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:"-"})]})]})]}),"\n",(0,s.jsx)(r.h4,{id:"returns-8",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,s.jsx)(r.p,{children:"ASN.1 BER encoded array"}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-17",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer",children:"Integer"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer#tober",children:"toBER"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"tobigint",children:"toBigInt"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"toBigInt"}),"(): ",(0,s.jsx)(r.code,{children:"bigint"})]}),"\n",(0,s.jsx)(r.p,{children:"Converts Integer into BigInt"}),"\n",(0,s.jsx)(r.h4,{id:"returns-9",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.code,{children:"bigint"})}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.strong,{children:(0,s.jsx)(r.code,{children:"Throws"})})}),"\n",(0,s.jsx)(r.p,{children:"Throws Error if BigInt is not supported"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.strong,{children:(0,s.jsx)(r.code,{children:"Since"})})}),"\n",(0,s.jsx)(r.p,{children:"3.0.0"}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-18",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer",children:"Integer"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer#tobigint",children:"toBigInt"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"tojson",children:"toJSON"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"toJSON"}),"(): ",(0,s.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,s.jsx)(r.code,{children:"BaseBlockJson"})}),"<",(0,s.jsx)(r.code,{children:"LocalIntegerValueBlockJson"}),">"]}),"\n",(0,s.jsx)(r.h4,{id:"returns-10",children:"Returns"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,s.jsx)(r.code,{children:"BaseBlockJson"})}),"<",(0,s.jsx)(r.code,{children:"LocalIntegerValueBlockJson"}),">"]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-19",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer",children:"Integer"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer#tojson",children:"toJSON"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"tostring",children:"toString"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"toString"}),"(",(0,s.jsx)(r.code,{children:"encoding?"}),"): ",(0,s.jsx)(r.code,{children:"string"})]}),"\n",(0,s.jsx)(r.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Default value"})]})}),(0,s.jsx)(r.tbody,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"encoding"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.a,{href:"../#stringencoding",children:(0,s.jsx)(r.code,{children:"StringEncoding"})})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:'"ascii"'})})]})})]}),"\n",(0,s.jsx)(r.h4,{id:"returns-11",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.code,{children:"string"})}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-20",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer",children:"Integer"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer#tostring",children:"toString"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"blockname",children:"blockName"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"blockName"}),"(): ",(0,s.jsx)(r.code,{children:"string"})]}),"\n",(0,s.jsx)(r.p,{children:"Aux function, need to get a block name. Need to have it here for inheritance"}),"\n",(0,s.jsx)(r.h4,{id:"returns-12",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.code,{children:"string"})}),"\n",(0,s.jsx)(r.p,{children:"Returns name of the block"}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-21",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer",children:"Integer"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer#blockname",children:"blockName"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"frombigint",children:"fromBigInt"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"fromBigInt"}),"(",(0,s.jsx)(r.code,{children:"value"}),"): ",(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer",children:(0,s.jsx)(r.code,{children:"Integer"})})]}),"\n",(0,s.jsx)(r.p,{children:"Creates Integer from BigInt value"}),"\n",(0,s.jsx)(r.h4,{id:"parameters-6",children:"Parameters"}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,s.jsx)(r.tbody,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"value"})}),(0,s.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,s.jsx)(r.code,{children:"string"})," | ",(0,s.jsx)(r.code,{children:"number"})," | ",(0,s.jsx)(r.code,{children:"bigint"})," | ",(0,s.jsx)(r.code,{children:"boolean"})]}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:"BigInt value"})]})})]}),"\n",(0,s.jsx)(r.h4,{id:"returns-13",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer",children:(0,s.jsx)(r.code,{children:"Integer"})})}),"\n",(0,s.jsx)(r.p,{children:"ASN.1 Integer"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.strong,{children:(0,s.jsx)(r.code,{children:"Throws"})})}),"\n",(0,s.jsx)(r.p,{children:"Throws Error if BigInt is not supported"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.strong,{children:(0,s.jsx)(r.code,{children:"Since"})})}),"\n",(0,s.jsx)(r.p,{children:"3.0.0"}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-22",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer",children:"Integer"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/Integer#frombigint",children:"fromBigInt"})]})]})}function a(e={}){const{wrapper:r}={...(0,i.a)(),...e.components};return r?(0,s.jsx)(r,{...e,children:(0,s.jsx)(o,{...e})}):o(e)}},1151:(e,r,n)=>{n.d(r,{Z:()=>t,a:()=>d});var s=n(7294);const i={},l=s.createContext(i);function d(e){const r=s.useContext(l);return s.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function t(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:d(e.components),s.createElement(l.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/4d00faf8.691364e8.js b/assets/js/4d00faf8.691364e8.js new file mode 100644 index 0000000..698e65d --- /dev/null +++ b/assets/js/4d00faf8.691364e8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4770],{3769:e=>{e.exports=JSON.parse('{"name":"docusaurus-plugin-content-docs","id":"default"}')}}]); \ No newline at end of file diff --git a/assets/js/51825ba5.36e4dd88.js b/assets/js/51825ba5.36e4dd88.js new file mode 100644 index 0000000..73fc084 --- /dev/null +++ b/assets/js/51825ba5.36e4dd88.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[7737],{9108:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>d,contentTitle:()=>l,default:()=>h,frontMatter:()=>t,metadata:()=>c,toc:()=>o});var i=s(5893),r=s(1151);const t={id:"Any",title:"Class: Any",sidebar_label:"Any",sidebar_position:0,custom_edit_url:null},l=void 0,c={id:"api/classes/Any",title:"Class: Any",description:"Hierarchy",source:"@site/docs/api/classes/Any.md",sourceDirName:"api/classes",slug:"/api/classes/Any",permalink:"/docs/api/classes/Any",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"Any",title:"Class: Any",sidebar_label:"Any",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"Exports",permalink:"/docs/api/"},next:{title:"BaseBlock",permalink:"/docs/api/classes/BaseBlock"}},d={},o=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Implements",id:"implements",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Properties",id:"properties",level:2},{value:"name",id:"name",level:3},{value:"Implementation of",id:"implementation-of",level:4},{value:"optional",id:"optional",level:3},{value:"Implementation of",id:"implementation-of-1",level:4}];function a(e){const n={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,r.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.strong,{children:(0,i.jsx)(n.code,{children:"Any"})})}),"\n",(0,i.jsxs)(n.p,{children:["\u21b3 ",(0,i.jsx)(n.a,{href:"/docs/api/classes/Choice",children:(0,i.jsx)(n.code,{children:"Choice"})})]}),"\n",(0,i.jsxs)(n.p,{children:["\u21b3 ",(0,i.jsx)(n.a,{href:"/docs/api/classes/Repeated",children:(0,i.jsx)(n.code,{children:"Repeated"})})]}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(n.h2,{id:"implements",children:"Implements"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsx)(n.li,{children:(0,i.jsx)(n.a,{href:"/docs/api/interfaces/IAny",children:(0,i.jsx)(n.code,{children:"IAny"})})}),"\n"]}),"\n",(0,i.jsx)(n.h2,{id:"constructors",children:"Constructors"}),"\n",(0,i.jsx)(n.h3,{id:"constructor",children:"constructor"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"new Any"}),"(",(0,i.jsx)(n.code,{children:"\xabdestructured\xbb?"}),"): ",(0,i.jsx)(n.a,{href:"/docs/api/classes/Any",children:(0,i.jsx)(n.code,{children:"Any"})})]}),"\n",(0,i.jsx)(n.h4,{id:"parameters",children:"Parameters"}),"\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(n.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(n.tbody,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{style:{textAlign:"left"},children:(0,i.jsx)(n.code,{children:"\xabdestructured\xbb"})}),(0,i.jsxs)(n.td,{style:{textAlign:"left"},children:[(0,i.jsx)(n.code,{children:"Partial"}),"<",(0,i.jsx)(n.a,{href:"/docs/api/interfaces/IAny",children:(0,i.jsx)(n.code,{children:"IAny"})}),">"]})]})})]}),"\n",(0,i.jsx)(n.h4,{id:"returns",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"/docs/api/classes/Any",children:(0,i.jsx)(n.code,{children:"Any"})})}),"\n",(0,i.jsx)(n.h2,{id:"properties",children:"Properties"}),"\n",(0,i.jsx)(n.h3,{id:"name",children:"name"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"name"}),": ",(0,i.jsx)(n.code,{children:"string"})]}),"\n",(0,i.jsx)(n.h4,{id:"implementation-of",children:"Implementation of"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.a,{href:"/docs/api/interfaces/IAny",children:"IAny"}),".",(0,i.jsx)(n.a,{href:"/docs/api/interfaces/IAny#name",children:"name"})]}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"optional",children:"optional"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"optional"}),": ",(0,i.jsx)(n.code,{children:"boolean"})]}),"\n",(0,i.jsx)(n.h4,{id:"implementation-of-1",children:"Implementation of"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.a,{href:"/docs/api/interfaces/IAny",children:"IAny"}),".",(0,i.jsx)(n.a,{href:"/docs/api/interfaces/IAny#optional",children:"optional"})]})]})}function h(e={}){const{wrapper:n}={...(0,r.a)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(a,{...e})}):a(e)}},1151:(e,n,s)=>{s.d(n,{Z:()=>c,a:()=>l});var i=s(7294);const r={},t=i.createContext(r);function l(e){const n=i.useContext(t);return i.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:l(e.components),i.createElement(t.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/576f065d.febb078e.js b/assets/js/576f065d.febb078e.js new file mode 100644 index 0000000..ccfeacf --- /dev/null +++ b/assets/js/576f065d.febb078e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[6896],{3905:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>c,contentTitle:()=>d,default:()=>a,frontMatter:()=>l,metadata:()=>t,toc:()=>h});var i=n(5893),s=n(1151);const l={id:"DATE",title:"Class: DATE",sidebar_label:"DATE",sidebar_position:0,custom_edit_url:null},d=void 0,t={id:"api/classes/DATE",title:"Class: DATE",description:"Hierarchy",source:"@site/docs/api/classes/DATE.md",sourceDirName:"api/classes",slug:"/api/classes/DATE",permalink:"/docs/api/classes/DATE",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"DATE",title:"Class: DATE",sidebar_label:"DATE",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"Constructed",permalink:"/docs/api/classes/Constructed"},next:{title:"DateTime",permalink:"/docs/api/classes/DateTime"}},c={},h=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Overrides",id:"overrides",level:4},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"valueBeforeDecodeView",id:"valuebeforedecodeview",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"valueBlock",id:"valueblock",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"NAME",id:"name-1",level:3},{value:"Overrides",id:"overrides-1",level:4},{value:"Accessors",id:"accessors",level:2},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Returns",id:"returns-1",level:4},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Methods",id:"methods",level:2},{value:"fromBER",id:"fromber",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"fromBuffer",id:"frombuffer",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-4",level:4},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"fromString",id:"fromstring",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-5",level:4},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"getValue",id:"getvalue",level:3},{value:"Returns",id:"returns-6",level:4},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"isEqual",id:"isequal",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-7",level:4},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"onAsciiEncoding",id:"onasciiencoding",level:3},{value:"Returns",id:"returns-8",level:4},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"setValue",id:"setvalue",level:3},{value:"Parameters",id:"parameters-6",level:4},{value:"Returns",id:"returns-9",level:4},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"toBER",id:"tober",level:3},{value:"Parameters",id:"parameters-7",level:4},{value:"Returns",id:"returns-10",level:4},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"toJSON",id:"tojson",level:3},{value:"Returns",id:"returns-11",level:4},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"toString",id:"tostring",level:3},{value:"Parameters",id:"parameters-8",level:4},{value:"Returns",id:"returns-12",level:4},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"blockName",id:"blockname",level:3},{value:"Returns",id:"returns-13",level:4},{value:"Inherited from",id:"inherited-from-22",level:4}];function o(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,s.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,i.jsxs)(r.ul,{children:["\n",(0,i.jsxs)(r.li,{children:["\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:(0,i.jsx)(r.code,{children:"Utf8String"})})}),"\n",(0,i.jsxs)(r.p,{children:["\u21b3 ",(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"DATE"})})]}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(r.h2,{id:"constructors",children:"Constructors"}),"\n",(0,i.jsx)(r.h3,{id:"constructor",children:"constructor"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"new DATE"}),"(",(0,i.jsx)(r.code,{children:"parameters?"}),"): ",(0,i.jsx)(r.a,{href:"/docs/api/classes/DATE",children:(0,i.jsx)(r.code,{children:"DATE"})})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"parameters"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.a,{href:"/docs/api/interfaces/Utf8StringParams",children:(0,i.jsx)(r.code,{children:"Utf8StringParams"})})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.a,{href:"/docs/api/classes/DATE",children:(0,i.jsx)(r.code,{children:"DATE"})})}),"\n",(0,i.jsx)(r.h4,{id:"overrides",children:"Overrides"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#constructor",children:"constructor"})]}),"\n",(0,i.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,i.jsx)(r.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"blockLength"}),": ",(0,i.jsx)(r.code,{children:"number"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#blocklength",children:"blockLength"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"error",children:"error"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"error"}),": ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#error",children:"error"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"idblock",children:"idBlock"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"idBlock"}),": ",(0,i.jsx)(r.code,{children:"LocalIdentificationBlock"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#idblock",children:"idBlock"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"lenBlock"}),": ",(0,i.jsx)(r.code,{children:"LocalLengthBlock"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#lenblock",children:"lenBlock"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"name",children:"name"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"name"}),": ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#name",children:"name"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"optional",children:"optional"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"optional"}),": ",(0,i.jsx)(r.code,{children:"boolean"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#optional",children:"optional"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.code,{children:"Optional"})," ",(0,i.jsx)(r.strong,{children:"primitiveSchema"}),": ",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:(0,i.jsx)(r.code,{children:"BaseBlock"})}),"<",(0,i.jsx)(r.a,{href:"/docs/api/classes/ValueBlock",children:(0,i.jsx)(r.code,{children:"ValueBlock"})}),", ",(0,i.jsx)(r.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#primitiveschema",children:"primitiveSchema"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"valuebeforedecodeview",children:"valueBeforeDecodeView"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"valueBeforeDecodeView"}),": ",(0,i.jsx)(r.code,{children:"Uint8Array"})]}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Since"})})}),"\n",(0,i.jsx)(r.p,{children:"3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#valuebeforedecodeview",children:"valueBeforeDecodeView"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"valueblock",children:"valueBlock"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"valueBlock"}),": ",(0,i.jsx)(r.code,{children:"LocalSimpleStringValueBlock"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#valueblock",children:"valueBlock"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"warnings",children:"warnings"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"warnings"}),": ",(0,i.jsx)(r.code,{children:"string"}),"[]"]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#warnings",children:"warnings"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"name-1",children:"NAME"}),"\n",(0,i.jsxs)(r.p,{children:["\u25aa ",(0,i.jsx)(r.code,{children:"Static"})," ",(0,i.jsx)(r.strong,{children:"NAME"}),": ",(0,i.jsx)(r.code,{children:"string"})," = ",(0,i.jsx)(r.code,{children:'"DATE"'})]}),"\n",(0,i.jsx)(r.h4,{id:"overrides-1",children:"Overrides"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#name-1",children:"NAME"})]}),"\n",(0,i.jsx)(r.h2,{id:"accessors",children:"Accessors"}),"\n",(0,i.jsx)(r.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.code,{children:"get"})," ",(0,i.jsx)(r.strong,{children:"valueBeforeDecode"}),"(): ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-1",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,i.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"Utf8String.valueBeforeDecode"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.code,{children:"set"})," ",(0,i.jsx)(r.strong,{children:"valueBeforeDecode"}),"(",(0,i.jsx)(r.code,{children:"value"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"value"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"ArrayBuffer"})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-2",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,i.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"Utf8String.valueBeforeDecode"}),"\n",(0,i.jsx)(r.h2,{id:"methods",children:"Methods"}),"\n",(0,i.jsx)(r.h3,{id:"fromber",children:"fromBER"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"fromBER"}),"(",(0,i.jsx)(r.code,{children:"inputBuffer"}),", ",(0,i.jsx)(r.code,{children:"inputOffset"}),", ",(0,i.jsx)(r.code,{children:"inputLength"}),"): ",(0,i.jsx)(r.code,{children:"number"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsxs)(r.tbody,{children:[(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputBuffer"})}),(0,i.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,i.jsx)(r.code,{children:"Uint8Array"})," | ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputOffset"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"number"})})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputLength"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"number"})})]})]})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-3",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"number"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#fromber",children:"fromBER"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"frombuffer",children:"fromBuffer"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"fromBuffer"}),"(",(0,i.jsx)(r.code,{children:"inputBuffer"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputBuffer"})}),(0,i.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,i.jsx)(r.code,{children:"Uint8Array"})," | ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-4",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#frombuffer",children:"fromBuffer"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"fromstring",children:"fromString"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"fromString"}),"(",(0,i.jsx)(r.code,{children:"inputString"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputString"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"string"})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-5",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#fromstring",children:"fromString"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"getvalue",children:"getValue"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"getValue"}),"(): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.p,{children:"String value"}),"\n",(0,i.jsx)(r.h4,{id:"returns-6",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Since"})})}),"\n",(0,i.jsx)(r.p,{children:"3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#getvalue",children:"getValue"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"isequal",children:"isEqual"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"isEqual"}),"(",(0,i.jsx)(r.code,{children:"other"}),"): other is DATE"]}),"\n",(0,i.jsx)(r.p,{children:"Determines whether two object instances are equal"}),"\n",(0,i.jsx)(r.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"other"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"unknown"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:"Object to compare with the current object"})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-7",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:"other is DATE"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#isequal",children:"isEqual"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"onasciiencoding",children:"onAsciiEncoding"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"onAsciiEncoding"}),"(): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-8",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-17",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#onasciiencoding",children:"onAsciiEncoding"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"setvalue",children:"setValue"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"setValue"}),"(",(0,i.jsx)(r.code,{children:"value"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.p,{children:"String value"}),"\n",(0,i.jsx)(r.h4,{id:"parameters-6",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"value"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"string"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:"String value"})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-9",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Since"})})}),"\n",(0,i.jsx)(r.p,{children:"3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-18",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#setvalue",children:"setValue"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"tober",children:"toBER"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"toBER"}),"(",(0,i.jsx)(r.code,{children:"sizeOnly?"}),", ",(0,i.jsx)(r.code,{children:"writer?"}),"): ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-7",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsxs)(r.tbody,{children:[(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"sizeOnly?"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"boolean"})})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"writer?"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.a,{href:"/docs/api/classes/ViewWriter",children:(0,i.jsx)(r.code,{children:"ViewWriter"})})})]})]})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-10",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-19",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#tober",children:"toBER"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"tojson",children:"toJSON"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"toJSON"}),"(): ",(0,i.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,i.jsx)(r.code,{children:"BaseBlockJson"})}),"<",(0,i.jsx)(r.code,{children:"LocalStringValueBlockJson"}),">"]}),"\n",(0,i.jsx)(r.h4,{id:"returns-11",children:"Returns"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,i.jsx)(r.code,{children:"BaseBlockJson"})}),"<",(0,i.jsx)(r.code,{children:"LocalStringValueBlockJson"}),">"]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-20",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#tojson",children:"toJSON"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"tostring",children:"toString"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"toString"}),"(",(0,i.jsx)(r.code,{children:"encoding?"}),"): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-8",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Default value"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"encoding"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.a,{href:"../#stringencoding",children:(0,i.jsx)(r.code,{children:"StringEncoding"})})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:'"ascii"'})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-12",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-21",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#tostring",children:"toString"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"blockname",children:"blockName"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"blockName"}),"(): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.p,{children:"Aux function, need to get a block name. Need to have it here for inheritance"}),"\n",(0,i.jsx)(r.h4,{id:"returns-13",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.p,{children:"Returns name of the block"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-22",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#blockname",children:"blockName"})]})]})}function a(e={}){const{wrapper:r}={...(0,s.a)(),...e.components};return r?(0,i.jsx)(r,{...e,children:(0,i.jsx)(o,{...e})}):o(e)}},1151:(e,r,n)=>{n.d(r,{Z:()=>t,a:()=>d});var i=n(7294);const s={},l=i.createContext(s);function d(e){const r=i.useContext(l);return i.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function t(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:d(e.components),i.createElement(l.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/59a44bca.0422944a.js b/assets/js/59a44bca.0422944a.js new file mode 100644 index 0000000..61355a7 --- /dev/null +++ b/assets/js/59a44bca.0422944a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2780],{236:(e,s,r)=>{r.r(s),r.d(s,{assets:()=>t,contentTitle:()=>d,default:()=>a,frontMatter:()=>i,metadata:()=>c,toc:()=>h});var l=r(5893),n=r(1151);const i={id:"BaseStringBlock",title:"Class: BaseStringBlock<T, J>",sidebar_label:"BaseStringBlock",sidebar_position:0,custom_edit_url:null},d=void 0,c={id:"api/classes/BaseStringBlock",title:"Class: BaseStringBlock<T, J>",description:"Type parameters",source:"@site/docs/api/classes/BaseStringBlock.md",sourceDirName:"api/classes",slug:"/api/classes/BaseStringBlock",permalink:"/docs/api/classes/BaseStringBlock",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"BaseStringBlock",title:"Class: BaseStringBlock<T, J>",sidebar_label:"BaseStringBlock",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"BaseBlock",permalink:"/docs/api/classes/BaseBlock"},next:{title:"BitString",permalink:"/docs/api/classes/BitString"}},t={},h=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Hierarchy",id:"hierarchy",level:2},{value:"Implements",id:"implements",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Type parameters",id:"type-parameters-1",level:4},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Overrides",id:"overrides",level:4},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"valueBeforeDecodeView",id:"valuebeforedecodeview",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"valueBlock",id:"valueblock",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"NAME",id:"name-1",level:3},{value:"Overrides",id:"overrides-1",level:4},{value:"Accessors",id:"accessors",level:2},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Returns",id:"returns-1",level:4},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Methods",id:"methods",level:2},{value:"fromBER",id:"fromber",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Overrides",id:"overrides-2",level:4},{value:"fromBuffer",id:"frombuffer",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-4",level:4},{value:"fromString",id:"fromstring",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-5",level:4},{value:"Implementation of",id:"implementation-of",level:4},{value:"getValue",id:"getvalue",level:3},{value:"Returns",id:"returns-6",level:4},{value:"isEqual",id:"isequal",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-7",level:4},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"onAsciiEncoding",id:"onasciiencoding",level:3},{value:"Returns",id:"returns-8",level:4},{value:"Overrides",id:"overrides-3",level:4},{value:"setValue",id:"setvalue",level:3},{value:"Parameters",id:"parameters-6",level:4},{value:"Returns",id:"returns-9",level:4},{value:"toBER",id:"tober",level:3},{value:"Parameters",id:"parameters-7",level:4},{value:"Returns",id:"returns-10",level:4},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"toJSON",id:"tojson",level:3},{value:"Returns",id:"returns-11",level:4},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"toString",id:"tostring",level:3},{value:"Parameters",id:"parameters-8",level:4},{value:"Returns",id:"returns-12",level:4},{value:"Implementation of",id:"implementation-of-1",level:4},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"blockName",id:"blockname",level:3},{value:"Returns",id:"returns-13",level:4},{value:"Inherited from",id:"inherited-from-16",level:4}];function o(e){const s={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,n.a)(),...e.components};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(s.h2,{id:"type-parameters",children:"Type parameters"}),"\n",(0,l.jsxs)(s.table,{children:[(0,l.jsx)(s.thead,{children:(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,l.jsxs)(s.tbody,{children:[(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"T"})}),(0,l.jsxs)(s.td,{style:{textAlign:"left"},children:["extends ",(0,l.jsx)(s.code,{children:"LocalStringValueBlock"})," = ",(0,l.jsx)(s.code,{children:"LocalStringValueBlock"})]})]}),(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"J"})}),(0,l.jsxs)(s.td,{style:{textAlign:"left"},children:["extends ",(0,l.jsx)(s.a,{href:"../#basestringblockjson",children:(0,l.jsx)(s.code,{children:"BaseStringBlockJson"})})," = ",(0,l.jsx)(s.a,{href:"../#basestringblockjson",children:(0,l.jsx)(s.code,{children:"BaseStringBlockJson"})})]})]})]})]}),"\n",(0,l.jsx)(s.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,l.jsxs)(s.ul,{children:["\n",(0,l.jsxs)(s.li,{children:["\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:(0,l.jsx)(s.code,{children:"BaseBlock"})}),"<",(0,l.jsx)(s.code,{children:"T"}),", ",(0,l.jsx)(s.code,{children:"J"}),">"]}),"\n",(0,l.jsxs)(s.p,{children:["\u21b3 ",(0,l.jsx)(s.strong,{children:(0,l.jsx)(s.code,{children:"BaseStringBlock"})})]}),"\n"]}),"\n"]}),"\n",(0,l.jsx)(s.h2,{id:"implements",children:"Implements"}),"\n",(0,l.jsxs)(s.ul,{children:["\n",(0,l.jsx)(s.li,{children:(0,l.jsx)(s.a,{href:"/docs/api/interfaces/IStringConvertible",children:(0,l.jsx)(s.code,{children:"IStringConvertible"})})}),"\n"]}),"\n",(0,l.jsx)(s.h2,{id:"constructors",children:"Constructors"}),"\n",(0,l.jsx)(s.h3,{id:"constructor",children:"constructor"}),"\n",(0,l.jsxs)(s.p,{children:["\u2022 ",(0,l.jsx)(s.strong,{children:"new BaseStringBlock"}),"<",(0,l.jsx)(s.code,{children:"T"}),", ",(0,l.jsx)(s.code,{children:"J"}),">(",(0,l.jsx)(s.code,{children:"\xabdestructured\xbb?"}),", ",(0,l.jsx)(s.code,{children:"stringValueBlockType"}),"): ",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseStringBlock",children:(0,l.jsx)(s.code,{children:"BaseStringBlock"})}),"<",(0,l.jsx)(s.code,{children:"T"}),", ",(0,l.jsx)(s.code,{children:"J"}),">"]}),"\n",(0,l.jsx)(s.h4,{id:"type-parameters-1",children:"Type parameters"}),"\n",(0,l.jsxs)(s.table,{children:[(0,l.jsx)(s.thead,{children:(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,l.jsxs)(s.tbody,{children:[(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"T"})}),(0,l.jsxs)(s.td,{style:{textAlign:"left"},children:["extends ",(0,l.jsx)(s.code,{children:"LocalStringValueBlock"})," = ",(0,l.jsx)(s.code,{children:"LocalStringValueBlock"})]})]}),(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"J"})}),(0,l.jsxs)(s.td,{style:{textAlign:"left"},children:["extends ",(0,l.jsx)(s.code,{children:"LocalStringValueBlockJson"})," = ",(0,l.jsx)(s.code,{children:"LocalStringValueBlockJson"})]})]})]})]}),"\n",(0,l.jsx)(s.h4,{id:"parameters",children:"Parameters"}),"\n",(0,l.jsxs)(s.table,{children:[(0,l.jsx)(s.thead,{children:(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,l.jsxs)(s.tbody,{children:[(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"\xabdestructured\xbb"})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.a,{href:"/docs/api/interfaces/BaseStringBlockParams",children:(0,l.jsx)(s.code,{children:"BaseStringBlockParams"})})})]}),(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"stringValueBlockType"})}),(0,l.jsxs)(s.td,{style:{textAlign:"left"},children:["() => ",(0,l.jsx)(s.code,{children:"T"})]})]})]})]}),"\n",(0,l.jsx)(s.h4,{id:"returns",children:"Returns"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseStringBlock",children:(0,l.jsx)(s.code,{children:"BaseStringBlock"})}),"<",(0,l.jsx)(s.code,{children:"T"}),", ",(0,l.jsx)(s.code,{children:"J"}),">"]}),"\n",(0,l.jsx)(s.h4,{id:"overrides",children:"Overrides"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#constructor",children:"constructor"})]}),"\n",(0,l.jsx)(s.h2,{id:"properties",children:"Properties"}),"\n",(0,l.jsx)(s.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,l.jsxs)(s.p,{children:["\u2022 ",(0,l.jsx)(s.strong,{children:"blockLength"}),": ",(0,l.jsx)(s.code,{children:"number"})]}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#blocklength",children:"blockLength"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"error",children:"error"}),"\n",(0,l.jsxs)(s.p,{children:["\u2022 ",(0,l.jsx)(s.strong,{children:"error"}),": ",(0,l.jsx)(s.code,{children:"string"})]}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#error",children:"error"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"idblock",children:"idBlock"}),"\n",(0,l.jsxs)(s.p,{children:["\u2022 ",(0,l.jsx)(s.strong,{children:"idBlock"}),": ",(0,l.jsx)(s.code,{children:"LocalIdentificationBlock"})]}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#idblock",children:"idBlock"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,l.jsxs)(s.p,{children:["\u2022 ",(0,l.jsx)(s.strong,{children:"lenBlock"}),": ",(0,l.jsx)(s.code,{children:"LocalLengthBlock"})]}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#lenblock",children:"lenBlock"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"name",children:"name"}),"\n",(0,l.jsxs)(s.p,{children:["\u2022 ",(0,l.jsx)(s.strong,{children:"name"}),": ",(0,l.jsx)(s.code,{children:"string"})]}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#name",children:"name"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"optional",children:"optional"}),"\n",(0,l.jsxs)(s.p,{children:["\u2022 ",(0,l.jsx)(s.strong,{children:"optional"}),": ",(0,l.jsx)(s.code,{children:"boolean"})]}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#optional",children:"optional"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,l.jsxs)(s.p,{children:["\u2022 ",(0,l.jsx)(s.code,{children:"Optional"})," ",(0,l.jsx)(s.strong,{children:"primitiveSchema"}),": ",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:(0,l.jsx)(s.code,{children:"BaseBlock"})}),"<",(0,l.jsx)(s.a,{href:"/docs/api/classes/ValueBlock",children:(0,l.jsx)(s.code,{children:"ValueBlock"})}),", ",(0,l.jsx)(s.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#primitiveschema",children:"primitiveSchema"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"valuebeforedecodeview",children:"valueBeforeDecodeView"}),"\n",(0,l.jsxs)(s.p,{children:["\u2022 ",(0,l.jsx)(s.strong,{children:"valueBeforeDecodeView"}),": ",(0,l.jsx)(s.code,{children:"Uint8Array"})]}),"\n",(0,l.jsx)(s.p,{children:(0,l.jsx)(s.strong,{children:(0,l.jsx)(s.code,{children:"Since"})})}),"\n",(0,l.jsx)(s.p,{children:"3.0.0"}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#valuebeforedecodeview",children:"valueBeforeDecodeView"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"valueblock",children:"valueBlock"}),"\n",(0,l.jsxs)(s.p,{children:["\u2022 ",(0,l.jsx)(s.strong,{children:"valueBlock"}),": ",(0,l.jsx)(s.code,{children:"T"})]}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#valueblock",children:"valueBlock"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"warnings",children:"warnings"}),"\n",(0,l.jsxs)(s.p,{children:["\u2022 ",(0,l.jsx)(s.strong,{children:"warnings"}),": ",(0,l.jsx)(s.code,{children:"string"}),"[]"]}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#warnings",children:"warnings"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"name-1",children:"NAME"}),"\n",(0,l.jsxs)(s.p,{children:["\u25aa ",(0,l.jsx)(s.code,{children:"Static"})," ",(0,l.jsx)(s.strong,{children:"NAME"}),": ",(0,l.jsx)(s.code,{children:"string"})," = ",(0,l.jsx)(s.code,{children:'"BaseStringBlock"'})]}),"\n",(0,l.jsx)(s.h4,{id:"overrides-1",children:"Overrides"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#name-1",children:"NAME"})]}),"\n",(0,l.jsx)(s.h2,{id:"accessors",children:"Accessors"}),"\n",(0,l.jsx)(s.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,l.jsxs)(s.p,{children:["\u2022 ",(0,l.jsx)(s.code,{children:"get"})," ",(0,l.jsx)(s.strong,{children:"valueBeforeDecode"}),"(): ",(0,l.jsx)(s.code,{children:"ArrayBuffer"})]}),"\n",(0,l.jsx)(s.h4,{id:"returns-1",children:"Returns"}),"\n",(0,l.jsx)(s.p,{children:(0,l.jsx)(s.code,{children:"ArrayBuffer"})}),"\n",(0,l.jsx)(s.p,{children:(0,l.jsx)(s.strong,{children:(0,l.jsx)(s.code,{children:"Deprecated"})})}),"\n",(0,l.jsx)(s.p,{children:"since version 3.0.0"}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,l.jsx)(s.p,{children:"BaseBlock.valueBeforeDecode"}),"\n",(0,l.jsxs)(s.p,{children:["\u2022 ",(0,l.jsx)(s.code,{children:"set"})," ",(0,l.jsx)(s.strong,{children:"valueBeforeDecode"}),"(",(0,l.jsx)(s.code,{children:"value"}),"): ",(0,l.jsx)(s.code,{children:"void"})]}),"\n",(0,l.jsx)(s.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,l.jsxs)(s.table,{children:[(0,l.jsx)(s.thead,{children:(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,l.jsx)(s.tbody,{children:(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"value"})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"ArrayBuffer"})})]})})]}),"\n",(0,l.jsx)(s.h4,{id:"returns-2",children:"Returns"}),"\n",(0,l.jsx)(s.p,{children:(0,l.jsx)(s.code,{children:"void"})}),"\n",(0,l.jsx)(s.p,{children:(0,l.jsx)(s.strong,{children:(0,l.jsx)(s.code,{children:"Deprecated"})})}),"\n",(0,l.jsx)(s.p,{children:"since version 3.0.0"}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,l.jsx)(s.p,{children:"BaseBlock.valueBeforeDecode"}),"\n",(0,l.jsx)(s.h2,{id:"methods",children:"Methods"}),"\n",(0,l.jsx)(s.h3,{id:"fromber",children:"fromBER"}),"\n",(0,l.jsxs)(s.p,{children:["\u25b8 ",(0,l.jsx)(s.strong,{children:"fromBER"}),"(",(0,l.jsx)(s.code,{children:"inputBuffer"}),", ",(0,l.jsx)(s.code,{children:"inputOffset"}),", ",(0,l.jsx)(s.code,{children:"inputLength"}),"): ",(0,l.jsx)(s.code,{children:"number"})]}),"\n",(0,l.jsx)(s.p,{children:"Base function for converting block from BER encoded array of bytes"}),"\n",(0,l.jsx)(s.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,l.jsxs)(s.table,{children:[(0,l.jsx)(s.thead,{children:(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Type"}),(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,l.jsxs)(s.tbody,{children:[(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"inputBuffer"})}),(0,l.jsxs)(s.td,{style:{textAlign:"left"},children:[(0,l.jsx)(s.code,{children:"Uint8Array"})," | ",(0,l.jsx)(s.code,{children:"ArrayBuffer"})]}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:"ASN.1 BER encoded array"})]}),(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"inputOffset"})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"number"})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:"Offset in ASN.1 BER encoded array where decoding should be started"})]}),(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"inputLength"})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"number"})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:"Maximum length of array of bytes which can be using in this function"})]})]})]}),"\n",(0,l.jsx)(s.h4,{id:"returns-3",children:"Returns"}),"\n",(0,l.jsx)(s.p,{children:(0,l.jsx)(s.code,{children:"number"})}),"\n",(0,l.jsx)(s.p,{children:"Offset after least decoded byte"}),"\n",(0,l.jsx)(s.h4,{id:"overrides-2",children:"Overrides"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#fromber",children:"fromBER"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"frombuffer",children:"fromBuffer"}),"\n",(0,l.jsxs)(s.p,{children:["\u25b8 ",(0,l.jsx)(s.strong,{children:"fromBuffer"}),"(",(0,l.jsx)(s.code,{children:"inputBuffer"}),"): ",(0,l.jsx)(s.code,{children:"void"})]}),"\n",(0,l.jsx)(s.p,{children:"Function converting ArrayBuffer into ASN.1 internal string"}),"\n",(0,l.jsx)(s.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,l.jsxs)(s.table,{children:[(0,l.jsx)(s.thead,{children:(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Type"}),(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,l.jsx)(s.tbody,{children:(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"inputBuffer"})}),(0,l.jsxs)(s.td,{style:{textAlign:"left"},children:[(0,l.jsx)(s.code,{children:"Uint8Array"})," | ",(0,l.jsx)(s.code,{children:"ArrayBuffer"})]}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:"ASN.1 BER encoded array"})]})})]}),"\n",(0,l.jsx)(s.h4,{id:"returns-4",children:"Returns"}),"\n",(0,l.jsx)(s.p,{children:(0,l.jsx)(s.code,{children:"void"})}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"fromstring",children:"fromString"}),"\n",(0,l.jsxs)(s.p,{children:["\u25b8 ",(0,l.jsx)(s.strong,{children:"fromString"}),"(",(0,l.jsx)(s.code,{children:"inputString"}),"): ",(0,l.jsx)(s.code,{children:"void"})]}),"\n",(0,l.jsx)(s.p,{children:"Creates a class object from the string"}),"\n",(0,l.jsx)(s.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,l.jsxs)(s.table,{children:[(0,l.jsx)(s.thead,{children:(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Type"}),(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,l.jsx)(s.tbody,{children:(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"inputString"})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"string"})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:"Input string to convert from"})]})})]}),"\n",(0,l.jsx)(s.h4,{id:"returns-5",children:"Returns"}),"\n",(0,l.jsx)(s.p,{children:(0,l.jsx)(s.code,{children:"void"})}),"\n",(0,l.jsx)(s.h4,{id:"implementation-of",children:"Implementation of"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/interfaces/IStringConvertible",children:"IStringConvertible"}),".",(0,l.jsx)(s.a,{href:"/docs/api/interfaces/IStringConvertible#fromstring",children:"fromString"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"getvalue",children:"getValue"}),"\n",(0,l.jsxs)(s.p,{children:["\u25b8 ",(0,l.jsx)(s.strong,{children:"getValue"}),"(): ",(0,l.jsx)(s.code,{children:"string"})]}),"\n",(0,l.jsx)(s.p,{children:"String value"}),"\n",(0,l.jsx)(s.h4,{id:"returns-6",children:"Returns"}),"\n",(0,l.jsx)(s.p,{children:(0,l.jsx)(s.code,{children:"string"})}),"\n",(0,l.jsx)(s.p,{children:(0,l.jsx)(s.strong,{children:(0,l.jsx)(s.code,{children:"Since"})})}),"\n",(0,l.jsx)(s.p,{children:"3.0.0"}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"isequal",children:"isEqual"}),"\n",(0,l.jsxs)(s.p,{children:["\u25b8 ",(0,l.jsx)(s.strong,{children:"isEqual"}),"(",(0,l.jsx)(s.code,{children:"other"}),"): other is BaseStringBlock<T, J>"]}),"\n",(0,l.jsx)(s.p,{children:"Determines whether two object instances are equal"}),"\n",(0,l.jsx)(s.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,l.jsxs)(s.table,{children:[(0,l.jsx)(s.thead,{children:(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Type"}),(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,l.jsx)(s.tbody,{children:(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"other"})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"unknown"})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:"Object to compare with the current object"})]})})]}),"\n",(0,l.jsx)(s.h4,{id:"returns-7",children:"Returns"}),"\n",(0,l.jsx)(s.p,{children:"other is BaseStringBlock<T, J>"}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#isequal",children:"isEqual"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"onasciiencoding",children:"onAsciiEncoding"}),"\n",(0,l.jsxs)(s.p,{children:["\u25b8 ",(0,l.jsx)(s.strong,{children:"onAsciiEncoding"}),"(): ",(0,l.jsx)(s.code,{children:"string"})]}),"\n",(0,l.jsx)(s.h4,{id:"returns-8",children:"Returns"}),"\n",(0,l.jsx)(s.p,{children:(0,l.jsx)(s.code,{children:"string"})}),"\n",(0,l.jsx)(s.h4,{id:"overrides-3",children:"Overrides"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#onasciiencoding",children:"onAsciiEncoding"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"setvalue",children:"setValue"}),"\n",(0,l.jsxs)(s.p,{children:["\u25b8 ",(0,l.jsx)(s.strong,{children:"setValue"}),"(",(0,l.jsx)(s.code,{children:"value"}),"): ",(0,l.jsx)(s.code,{children:"void"})]}),"\n",(0,l.jsx)(s.p,{children:"String value"}),"\n",(0,l.jsx)(s.h4,{id:"parameters-6",children:"Parameters"}),"\n",(0,l.jsxs)(s.table,{children:[(0,l.jsx)(s.thead,{children:(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Type"}),(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,l.jsx)(s.tbody,{children:(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"value"})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"string"})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:"String value"})]})})]}),"\n",(0,l.jsx)(s.h4,{id:"returns-9",children:"Returns"}),"\n",(0,l.jsx)(s.p,{children:(0,l.jsx)(s.code,{children:"void"})}),"\n",(0,l.jsx)(s.p,{children:(0,l.jsx)(s.strong,{children:(0,l.jsx)(s.code,{children:"Since"})})}),"\n",(0,l.jsx)(s.p,{children:"3.0.0"}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"tober",children:"toBER"}),"\n",(0,l.jsxs)(s.p,{children:["\u25b8 ",(0,l.jsx)(s.strong,{children:"toBER"}),"(",(0,l.jsx)(s.code,{children:"sizeOnly?"}),", ",(0,l.jsx)(s.code,{children:"writer?"}),"): ",(0,l.jsx)(s.code,{children:"ArrayBuffer"})]}),"\n",(0,l.jsx)(s.p,{children:"Encoding of current ASN.1 block into ASN.1 encoded array (BER rules)"}),"\n",(0,l.jsx)(s.h4,{id:"parameters-7",children:"Parameters"}),"\n",(0,l.jsxs)(s.table,{children:[(0,l.jsx)(s.thead,{children:(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Type"}),(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,l.jsxs)(s.tbody,{children:[(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"sizeOnly?"})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"boolean"})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:"Flag that we need only a size of encoding, not a real array of bytes"})]}),(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"writer?"})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.a,{href:"/docs/api/classes/ViewWriter",children:(0,l.jsx)(s.code,{children:"ViewWriter"})})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:"-"})]})]})]}),"\n",(0,l.jsx)(s.h4,{id:"returns-10",children:"Returns"}),"\n",(0,l.jsx)(s.p,{children:(0,l.jsx)(s.code,{children:"ArrayBuffer"})}),"\n",(0,l.jsx)(s.p,{children:"ASN.1 BER encoded array"}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#tober",children:"toBER"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"tojson",children:"toJSON"}),"\n",(0,l.jsxs)(s.p,{children:["\u25b8 ",(0,l.jsx)(s.strong,{children:"toJSON"}),"(): ",(0,l.jsx)(s.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,l.jsx)(s.code,{children:"BaseBlockJson"})}),"<",(0,l.jsx)(s.code,{children:"J"}),">"]}),"\n",(0,l.jsx)(s.h4,{id:"returns-11",children:"Returns"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,l.jsx)(s.code,{children:"BaseBlockJson"})}),"<",(0,l.jsx)(s.code,{children:"J"}),">"]}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#tojson",children:"toJSON"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"tostring",children:"toString"}),"\n",(0,l.jsxs)(s.p,{children:["\u25b8 ",(0,l.jsx)(s.strong,{children:"toString"}),"(",(0,l.jsx)(s.code,{children:"encoding?"}),"): ",(0,l.jsx)(s.code,{children:"string"})]}),"\n",(0,l.jsx)(s.p,{children:"Returns a string representation of an object"}),"\n",(0,l.jsx)(s.h4,{id:"parameters-8",children:"Parameters"}),"\n",(0,l.jsxs)(s.table,{children:[(0,l.jsx)(s.thead,{children:(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Type"}),(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Default value"})]})}),(0,l.jsx)(s.tbody,{children:(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"encoding"})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.a,{href:"../#stringencoding",children:(0,l.jsx)(s.code,{children:"StringEncoding"})})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:'"ascii"'})})]})})]}),"\n",(0,l.jsx)(s.h4,{id:"returns-12",children:"Returns"}),"\n",(0,l.jsx)(s.p,{children:(0,l.jsx)(s.code,{children:"string"})}),"\n",(0,l.jsx)(s.p,{children:"String representation of the class object"}),"\n",(0,l.jsx)(s.h4,{id:"implementation-of-1",children:"Implementation of"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/interfaces/IStringConvertible",children:"IStringConvertible"}),".",(0,l.jsx)(s.a,{href:"/docs/api/interfaces/IStringConvertible#tostring",children:"toString"})]}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#tostring",children:"toString"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"blockname",children:"blockName"}),"\n",(0,l.jsxs)(s.p,{children:["\u25b8 ",(0,l.jsx)(s.strong,{children:"blockName"}),"(): ",(0,l.jsx)(s.code,{children:"string"})]}),"\n",(0,l.jsx)(s.p,{children:"Aux function, need to get a block name. Need to have it here for inheritance"}),"\n",(0,l.jsx)(s.h4,{id:"returns-13",children:"Returns"}),"\n",(0,l.jsx)(s.p,{children:(0,l.jsx)(s.code,{children:"string"})}),"\n",(0,l.jsx)(s.p,{children:"Returns name of the block"}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#blockname",children:"blockName"})]})]})}function a(e={}){const{wrapper:s}={...(0,n.a)(),...e.components};return s?(0,l.jsx)(s,{...e,children:(0,l.jsx)(o,{...e})}):o(e)}},1151:(e,s,r)=>{r.d(s,{Z:()=>c,a:()=>d});var l=r(7294);const n={},i=l.createContext(n);function d(e){const s=l.useContext(i);return l.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function c(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:d(e.components),l.createElement(i.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/59cc6c35.6f0244ff.js b/assets/js/59cc6c35.6f0244ff.js new file mode 100644 index 0000000..8a67681 --- /dev/null +++ b/assets/js/59cc6c35.6f0244ff.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2591],{981:(e,r,i)=>{i.r(r),i.d(r,{assets:()=>c,contentTitle:()=>d,default:()=>x,frontMatter:()=>s,metadata:()=>t,toc:()=>h});var n=i(5893),l=i(1151);const s={id:"VisibleString",title:"Class: VisibleString",sidebar_label:"VisibleString",sidebar_position:0,custom_edit_url:null},d=void 0,t={id:"api/classes/VisibleString",title:"Class: VisibleString",description:"Hierarchy",source:"@site/docs/api/classes/VisibleString.md",sourceDirName:"api/classes",slug:"/api/classes/VisibleString",permalink:"/docs/api/classes/VisibleString",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"VisibleString",title:"Class: VisibleString",sidebar_label:"VisibleString",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"ViewWriter",permalink:"/docs/api/classes/ViewWriter"},next:{title:"BaseBlockJson",permalink:"/docs/api/interfaces/BaseBlockJson"}},c={},h=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Overrides",id:"overrides",level:4},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"valueBeforeDecodeView",id:"valuebeforedecodeview",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"valueBlock",id:"valueblock",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"NAME",id:"name-1",level:3},{value:"Overrides",id:"overrides-1",level:4},{value:"Accessors",id:"accessors",level:2},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Returns",id:"returns-1",level:4},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Methods",id:"methods",level:2},{value:"fromBER",id:"fromber",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"fromBuffer",id:"frombuffer",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-4",level:4},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"fromString",id:"fromstring",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-5",level:4},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"getValue",id:"getvalue",level:3},{value:"Returns",id:"returns-6",level:4},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"isEqual",id:"isequal",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-7",level:4},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"onAsciiEncoding",id:"onasciiencoding",level:3},{value:"Returns",id:"returns-8",level:4},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"setValue",id:"setvalue",level:3},{value:"Parameters",id:"parameters-6",level:4},{value:"Returns",id:"returns-9",level:4},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"toBER",id:"tober",level:3},{value:"Parameters",id:"parameters-7",level:4},{value:"Returns",id:"returns-10",level:4},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"toJSON",id:"tojson",level:3},{value:"Returns",id:"returns-11",level:4},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"toString",id:"tostring",level:3},{value:"Parameters",id:"parameters-8",level:4},{value:"Returns",id:"returns-12",level:4},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"blockName",id:"blockname",level:3},{value:"Returns",id:"returns-13",level:4},{value:"Inherited from",id:"inherited-from-22",level:4}];function o(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,l.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,n.jsxs)(r.ul,{children:["\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"LocalSimpleStringBlock"})}),"\n",(0,n.jsxs)(r.p,{children:["\u21b3 ",(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"VisibleString"})})]}),"\n",(0,n.jsxs)(r.p,{children:["\u21b3\u21b3 ",(0,n.jsx)(r.a,{href:"/docs/api/classes/UTCTime",children:(0,n.jsx)(r.code,{children:"UTCTime"})})]}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(r.h2,{id:"constructors",children:"Constructors"}),"\n",(0,n.jsx)(r.h3,{id:"constructor",children:"constructor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"new VisibleString"}),"(",(0,n.jsx)(r.code,{children:"parameters?"}),"): ",(0,n.jsx)(r.a,{href:"/docs/api/classes/VisibleString",children:(0,n.jsx)(r.code,{children:"VisibleString"})})]}),"\n",(0,n.jsx)(r.h4,{id:"parameters",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(r.tbody,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"parameters"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"LocalSimpleStringBlockParams"})})]})})]}),"\n",(0,n.jsx)(r.h4,{id:"returns",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"/docs/api/classes/VisibleString",children:(0,n.jsx)(r.code,{children:"VisibleString"})})}),"\n",(0,n.jsx)(r.h4,{id:"overrides",children:"Overrides"}),"\n",(0,n.jsx)(r.p,{children:"LocalSimpleStringBlock.constructor"}),"\n",(0,n.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,n.jsx)(r.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"blockLength"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"LocalSimpleStringBlock.blockLength"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"error",children:"error"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"error"}),": ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"LocalSimpleStringBlock.error"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"idblock",children:"idBlock"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"idBlock"}),": ",(0,n.jsx)(r.code,{children:"LocalIdentificationBlock"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"LocalSimpleStringBlock.idBlock"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"lenBlock"}),": ",(0,n.jsx)(r.code,{children:"LocalLengthBlock"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"LocalSimpleStringBlock.lenBlock"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"name",children:"name"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"name"}),": ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"LocalSimpleStringBlock.name"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"optional",children:"optional"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"optional"}),": ",(0,n.jsx)(r.code,{children:"boolean"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"LocalSimpleStringBlock.optional"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"primitiveSchema"}),": ",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:(0,n.jsx)(r.code,{children:"BaseBlock"})}),"<",(0,n.jsx)(r.a,{href:"/docs/api/classes/ValueBlock",children:(0,n.jsx)(r.code,{children:"ValueBlock"})}),", ",(0,n.jsx)(r.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"LocalSimpleStringBlock.primitiveSchema"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"valuebeforedecodeview",children:"valueBeforeDecodeView"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"valueBeforeDecodeView"}),": ",(0,n.jsx)(r.code,{children:"Uint8Array"})]}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"Since"})})}),"\n",(0,n.jsx)(r.p,{children:"3.0.0"}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"LocalSimpleStringBlock.valueBeforeDecodeView"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"valueblock",children:"valueBlock"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"valueBlock"}),": ",(0,n.jsx)(r.code,{children:"LocalSimpleStringValueBlock"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"LocalSimpleStringBlock.valueBlock"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"warnings",children:"warnings"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"warnings"}),": ",(0,n.jsx)(r.code,{children:"string"}),"[]"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"LocalSimpleStringBlock.warnings"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"name-1",children:"NAME"}),"\n",(0,n.jsxs)(r.p,{children:["\u25aa ",(0,n.jsx)(r.code,{children:"Static"})," ",(0,n.jsx)(r.strong,{children:"NAME"}),": ",(0,n.jsx)(r.code,{children:"string"})," = ",(0,n.jsx)(r.code,{children:'"VisibleString"'})]}),"\n",(0,n.jsx)(r.h4,{id:"overrides-1",children:"Overrides"}),"\n",(0,n.jsx)(r.p,{children:"LocalSimpleStringBlock.NAME"}),"\n",(0,n.jsx)(r.h2,{id:"accessors",children:"Accessors"}),"\n",(0,n.jsx)(r.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"get"})," ",(0,n.jsx)(r.strong,{children:"valueBeforeDecode"}),"(): ",(0,n.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-1",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,n.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"LocalSimpleStringBlock.valueBeforeDecode"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"set"})," ",(0,n.jsx)(r.strong,{children:"valueBeforeDecode"}),"(",(0,n.jsx)(r.code,{children:"value"}),"): ",(0,n.jsx)(r.code,{children:"void"})]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(r.tbody,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"value"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"ArrayBuffer"})})]})})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-2",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"void"})}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,n.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"LocalSimpleStringBlock.valueBeforeDecode"}),"\n",(0,n.jsx)(r.h2,{id:"methods",children:"Methods"}),"\n",(0,n.jsx)(r.h3,{id:"fromber",children:"fromBER"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"fromBER"}),"(",(0,n.jsx)(r.code,{children:"inputBuffer"}),", ",(0,n.jsx)(r.code,{children:"inputOffset"}),", ",(0,n.jsx)(r.code,{children:"inputLength"}),"): ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"inputBuffer"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,n.jsx)(r.code,{children:"Uint8Array"})," | ",(0,n.jsx)(r.code,{children:"ArrayBuffer"})]})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"inputOffset"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"number"})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"inputLength"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"number"})})]})]})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-3",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"number"})}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"LocalSimpleStringBlock.fromBER"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"frombuffer",children:"fromBuffer"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"fromBuffer"}),"(",(0,n.jsx)(r.code,{children:"inputBuffer"}),"): ",(0,n.jsx)(r.code,{children:"void"})]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(r.tbody,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"inputBuffer"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,n.jsx)(r.code,{children:"Uint8Array"})," | ",(0,n.jsx)(r.code,{children:"ArrayBuffer"})]})]})})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-4",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"void"})}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"LocalSimpleStringBlock.fromBuffer"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"fromstring",children:"fromString"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"fromString"}),"(",(0,n.jsx)(r.code,{children:"inputString"}),"): ",(0,n.jsx)(r.code,{children:"void"})]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(r.tbody,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"inputString"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"string"})})]})})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-5",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"void"})}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"LocalSimpleStringBlock.fromString"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"getvalue",children:"getValue"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"getValue"}),"(): ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.p,{children:"String value"}),"\n",(0,n.jsx)(r.h4,{id:"returns-6",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"string"})}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"Since"})})}),"\n",(0,n.jsx)(r.p,{children:"3.0.0"}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"LocalSimpleStringBlock.getValue"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"isequal",children:"isEqual"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"isEqual"}),"(",(0,n.jsx)(r.code,{children:"other"}),"): other is VisibleString"]}),"\n",(0,n.jsx)(r.p,{children:"Determines whether two object instances are equal"}),"\n",(0,n.jsx)(r.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,n.jsx)(r.tbody,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"other"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"unknown"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:"Object to compare with the current object"})]})})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-7",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:"other is VisibleString"}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"LocalSimpleStringBlock.isEqual"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"onasciiencoding",children:"onAsciiEncoding"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"onAsciiEncoding"}),"(): ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-8",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"string"})}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-17",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"LocalSimpleStringBlock.onAsciiEncoding"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"setvalue",children:"setValue"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"setValue"}),"(",(0,n.jsx)(r.code,{children:"value"}),"): ",(0,n.jsx)(r.code,{children:"void"})]}),"\n",(0,n.jsx)(r.p,{children:"String value"}),"\n",(0,n.jsx)(r.h4,{id:"parameters-6",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,n.jsx)(r.tbody,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"value"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"string"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:"String value"})]})})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-9",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"void"})}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"Since"})})}),"\n",(0,n.jsx)(r.p,{children:"3.0.0"}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-18",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"LocalSimpleStringBlock.setValue"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"tober",children:"toBER"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"toBER"}),"(",(0,n.jsx)(r.code,{children:"sizeOnly?"}),", ",(0,n.jsx)(r.code,{children:"writer?"}),"): ",(0,n.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-7",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"sizeOnly?"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"boolean"})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"writer?"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.a,{href:"/docs/api/classes/ViewWriter",children:(0,n.jsx)(r.code,{children:"ViewWriter"})})})]})]})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-10",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-19",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"LocalSimpleStringBlock.toBER"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"tojson",children:"toJSON"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"toJSON"}),"(): ",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,n.jsx)(r.code,{children:"BaseBlockJson"})}),"<",(0,n.jsx)(r.code,{children:"LocalStringValueBlockJson"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"returns-11",children:"Returns"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,n.jsx)(r.code,{children:"BaseBlockJson"})}),"<",(0,n.jsx)(r.code,{children:"LocalStringValueBlockJson"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-20",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"LocalSimpleStringBlock.toJSON"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"tostring",children:"toString"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"toString"}),"(",(0,n.jsx)(r.code,{children:"encoding?"}),"): ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-8",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Default value"})]})}),(0,n.jsx)(r.tbody,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"encoding"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.a,{href:"../#stringencoding",children:(0,n.jsx)(r.code,{children:"StringEncoding"})})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:'"ascii"'})})]})})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-12",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"string"})}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-21",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"LocalSimpleStringBlock.toString"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"blockname",children:"blockName"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"blockName"}),"(): ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.p,{children:"Aux function, need to get a block name. Need to have it here for inheritance"}),"\n",(0,n.jsx)(r.h4,{id:"returns-13",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"string"})}),"\n",(0,n.jsx)(r.p,{children:"Returns name of the block"}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-22",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"LocalSimpleStringBlock.blockName"})]})}function x(e={}){const{wrapper:r}={...(0,l.a)(),...e.components};return r?(0,n.jsx)(r,{...e,children:(0,n.jsx)(o,{...e})}):o(e)}},1151:(e,r,i)=>{i.d(r,{Z:()=>t,a:()=>d});var n=i(7294);const l={},s=n.createContext(l);function d(e){const r=n.useContext(s);return n.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function t(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(l):e.components||l:d(e.components),n.createElement(s.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/5acba2f0.9b64d274.js b/assets/js/5acba2f0.9b64d274.js new file mode 100644 index 0000000..03c31aa --- /dev/null +++ b/assets/js/5acba2f0.9b64d274.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[6494],{7422:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>c,contentTitle:()=>d,default:()=>a,frontMatter:()=>s,metadata:()=>t,toc:()=>h});var l=n(5893),i=n(1151);const s={id:"UniversalString",title:"Class: UniversalString",sidebar_label:"UniversalString",sidebar_position:0,custom_edit_url:null},d=void 0,t={id:"api/classes/UniversalString",title:"Class: UniversalString",description:"Hierarchy",source:"@site/docs/api/classes/UniversalString.md",sourceDirName:"api/classes",slug:"/api/classes/UniversalString",permalink:"/docs/api/classes/UniversalString",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"UniversalString",title:"Class: UniversalString",sidebar_label:"UniversalString",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"UTCTime",permalink:"/docs/api/classes/UTCTime"},next:{title:"Utf8String",permalink:"/docs/api/classes/Utf8String"}},c={},h=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Overrides",id:"overrides",level:4},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"valueBeforeDecodeView",id:"valuebeforedecodeview",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"valueBlock",id:"valueblock",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"NAME",id:"name-1",level:3},{value:"Overrides",id:"overrides-1",level:4},{value:"Accessors",id:"accessors",level:2},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Returns",id:"returns-1",level:4},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Methods",id:"methods",level:2},{value:"fromBER",id:"fromber",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"fromBuffer",id:"frombuffer",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-4",level:4},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"fromString",id:"fromstring",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-5",level:4},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"getValue",id:"getvalue",level:3},{value:"Returns",id:"returns-6",level:4},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"isEqual",id:"isequal",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-7",level:4},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"onAsciiEncoding",id:"onasciiencoding",level:3},{value:"Returns",id:"returns-8",level:4},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"setValue",id:"setvalue",level:3},{value:"Parameters",id:"parameters-6",level:4},{value:"Returns",id:"returns-9",level:4},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"toBER",id:"tober",level:3},{value:"Parameters",id:"parameters-7",level:4},{value:"Returns",id:"returns-10",level:4},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"toJSON",id:"tojson",level:3},{value:"Returns",id:"returns-11",level:4},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"toString",id:"tostring",level:3},{value:"Parameters",id:"parameters-8",level:4},{value:"Returns",id:"returns-12",level:4},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"blockName",id:"blockname",level:3},{value:"Returns",id:"returns-13",level:4},{value:"Inherited from",id:"inherited-from-22",level:4}];function o(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.a)(),...e.components};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,l.jsxs)(r.ul,{children:["\n",(0,l.jsxs)(r.li,{children:["\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"LocalUniversalStringValueBlock"})}),"\n",(0,l.jsxs)(r.p,{children:["\u21b3 ",(0,l.jsx)(r.strong,{children:(0,l.jsx)(r.code,{children:"UniversalString"})})]}),"\n"]}),"\n"]}),"\n",(0,l.jsx)(r.h2,{id:"constructors",children:"Constructors"}),"\n",(0,l.jsx)(r.h3,{id:"constructor",children:"constructor"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"new UniversalString"}),"(",(0,l.jsx)(r.code,{children:"\xabdestructured\xbb?"}),"): ",(0,l.jsx)(r.a,{href:"/docs/api/classes/UniversalString",children:(0,l.jsx)(r.code,{children:"UniversalString"})})]}),"\n",(0,l.jsx)(r.h4,{id:"parameters",children:"Parameters"}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,l.jsx)(r.tbody,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"\xabdestructured\xbb"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"LocalSimpleStringBlockParams"})})]})})]}),"\n",(0,l.jsx)(r.h4,{id:"returns",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.a,{href:"/docs/api/classes/UniversalString",children:(0,l.jsx)(r.code,{children:"UniversalString"})})}),"\n",(0,l.jsx)(r.h4,{id:"overrides",children:"Overrides"}),"\n",(0,l.jsx)(r.p,{children:"LocalUniversalStringValueBlock.constructor"}),"\n",(0,l.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,l.jsx)(r.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"blockLength"}),": ",(0,l.jsx)(r.code,{children:"number"})]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalUniversalStringValueBlock.blockLength"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"error",children:"error"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"error"}),": ",(0,l.jsx)(r.code,{children:"string"})]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalUniversalStringValueBlock.error"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"idblock",children:"idBlock"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"idBlock"}),": ",(0,l.jsx)(r.code,{children:"LocalIdentificationBlock"})]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalUniversalStringValueBlock.idBlock"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"lenBlock"}),": ",(0,l.jsx)(r.code,{children:"LocalLengthBlock"})]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalUniversalStringValueBlock.lenBlock"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"name",children:"name"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"name"}),": ",(0,l.jsx)(r.code,{children:"string"})]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalUniversalStringValueBlock.name"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"optional",children:"optional"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"optional"}),": ",(0,l.jsx)(r.code,{children:"boolean"})]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalUniversalStringValueBlock.optional"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.code,{children:"Optional"})," ",(0,l.jsx)(r.strong,{children:"primitiveSchema"}),": ",(0,l.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:(0,l.jsx)(r.code,{children:"BaseBlock"})}),"<",(0,l.jsx)(r.a,{href:"/docs/api/classes/ValueBlock",children:(0,l.jsx)(r.code,{children:"ValueBlock"})}),", ",(0,l.jsx)(r.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalUniversalStringValueBlock.primitiveSchema"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"valuebeforedecodeview",children:"valueBeforeDecodeView"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"valueBeforeDecodeView"}),": ",(0,l.jsx)(r.code,{children:"Uint8Array"})]}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.strong,{children:(0,l.jsx)(r.code,{children:"Since"})})}),"\n",(0,l.jsx)(r.p,{children:"3.0.0"}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalUniversalStringValueBlock.valueBeforeDecodeView"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"valueblock",children:"valueBlock"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"valueBlock"}),": ",(0,l.jsx)(r.code,{children:"LocalSimpleStringValueBlock"})]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalUniversalStringValueBlock.valueBlock"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"warnings",children:"warnings"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"warnings"}),": ",(0,l.jsx)(r.code,{children:"string"}),"[]"]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalUniversalStringValueBlock.warnings"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"name-1",children:"NAME"}),"\n",(0,l.jsxs)(r.p,{children:["\u25aa ",(0,l.jsx)(r.code,{children:"Static"})," ",(0,l.jsx)(r.strong,{children:"NAME"}),": ",(0,l.jsx)(r.code,{children:"string"})," = ",(0,l.jsx)(r.code,{children:'"UniversalString"'})]}),"\n",(0,l.jsx)(r.h4,{id:"overrides-1",children:"Overrides"}),"\n",(0,l.jsx)(r.p,{children:"LocalUniversalStringValueBlock.NAME"}),"\n",(0,l.jsx)(r.h2,{id:"accessors",children:"Accessors"}),"\n",(0,l.jsx)(r.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.code,{children:"get"})," ",(0,l.jsx)(r.strong,{children:"valueBeforeDecode"}),"(): ",(0,l.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-1",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.strong,{children:(0,l.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,l.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalUniversalStringValueBlock.valueBeforeDecode"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.code,{children:"set"})," ",(0,l.jsx)(r.strong,{children:"valueBeforeDecode"}),"(",(0,l.jsx)(r.code,{children:"value"}),"): ",(0,l.jsx)(r.code,{children:"void"})]}),"\n",(0,l.jsx)(r.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,l.jsx)(r.tbody,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"value"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"ArrayBuffer"})})]})})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-2",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"void"})}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.strong,{children:(0,l.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,l.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalUniversalStringValueBlock.valueBeforeDecode"}),"\n",(0,l.jsx)(r.h2,{id:"methods",children:"Methods"}),"\n",(0,l.jsx)(r.h3,{id:"fromber",children:"fromBER"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"fromBER"}),"(",(0,l.jsx)(r.code,{children:"inputBuffer"}),", ",(0,l.jsx)(r.code,{children:"inputOffset"}),", ",(0,l.jsx)(r.code,{children:"inputLength"}),"): ",(0,l.jsx)(r.code,{children:"number"})]}),"\n",(0,l.jsx)(r.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,l.jsxs)(r.tbody,{children:[(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"inputBuffer"})}),(0,l.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,l.jsx)(r.code,{children:"Uint8Array"})," | ",(0,l.jsx)(r.code,{children:"ArrayBuffer"})]})]}),(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"inputOffset"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"number"})})]}),(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"inputLength"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"number"})})]})]})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-3",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"number"})}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalUniversalStringValueBlock.fromBER"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"frombuffer",children:"fromBuffer"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"fromBuffer"}),"(",(0,l.jsx)(r.code,{children:"inputBuffer"}),"): ",(0,l.jsx)(r.code,{children:"void"})]}),"\n",(0,l.jsx)(r.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,l.jsx)(r.tbody,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"inputBuffer"})}),(0,l.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,l.jsx)(r.code,{children:"Uint8Array"})," | ",(0,l.jsx)(r.code,{children:"ArrayBuffer"})]})]})})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-4",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"void"})}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalUniversalStringValueBlock.fromBuffer"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"fromstring",children:"fromString"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"fromString"}),"(",(0,l.jsx)(r.code,{children:"inputString"}),"): ",(0,l.jsx)(r.code,{children:"void"})]}),"\n",(0,l.jsx)(r.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,l.jsx)(r.tbody,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"inputString"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"string"})})]})})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-5",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"void"})}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalUniversalStringValueBlock.fromString"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"getvalue",children:"getValue"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"getValue"}),"(): ",(0,l.jsx)(r.code,{children:"string"})]}),"\n",(0,l.jsx)(r.p,{children:"String value"}),"\n",(0,l.jsx)(r.h4,{id:"returns-6",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"string"})}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.strong,{children:(0,l.jsx)(r.code,{children:"Since"})})}),"\n",(0,l.jsx)(r.p,{children:"3.0.0"}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalUniversalStringValueBlock.getValue"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"isequal",children:"isEqual"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"isEqual"}),"(",(0,l.jsx)(r.code,{children:"other"}),"): other is UniversalString"]}),"\n",(0,l.jsx)(r.p,{children:"Determines whether two object instances are equal"}),"\n",(0,l.jsx)(r.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,l.jsx)(r.tbody,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"other"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"unknown"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:"Object to compare with the current object"})]})})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-7",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:"other is UniversalString"}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalUniversalStringValueBlock.isEqual"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"onasciiencoding",children:"onAsciiEncoding"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"onAsciiEncoding"}),"(): ",(0,l.jsx)(r.code,{children:"string"})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-8",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"string"})}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-17",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalUniversalStringValueBlock.onAsciiEncoding"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"setvalue",children:"setValue"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"setValue"}),"(",(0,l.jsx)(r.code,{children:"value"}),"): ",(0,l.jsx)(r.code,{children:"void"})]}),"\n",(0,l.jsx)(r.p,{children:"String value"}),"\n",(0,l.jsx)(r.h4,{id:"parameters-6",children:"Parameters"}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,l.jsx)(r.tbody,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"value"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"string"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:"String value"})]})})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-9",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"void"})}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.strong,{children:(0,l.jsx)(r.code,{children:"Since"})})}),"\n",(0,l.jsx)(r.p,{children:"3.0.0"}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-18",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalUniversalStringValueBlock.setValue"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"tober",children:"toBER"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"toBER"}),"(",(0,l.jsx)(r.code,{children:"sizeOnly?"}),", ",(0,l.jsx)(r.code,{children:"writer?"}),"): ",(0,l.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,l.jsx)(r.h4,{id:"parameters-7",children:"Parameters"}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,l.jsxs)(r.tbody,{children:[(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"sizeOnly?"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"boolean"})})]}),(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"writer?"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.a,{href:"/docs/api/classes/ViewWriter",children:(0,l.jsx)(r.code,{children:"ViewWriter"})})})]})]})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-10",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-19",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalUniversalStringValueBlock.toBER"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"tojson",children:"toJSON"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"toJSON"}),"(): ",(0,l.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,l.jsx)(r.code,{children:"BaseBlockJson"})}),"<",(0,l.jsx)(r.code,{children:"LocalStringValueBlockJson"}),">"]}),"\n",(0,l.jsx)(r.h4,{id:"returns-11",children:"Returns"}),"\n",(0,l.jsxs)(r.p,{children:[(0,l.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,l.jsx)(r.code,{children:"BaseBlockJson"})}),"<",(0,l.jsx)(r.code,{children:"LocalStringValueBlockJson"}),">"]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-20",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalUniversalStringValueBlock.toJSON"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"tostring",children:"toString"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"toString"}),"(",(0,l.jsx)(r.code,{children:"encoding?"}),"): ",(0,l.jsx)(r.code,{children:"string"})]}),"\n",(0,l.jsx)(r.h4,{id:"parameters-8",children:"Parameters"}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Default value"})]})}),(0,l.jsx)(r.tbody,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"encoding"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.a,{href:"../#stringencoding",children:(0,l.jsx)(r.code,{children:"StringEncoding"})})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:'"ascii"'})})]})})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-12",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"string"})}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-21",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalUniversalStringValueBlock.toString"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"blockname",children:"blockName"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"blockName"}),"(): ",(0,l.jsx)(r.code,{children:"string"})]}),"\n",(0,l.jsx)(r.p,{children:"Aux function, need to get a block name. Need to have it here for inheritance"}),"\n",(0,l.jsx)(r.h4,{id:"returns-13",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"string"})}),"\n",(0,l.jsx)(r.p,{children:"Returns name of the block"}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-22",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalUniversalStringValueBlock.blockName"})]})}function a(e={}){const{wrapper:r}={...(0,i.a)(),...e.components};return r?(0,l.jsx)(r,{...e,children:(0,l.jsx)(o,{...e})}):o(e)}},1151:(e,r,n)=>{n.d(r,{Z:()=>t,a:()=>d});var l=n(7294);const i={},s=l.createContext(i);function d(e){const r=l.useContext(s);return l.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function t(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:d(e.components),l.createElement(s.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/5b192a6a.f5d7d5d0.js b/assets/js/5b192a6a.f5d7d5d0.js new file mode 100644 index 0000000..95c9808 --- /dev/null +++ b/assets/js/5b192a6a.f5d7d5d0.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8271],{5154:(e,l,n)=>{n.r(l),n.d(l,{assets:()=>t,contentTitle:()=>d,default:()=>a,frontMatter:()=>i,metadata:()=>c,toc:()=>h});var s=n(5893),r=n(1151);const i={id:"BaseBlock",title:"Class: BaseBlock<T, J>",sidebar_label:"BaseBlock",sidebar_position:0,custom_edit_url:null},d=void 0,c={id:"api/classes/BaseBlock",title:"Class: BaseBlock<T, J>",description:"Type parameters",source:"@site/docs/api/classes/BaseBlock.md",sourceDirName:"api/classes",slug:"/api/classes/BaseBlock",permalink:"/docs/api/classes/BaseBlock",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"BaseBlock",title:"Class: BaseBlock<T, J>",sidebar_label:"BaseBlock",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"Any",permalink:"/docs/api/classes/Any"},next:{title:"BaseStringBlock",permalink:"/docs/api/classes/BaseStringBlock"}},t={},h=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Hierarchy",id:"hierarchy",level:2},{value:"Implements",id:"implements",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Type parameters",id:"type-parameters-1",level:4},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Overrides",id:"overrides",level:4},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"idBlock",id:"idblock",level:3},{value:"lenBlock",id:"lenblock",level:3},{value:"name",id:"name",level:3},{value:"Implementation of",id:"implementation-of",level:4},{value:"optional",id:"optional",level:3},{value:"Implementation of",id:"implementation-of-1",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Implementation of",id:"implementation-of-2",level:4},{value:"valueBeforeDecodeView",id:"valuebeforedecodeview",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"valueBlock",id:"valueblock",level:3},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"NAME",id:"name-1",level:3},{value:"Overrides",id:"overrides-1",level:4},{value:"Accessors",id:"accessors",level:2},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Returns",id:"returns-1",level:4},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"Methods",id:"methods",level:2},{value:"fromBER",id:"fromber",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Implementation of",id:"implementation-of-3",level:4},{value:"isEqual",id:"isequal",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-4",level:4},{value:"onAsciiEncoding",id:"onasciiencoding",level:3},{value:"Returns",id:"returns-5",level:4},{value:"toBER",id:"tober",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-6",level:4},{value:"Implementation of",id:"implementation-of-4",level:4},{value:"toJSON",id:"tojson",level:3},{value:"Returns",id:"returns-7",level:4},{value:"Overrides",id:"overrides-2",level:4},{value:"toString",id:"tostring",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-8",level:4},{value:"blockName",id:"blockname",level:3},{value:"Returns",id:"returns-9",level:4},{value:"Inherited from",id:"inherited-from-6",level:4}];function o(e){const l={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,r.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(l.h2,{id:"type-parameters",children:"Type parameters"}),"\n",(0,s.jsxs)(l.table,{children:[(0,s.jsx)(l.thead,{children:(0,s.jsxs)(l.tr,{children:[(0,s.jsx)(l.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(l.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,s.jsxs)(l.tbody,{children:[(0,s.jsxs)(l.tr,{children:[(0,s.jsx)(l.td,{style:{textAlign:"left"},children:(0,s.jsx)(l.code,{children:"T"})}),(0,s.jsxs)(l.td,{style:{textAlign:"left"},children:["extends ",(0,s.jsx)(l.a,{href:"/docs/api/classes/ValueBlock",children:(0,s.jsx)(l.code,{children:"ValueBlock"})})," = ",(0,s.jsx)(l.a,{href:"/docs/api/classes/ValueBlock",children:(0,s.jsx)(l.code,{children:"ValueBlock"})})]})]}),(0,s.jsxs)(l.tr,{children:[(0,s.jsx)(l.td,{style:{textAlign:"left"},children:(0,s.jsx)(l.code,{children:"J"})}),(0,s.jsxs)(l.td,{style:{textAlign:"left"},children:["extends ",(0,s.jsx)(l.a,{href:"../#valueblockjson",children:(0,s.jsx)(l.code,{children:"ValueBlockJson"})})," = ",(0,s.jsx)(l.a,{href:"../#valueblockjson",children:(0,s.jsx)(l.code,{children:"ValueBlockJson"})})]})]})]})]}),"\n",(0,s.jsx)(l.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,s.jsxs)(l.ul,{children:["\n",(0,s.jsxs)(l.li,{children:["\n",(0,s.jsx)(l.p,{children:(0,s.jsx)(l.code,{children:"LocalBaseBlock"})}),"\n",(0,s.jsxs)(l.p,{children:["\u21b3 ",(0,s.jsx)(l.strong,{children:(0,s.jsx)(l.code,{children:"BaseBlock"})})]}),"\n",(0,s.jsxs)(l.p,{children:["\u21b3\u21b3 ",(0,s.jsx)(l.a,{href:"/docs/api/classes/BaseStringBlock",children:(0,s.jsx)(l.code,{children:"BaseStringBlock"})})]}),"\n",(0,s.jsxs)(l.p,{children:["\u21b3\u21b3 ",(0,s.jsx)(l.a,{href:"/docs/api/classes/Primitive",children:(0,s.jsx)(l.code,{children:"Primitive"})})]}),"\n",(0,s.jsxs)(l.p,{children:["\u21b3\u21b3 ",(0,s.jsx)(l.a,{href:"/docs/api/classes/Constructed",children:(0,s.jsx)(l.code,{children:"Constructed"})})]}),"\n",(0,s.jsxs)(l.p,{children:["\u21b3\u21b3 ",(0,s.jsx)(l.a,{href:"/docs/api/classes/EndOfContent",children:(0,s.jsx)(l.code,{children:"EndOfContent"})})]}),"\n",(0,s.jsxs)(l.p,{children:["\u21b3\u21b3 ",(0,s.jsx)(l.a,{href:"/docs/api/classes/Null",children:(0,s.jsx)(l.code,{children:"Null"})})]}),"\n",(0,s.jsxs)(l.p,{children:["\u21b3\u21b3 ",(0,s.jsx)(l.a,{href:"/docs/api/classes/Boolean",children:(0,s.jsx)(l.code,{children:"Boolean"})})]}),"\n",(0,s.jsxs)(l.p,{children:["\u21b3\u21b3 ",(0,s.jsx)(l.a,{href:"/docs/api/classes/OctetString",children:(0,s.jsx)(l.code,{children:"OctetString"})})]}),"\n",(0,s.jsxs)(l.p,{children:["\u21b3\u21b3 ",(0,s.jsx)(l.a,{href:"/docs/api/classes/BitString",children:(0,s.jsx)(l.code,{children:"BitString"})})]}),"\n",(0,s.jsxs)(l.p,{children:["\u21b3\u21b3 ",(0,s.jsx)(l.a,{href:"/docs/api/classes/Integer",children:(0,s.jsx)(l.code,{children:"Integer"})})]}),"\n",(0,s.jsxs)(l.p,{children:["\u21b3\u21b3 ",(0,s.jsx)(l.a,{href:"/docs/api/classes/ObjectIdentifier",children:(0,s.jsx)(l.code,{children:"ObjectIdentifier"})})]}),"\n",(0,s.jsxs)(l.p,{children:["\u21b3\u21b3 ",(0,s.jsx)(l.a,{href:"/docs/api/classes/RelativeObjectIdentifier",children:(0,s.jsx)(l.code,{children:"RelativeObjectIdentifier"})})]}),"\n"]}),"\n"]}),"\n",(0,s.jsx)(l.h2,{id:"implements",children:"Implements"}),"\n",(0,s.jsxs)(l.ul,{children:["\n",(0,s.jsx)(l.li,{children:(0,s.jsx)(l.a,{href:"/docs/api/interfaces/IBaseBlock",children:(0,s.jsx)(l.code,{children:"IBaseBlock"})})}),"\n",(0,s.jsx)(l.li,{children:(0,s.jsx)(l.a,{href:"/docs/api/interfaces/IBerConvertible",children:(0,s.jsx)(l.code,{children:"IBerConvertible"})})}),"\n"]}),"\n",(0,s.jsx)(l.h2,{id:"constructors",children:"Constructors"}),"\n",(0,s.jsx)(l.h3,{id:"constructor",children:"constructor"}),"\n",(0,s.jsxs)(l.p,{children:["\u2022 ",(0,s.jsx)(l.strong,{children:"new BaseBlock"}),"<",(0,s.jsx)(l.code,{children:"T"}),", ",(0,s.jsx)(l.code,{children:"J"}),">(",(0,s.jsx)(l.code,{children:"\xabdestructured\xbb?"}),", ",(0,s.jsx)(l.code,{children:"valueBlockType?"}),"): ",(0,s.jsx)(l.a,{href:"/docs/api/classes/BaseBlock",children:(0,s.jsx)(l.code,{children:"BaseBlock"})}),"<",(0,s.jsx)(l.code,{children:"T"}),", ",(0,s.jsx)(l.code,{children:"J"}),">"]}),"\n",(0,s.jsx)(l.h4,{id:"type-parameters-1",children:"Type parameters"}),"\n",(0,s.jsxs)(l.table,{children:[(0,s.jsx)(l.thead,{children:(0,s.jsxs)(l.tr,{children:[(0,s.jsx)(l.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(l.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,s.jsxs)(l.tbody,{children:[(0,s.jsxs)(l.tr,{children:[(0,s.jsx)(l.td,{style:{textAlign:"left"},children:(0,s.jsx)(l.code,{children:"T"})}),(0,s.jsxs)(l.td,{style:{textAlign:"left"},children:["extends ",(0,s.jsx)(l.a,{href:"/docs/api/classes/ValueBlock",children:(0,s.jsx)(l.code,{children:"ValueBlock"})})," = ",(0,s.jsx)(l.a,{href:"/docs/api/classes/ValueBlock",children:(0,s.jsx)(l.code,{children:"ValueBlock"})})]})]}),(0,s.jsxs)(l.tr,{children:[(0,s.jsx)(l.td,{style:{textAlign:"left"},children:(0,s.jsx)(l.code,{children:"J"})}),(0,s.jsxs)(l.td,{style:{textAlign:"left"},children:["extends ",(0,s.jsx)(l.code,{children:"LocalBaseBlockJson"})," = ",(0,s.jsx)(l.code,{children:"LocalBaseBlockJson"})]})]})]})]}),"\n",(0,s.jsx)(l.h4,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(l.table,{children:[(0,s.jsx)(l.thead,{children:(0,s.jsxs)(l.tr,{children:[(0,s.jsx)(l.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(l.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,s.jsxs)(l.tbody,{children:[(0,s.jsxs)(l.tr,{children:[(0,s.jsx)(l.td,{style:{textAlign:"left"},children:(0,s.jsx)(l.code,{children:"\xabdestructured\xbb"})}),(0,s.jsx)(l.td,{style:{textAlign:"left"},children:(0,s.jsx)(l.a,{href:"/docs/api/interfaces/BaseBlockParams",children:(0,s.jsx)(l.code,{children:"BaseBlockParams"})})})]}),(0,s.jsxs)(l.tr,{children:[(0,s.jsx)(l.td,{style:{textAlign:"left"},children:(0,s.jsx)(l.code,{children:"valueBlockType?"})}),(0,s.jsxs)(l.td,{style:{textAlign:"left"},children:[(0,s.jsx)(l.a,{href:"/docs/api/interfaces/ValueBlockConstructor",children:(0,s.jsx)(l.code,{children:"ValueBlockConstructor"})}),"<",(0,s.jsx)(l.code,{children:"T"}),">"]})]})]})]}),"\n",(0,s.jsx)(l.h4,{id:"returns",children:"Returns"}),"\n",(0,s.jsxs)(l.p,{children:[(0,s.jsx)(l.a,{href:"/docs/api/classes/BaseBlock",children:(0,s.jsx)(l.code,{children:"BaseBlock"})}),"<",(0,s.jsx)(l.code,{children:"T"}),", ",(0,s.jsx)(l.code,{children:"J"}),">"]}),"\n",(0,s.jsx)(l.h4,{id:"overrides",children:"Overrides"}),"\n",(0,s.jsx)(l.p,{children:"LocalBaseBlock.constructor"}),"\n",(0,s.jsx)(l.h2,{id:"properties",children:"Properties"}),"\n",(0,s.jsx)(l.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,s.jsxs)(l.p,{children:["\u2022 ",(0,s.jsx)(l.strong,{children:"blockLength"}),": ",(0,s.jsx)(l.code,{children:"number"})]}),"\n",(0,s.jsx)(l.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,s.jsx)(l.p,{children:"LocalBaseBlock.blockLength"}),"\n",(0,s.jsx)(l.hr,{}),"\n",(0,s.jsx)(l.h3,{id:"error",children:"error"}),"\n",(0,s.jsxs)(l.p,{children:["\u2022 ",(0,s.jsx)(l.strong,{children:"error"}),": ",(0,s.jsx)(l.code,{children:"string"})]}),"\n",(0,s.jsx)(l.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,s.jsx)(l.p,{children:"LocalBaseBlock.error"}),"\n",(0,s.jsx)(l.hr,{}),"\n",(0,s.jsx)(l.h3,{id:"idblock",children:"idBlock"}),"\n",(0,s.jsxs)(l.p,{children:["\u2022 ",(0,s.jsx)(l.strong,{children:"idBlock"}),": ",(0,s.jsx)(l.code,{children:"LocalIdentificationBlock"})]}),"\n",(0,s.jsx)(l.hr,{}),"\n",(0,s.jsx)(l.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,s.jsxs)(l.p,{children:["\u2022 ",(0,s.jsx)(l.strong,{children:"lenBlock"}),": ",(0,s.jsx)(l.code,{children:"LocalLengthBlock"})]}),"\n",(0,s.jsx)(l.hr,{}),"\n",(0,s.jsx)(l.h3,{id:"name",children:"name"}),"\n",(0,s.jsxs)(l.p,{children:["\u2022 ",(0,s.jsx)(l.strong,{children:"name"}),": ",(0,s.jsx)(l.code,{children:"string"})]}),"\n",(0,s.jsx)(l.h4,{id:"implementation-of",children:"Implementation of"}),"\n",(0,s.jsxs)(l.p,{children:[(0,s.jsx)(l.a,{href:"/docs/api/interfaces/IBaseBlock",children:"IBaseBlock"}),".",(0,s.jsx)(l.a,{href:"/docs/api/interfaces/IBaseBlock#name",children:"name"})]}),"\n",(0,s.jsx)(l.hr,{}),"\n",(0,s.jsx)(l.h3,{id:"optional",children:"optional"}),"\n",(0,s.jsxs)(l.p,{children:["\u2022 ",(0,s.jsx)(l.strong,{children:"optional"}),": ",(0,s.jsx)(l.code,{children:"boolean"})]}),"\n",(0,s.jsx)(l.h4,{id:"implementation-of-1",children:"Implementation of"}),"\n",(0,s.jsxs)(l.p,{children:[(0,s.jsx)(l.a,{href:"/docs/api/interfaces/IBaseBlock",children:"IBaseBlock"}),".",(0,s.jsx)(l.a,{href:"/docs/api/interfaces/IBaseBlock#optional",children:"optional"})]}),"\n",(0,s.jsx)(l.hr,{}),"\n",(0,s.jsx)(l.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,s.jsxs)(l.p,{children:["\u2022 ",(0,s.jsx)(l.code,{children:"Optional"})," ",(0,s.jsx)(l.strong,{children:"primitiveSchema"}),": ",(0,s.jsx)(l.a,{href:"/docs/api/classes/BaseBlock",children:(0,s.jsx)(l.code,{children:"BaseBlock"})}),"<",(0,s.jsx)(l.a,{href:"/docs/api/classes/ValueBlock",children:(0,s.jsx)(l.code,{children:"ValueBlock"})}),", ",(0,s.jsx)(l.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,s.jsx)(l.h4,{id:"implementation-of-2",children:"Implementation of"}),"\n",(0,s.jsxs)(l.p,{children:[(0,s.jsx)(l.a,{href:"/docs/api/interfaces/IBaseBlock",children:"IBaseBlock"}),".",(0,s.jsx)(l.a,{href:"/docs/api/interfaces/IBaseBlock#primitiveschema",children:"primitiveSchema"})]}),"\n",(0,s.jsx)(l.hr,{}),"\n",(0,s.jsx)(l.h3,{id:"valuebeforedecodeview",children:"valueBeforeDecodeView"}),"\n",(0,s.jsxs)(l.p,{children:["\u2022 ",(0,s.jsx)(l.strong,{children:"valueBeforeDecodeView"}),": ",(0,s.jsx)(l.code,{children:"Uint8Array"})]}),"\n",(0,s.jsx)(l.p,{children:(0,s.jsx)(l.strong,{children:(0,s.jsx)(l.code,{children:"Since"})})}),"\n",(0,s.jsx)(l.p,{children:"3.0.0"}),"\n",(0,s.jsx)(l.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,s.jsx)(l.p,{children:"LocalBaseBlock.valueBeforeDecodeView"}),"\n",(0,s.jsx)(l.hr,{}),"\n",(0,s.jsx)(l.h3,{id:"valueblock",children:"valueBlock"}),"\n",(0,s.jsxs)(l.p,{children:["\u2022 ",(0,s.jsx)(l.strong,{children:"valueBlock"}),": ",(0,s.jsx)(l.code,{children:"T"})]}),"\n",(0,s.jsx)(l.hr,{}),"\n",(0,s.jsx)(l.h3,{id:"warnings",children:"warnings"}),"\n",(0,s.jsxs)(l.p,{children:["\u2022 ",(0,s.jsx)(l.strong,{children:"warnings"}),": ",(0,s.jsx)(l.code,{children:"string"}),"[]"]}),"\n",(0,s.jsx)(l.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,s.jsx)(l.p,{children:"LocalBaseBlock.warnings"}),"\n",(0,s.jsx)(l.hr,{}),"\n",(0,s.jsx)(l.h3,{id:"name-1",children:"NAME"}),"\n",(0,s.jsxs)(l.p,{children:["\u25aa ",(0,s.jsx)(l.code,{children:"Static"})," ",(0,s.jsx)(l.strong,{children:"NAME"}),": ",(0,s.jsx)(l.code,{children:"string"})," = ",(0,s.jsx)(l.code,{children:'"BaseBlock"'})]}),"\n",(0,s.jsx)(l.h4,{id:"overrides-1",children:"Overrides"}),"\n",(0,s.jsx)(l.p,{children:"LocalBaseBlock.NAME"}),"\n",(0,s.jsx)(l.h2,{id:"accessors",children:"Accessors"}),"\n",(0,s.jsx)(l.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,s.jsxs)(l.p,{children:["\u2022 ",(0,s.jsx)(l.code,{children:"get"})," ",(0,s.jsx)(l.strong,{children:"valueBeforeDecode"}),"(): ",(0,s.jsx)(l.code,{children:"ArrayBuffer"})]}),"\n",(0,s.jsx)(l.h4,{id:"returns-1",children:"Returns"}),"\n",(0,s.jsx)(l.p,{children:(0,s.jsx)(l.code,{children:"ArrayBuffer"})}),"\n",(0,s.jsx)(l.p,{children:(0,s.jsx)(l.strong,{children:(0,s.jsx)(l.code,{children:"Deprecated"})})}),"\n",(0,s.jsx)(l.p,{children:"since version 3.0.0"}),"\n",(0,s.jsx)(l.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,s.jsx)(l.p,{children:"LocalBaseBlock.valueBeforeDecode"}),"\n",(0,s.jsxs)(l.p,{children:["\u2022 ",(0,s.jsx)(l.code,{children:"set"})," ",(0,s.jsx)(l.strong,{children:"valueBeforeDecode"}),"(",(0,s.jsx)(l.code,{children:"value"}),"): ",(0,s.jsx)(l.code,{children:"void"})]}),"\n",(0,s.jsx)(l.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,s.jsxs)(l.table,{children:[(0,s.jsx)(l.thead,{children:(0,s.jsxs)(l.tr,{children:[(0,s.jsx)(l.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(l.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,s.jsx)(l.tbody,{children:(0,s.jsxs)(l.tr,{children:[(0,s.jsx)(l.td,{style:{textAlign:"left"},children:(0,s.jsx)(l.code,{children:"value"})}),(0,s.jsx)(l.td,{style:{textAlign:"left"},children:(0,s.jsx)(l.code,{children:"ArrayBuffer"})})]})})]}),"\n",(0,s.jsx)(l.h4,{id:"returns-2",children:"Returns"}),"\n",(0,s.jsx)(l.p,{children:(0,s.jsx)(l.code,{children:"void"})}),"\n",(0,s.jsx)(l.p,{children:(0,s.jsx)(l.strong,{children:(0,s.jsx)(l.code,{children:"Deprecated"})})}),"\n",(0,s.jsx)(l.p,{children:"since version 3.0.0"}),"\n",(0,s.jsx)(l.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,s.jsx)(l.p,{children:"LocalBaseBlock.valueBeforeDecode"}),"\n",(0,s.jsx)(l.h2,{id:"methods",children:"Methods"}),"\n",(0,s.jsx)(l.h3,{id:"fromber",children:"fromBER"}),"\n",(0,s.jsxs)(l.p,{children:["\u25b8 ",(0,s.jsx)(l.strong,{children:"fromBER"}),"(",(0,s.jsx)(l.code,{children:"inputBuffer"}),", ",(0,s.jsx)(l.code,{children:"inputOffset"}),", ",(0,s.jsx)(l.code,{children:"inputLength"}),"): ",(0,s.jsx)(l.code,{children:"number"})]}),"\n",(0,s.jsx)(l.p,{children:"Base function for converting block from BER encoded array of bytes"}),"\n",(0,s.jsx)(l.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,s.jsxs)(l.table,{children:[(0,s.jsx)(l.thead,{children:(0,s.jsxs)(l.tr,{children:[(0,s.jsx)(l.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(l.th,{style:{textAlign:"left"},children:"Type"}),(0,s.jsx)(l.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,s.jsxs)(l.tbody,{children:[(0,s.jsxs)(l.tr,{children:[(0,s.jsx)(l.td,{style:{textAlign:"left"},children:(0,s.jsx)(l.code,{children:"inputBuffer"})}),(0,s.jsxs)(l.td,{style:{textAlign:"left"},children:[(0,s.jsx)(l.code,{children:"Uint8Array"})," | ",(0,s.jsx)(l.code,{children:"ArrayBuffer"})]}),(0,s.jsx)(l.td,{style:{textAlign:"left"},children:"ASN.1 BER encoded array"})]}),(0,s.jsxs)(l.tr,{children:[(0,s.jsx)(l.td,{style:{textAlign:"left"},children:(0,s.jsx)(l.code,{children:"inputOffset"})}),(0,s.jsx)(l.td,{style:{textAlign:"left"},children:(0,s.jsx)(l.code,{children:"number"})}),(0,s.jsx)(l.td,{style:{textAlign:"left"},children:"Offset in ASN.1 BER encoded array where decoding should be started"})]}),(0,s.jsxs)(l.tr,{children:[(0,s.jsx)(l.td,{style:{textAlign:"left"},children:(0,s.jsx)(l.code,{children:"inputLength"})}),(0,s.jsx)(l.td,{style:{textAlign:"left"},children:(0,s.jsx)(l.code,{children:"number"})}),(0,s.jsx)(l.td,{style:{textAlign:"left"},children:"Maximum length of array of bytes which can be using in this function"})]})]})]}),"\n",(0,s.jsx)(l.h4,{id:"returns-3",children:"Returns"}),"\n",(0,s.jsx)(l.p,{children:(0,s.jsx)(l.code,{children:"number"})}),"\n",(0,s.jsx)(l.p,{children:"Offset after least decoded byte"}),"\n",(0,s.jsx)(l.h4,{id:"implementation-of-3",children:"Implementation of"}),"\n",(0,s.jsxs)(l.p,{children:[(0,s.jsx)(l.a,{href:"/docs/api/interfaces/IBerConvertible",children:"IBerConvertible"}),".",(0,s.jsx)(l.a,{href:"/docs/api/interfaces/IBerConvertible#fromber",children:"fromBER"})]}),"\n",(0,s.jsx)(l.hr,{}),"\n",(0,s.jsx)(l.h3,{id:"isequal",children:"isEqual"}),"\n",(0,s.jsxs)(l.p,{children:["\u25b8 ",(0,s.jsx)(l.strong,{children:"isEqual"}),"(",(0,s.jsx)(l.code,{children:"other"}),"): other is BaseBlock<T, J>"]}),"\n",(0,s.jsx)(l.p,{children:"Determines whether two object instances are equal"}),"\n",(0,s.jsx)(l.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,s.jsxs)(l.table,{children:[(0,s.jsx)(l.thead,{children:(0,s.jsxs)(l.tr,{children:[(0,s.jsx)(l.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(l.th,{style:{textAlign:"left"},children:"Type"}),(0,s.jsx)(l.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,s.jsx)(l.tbody,{children:(0,s.jsxs)(l.tr,{children:[(0,s.jsx)(l.td,{style:{textAlign:"left"},children:(0,s.jsx)(l.code,{children:"other"})}),(0,s.jsx)(l.td,{style:{textAlign:"left"},children:(0,s.jsx)(l.code,{children:"unknown"})}),(0,s.jsx)(l.td,{style:{textAlign:"left"},children:"Object to compare with the current object"})]})})]}),"\n",(0,s.jsx)(l.h4,{id:"returns-4",children:"Returns"}),"\n",(0,s.jsx)(l.p,{children:"other is BaseBlock<T, J>"}),"\n",(0,s.jsx)(l.hr,{}),"\n",(0,s.jsx)(l.h3,{id:"onasciiencoding",children:"onAsciiEncoding"}),"\n",(0,s.jsxs)(l.p,{children:["\u25b8 ",(0,s.jsx)(l.strong,{children:"onAsciiEncoding"}),"(): ",(0,s.jsx)(l.code,{children:"string"})]}),"\n",(0,s.jsx)(l.h4,{id:"returns-5",children:"Returns"}),"\n",(0,s.jsx)(l.p,{children:(0,s.jsx)(l.code,{children:"string"})}),"\n",(0,s.jsx)(l.hr,{}),"\n",(0,s.jsx)(l.h3,{id:"tober",children:"toBER"}),"\n",(0,s.jsxs)(l.p,{children:["\u25b8 ",(0,s.jsx)(l.strong,{children:"toBER"}),"(",(0,s.jsx)(l.code,{children:"sizeOnly?"}),", ",(0,s.jsx)(l.code,{children:"writer?"}),"): ",(0,s.jsx)(l.code,{children:"ArrayBuffer"})]}),"\n",(0,s.jsx)(l.p,{children:"Encoding of current ASN.1 block into ASN.1 encoded array (BER rules)"}),"\n",(0,s.jsx)(l.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,s.jsxs)(l.table,{children:[(0,s.jsx)(l.thead,{children:(0,s.jsxs)(l.tr,{children:[(0,s.jsx)(l.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(l.th,{style:{textAlign:"left"},children:"Type"}),(0,s.jsx)(l.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,s.jsxs)(l.tbody,{children:[(0,s.jsxs)(l.tr,{children:[(0,s.jsx)(l.td,{style:{textAlign:"left"},children:(0,s.jsx)(l.code,{children:"sizeOnly?"})}),(0,s.jsx)(l.td,{style:{textAlign:"left"},children:(0,s.jsx)(l.code,{children:"boolean"})}),(0,s.jsx)(l.td,{style:{textAlign:"left"},children:"Flag that we need only a size of encoding, not a real array of bytes"})]}),(0,s.jsxs)(l.tr,{children:[(0,s.jsx)(l.td,{style:{textAlign:"left"},children:(0,s.jsx)(l.code,{children:"writer?"})}),(0,s.jsx)(l.td,{style:{textAlign:"left"},children:(0,s.jsx)(l.a,{href:"/docs/api/classes/ViewWriter",children:(0,s.jsx)(l.code,{children:"ViewWriter"})})}),(0,s.jsx)(l.td,{style:{textAlign:"left"},children:"-"})]})]})]}),"\n",(0,s.jsx)(l.h4,{id:"returns-6",children:"Returns"}),"\n",(0,s.jsx)(l.p,{children:(0,s.jsx)(l.code,{children:"ArrayBuffer"})}),"\n",(0,s.jsx)(l.p,{children:"ASN.1 BER encoded array"}),"\n",(0,s.jsx)(l.h4,{id:"implementation-of-4",children:"Implementation of"}),"\n",(0,s.jsxs)(l.p,{children:[(0,s.jsx)(l.a,{href:"/docs/api/interfaces/IBerConvertible",children:"IBerConvertible"}),".",(0,s.jsx)(l.a,{href:"/docs/api/interfaces/IBerConvertible#tober",children:"toBER"})]}),"\n",(0,s.jsx)(l.hr,{}),"\n",(0,s.jsx)(l.h3,{id:"tojson",children:"toJSON"}),"\n",(0,s.jsxs)(l.p,{children:["\u25b8 ",(0,s.jsx)(l.strong,{children:"toJSON"}),"(): ",(0,s.jsx)(l.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,s.jsx)(l.code,{children:"BaseBlockJson"})}),"<",(0,s.jsx)(l.code,{children:"J"}),">"]}),"\n",(0,s.jsx)(l.h4,{id:"returns-7",children:"Returns"}),"\n",(0,s.jsxs)(l.p,{children:[(0,s.jsx)(l.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,s.jsx)(l.code,{children:"BaseBlockJson"})}),"<",(0,s.jsx)(l.code,{children:"J"}),">"]}),"\n",(0,s.jsx)(l.h4,{id:"overrides-2",children:"Overrides"}),"\n",(0,s.jsx)(l.p,{children:"LocalBaseBlock.toJSON"}),"\n",(0,s.jsx)(l.hr,{}),"\n",(0,s.jsx)(l.h3,{id:"tostring",children:"toString"}),"\n",(0,s.jsxs)(l.p,{children:["\u25b8 ",(0,s.jsx)(l.strong,{children:"toString"}),"(",(0,s.jsx)(l.code,{children:"encoding?"}),"): ",(0,s.jsx)(l.code,{children:"string"})]}),"\n",(0,s.jsx)(l.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,s.jsxs)(l.table,{children:[(0,s.jsx)(l.thead,{children:(0,s.jsxs)(l.tr,{children:[(0,s.jsx)(l.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(l.th,{style:{textAlign:"left"},children:"Type"}),(0,s.jsx)(l.th,{style:{textAlign:"left"},children:"Default value"})]})}),(0,s.jsx)(l.tbody,{children:(0,s.jsxs)(l.tr,{children:[(0,s.jsx)(l.td,{style:{textAlign:"left"},children:(0,s.jsx)(l.code,{children:"encoding"})}),(0,s.jsx)(l.td,{style:{textAlign:"left"},children:(0,s.jsx)(l.a,{href:"../#stringencoding",children:(0,s.jsx)(l.code,{children:"StringEncoding"})})}),(0,s.jsx)(l.td,{style:{textAlign:"left"},children:(0,s.jsx)(l.code,{children:'"ascii"'})})]})})]}),"\n",(0,s.jsx)(l.h4,{id:"returns-8",children:"Returns"}),"\n",(0,s.jsx)(l.p,{children:(0,s.jsx)(l.code,{children:"string"})}),"\n",(0,s.jsx)(l.hr,{}),"\n",(0,s.jsx)(l.h3,{id:"blockname",children:"blockName"}),"\n",(0,s.jsxs)(l.p,{children:["\u25b8 ",(0,s.jsx)(l.strong,{children:"blockName"}),"(): ",(0,s.jsx)(l.code,{children:"string"})]}),"\n",(0,s.jsx)(l.p,{children:"Aux function, need to get a block name. Need to have it here for inheritance"}),"\n",(0,s.jsx)(l.h4,{id:"returns-9",children:"Returns"}),"\n",(0,s.jsx)(l.p,{children:(0,s.jsx)(l.code,{children:"string"})}),"\n",(0,s.jsx)(l.p,{children:"Returns name of the block"}),"\n",(0,s.jsx)(l.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,s.jsx)(l.p,{children:"LocalBaseBlock.blockName"})]})}function a(e={}){const{wrapper:l}={...(0,r.a)(),...e.components};return l?(0,s.jsx)(l,{...e,children:(0,s.jsx)(o,{...e})}):o(e)}},1151:(e,l,n)=>{n.d(l,{Z:()=>c,a:()=>d});var s=n(7294);const r={},i=s.createContext(r);function d(e){const l=s.useContext(i);return s.useMemo((function(){return"function"==typeof e?e(l):{...l,...e}}),[l,e])}function c(e){let l;return l=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:d(e.components),s.createElement(i.Provider,{value:l},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/5bfd37b4.a548e0ab.js b/assets/js/5bfd37b4.a548e0ab.js new file mode 100644 index 0000000..44fee94 --- /dev/null +++ b/assets/js/5bfd37b4.a548e0ab.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[9936],{8527:(e,i,r)=>{r.r(i),r.d(i,{assets:()=>c,contentTitle:()=>d,default:()=>a,frontMatter:()=>l,metadata:()=>t,toc:()=>h});var n=r(5893),s=r(1151);const l={id:"UTCTime",title:"Class: UTCTime",sidebar_label:"UTCTime",sidebar_position:0,custom_edit_url:null},d=void 0,t={id:"api/classes/UTCTime",title:"Class: UTCTime",description:"Hierarchy",source:"@site/docs/api/classes/UTCTime.md",sourceDirName:"api/classes",slug:"/api/classes/UTCTime",permalink:"/docs/api/classes/UTCTime",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"UTCTime",title:"Class: UTCTime",sidebar_label:"UTCTime",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"TimeOfDay",permalink:"/docs/api/classes/TimeOfDay"},next:{title:"UniversalString",permalink:"/docs/api/classes/UniversalString"}},c={},h=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Implements",id:"implements",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Overrides",id:"overrides",level:4},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"day",id:"day",level:3},{value:"Implementation of",id:"implementation-of",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"hour",id:"hour",level:3},{value:"Implementation of",id:"implementation-of-1",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"minute",id:"minute",level:3},{value:"Implementation of",id:"implementation-of-2",level:4},{value:"month",id:"month",level:3},{value:"Implementation of",id:"implementation-of-3",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"second",id:"second",level:3},{value:"Implementation of",id:"implementation-of-4",level:4},{value:"valueBeforeDecodeView",id:"valuebeforedecodeview",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"valueBlock",id:"valueblock",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"year",id:"year",level:3},{value:"Implementation of",id:"implementation-of-5",level:4},{value:"NAME",id:"name-1",level:3},{value:"Overrides",id:"overrides-1",level:4},{value:"Accessors",id:"accessors",level:2},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Returns",id:"returns-1",level:4},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Methods",id:"methods",level:2},{value:"fromBER",id:"fromber",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"fromBuffer",id:"frombuffer",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-4",level:4},{value:"Overrides",id:"overrides-2",level:4},{value:"fromDate",id:"fromdate",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-5",level:4},{value:"Implementation of",id:"implementation-of-6",level:4},{value:"fromString",id:"fromstring",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-6",level:4},{value:"Overrides",id:"overrides-3",level:4},{value:"getValue",id:"getvalue",level:3},{value:"Returns",id:"returns-7",level:4},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"isEqual",id:"isequal",level:3},{value:"Parameters",id:"parameters-6",level:4},{value:"Returns",id:"returns-8",level:4},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"onAsciiEncoding",id:"onasciiencoding",level:3},{value:"Returns",id:"returns-9",level:4},{value:"Overrides",id:"overrides-4",level:4},{value:"setValue",id:"setvalue",level:3},{value:"Parameters",id:"parameters-7",level:4},{value:"Returns",id:"returns-10",level:4},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"toBER",id:"tober",level:3},{value:"Parameters",id:"parameters-8",level:4},{value:"Returns",id:"returns-11",level:4},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"toBuffer",id:"tobuffer",level:3},{value:"Returns",id:"returns-12",level:4},{value:"toDate",id:"todate",level:3},{value:"Returns",id:"returns-13",level:4},{value:"Implementation of",id:"implementation-of-7",level:4},{value:"toJSON",id:"tojson",level:3},{value:"Returns",id:"returns-14",level:4},{value:"Overrides",id:"overrides-5",level:4},{value:"toString",id:"tostring",level:3},{value:"Parameters",id:"parameters-9",level:4},{value:"Returns",id:"returns-15",level:4},{value:"Overrides",id:"overrides-6",level:4},{value:"blockName",id:"blockname",level:3},{value:"Returns",id:"returns-16",level:4},{value:"Inherited from",id:"inherited-from-17",level:4}];function o(e){const i={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,s.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,n.jsxs)(i.ul,{children:["\n",(0,n.jsxs)(i.li,{children:["\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString",children:(0,n.jsx)(i.code,{children:"VisibleString"})})}),"\n",(0,n.jsxs)(i.p,{children:["\u21b3 ",(0,n.jsx)(i.strong,{children:(0,n.jsx)(i.code,{children:"UTCTime"})})]}),"\n",(0,n.jsxs)(i.p,{children:["\u21b3\u21b3 ",(0,n.jsx)(i.a,{href:"/docs/api/classes/GeneralizedTime",children:(0,n.jsx)(i.code,{children:"GeneralizedTime"})})]}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(i.h2,{id:"implements",children:"Implements"}),"\n",(0,n.jsxs)(i.ul,{children:["\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.a,{href:"/docs/api/interfaces/IUTCTime",children:(0,n.jsx)(i.code,{children:"IUTCTime"})})}),"\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.a,{href:"/docs/api/interfaces/IDateConvertible",children:(0,n.jsx)(i.code,{children:"IDateConvertible"})})}),"\n"]}),"\n",(0,n.jsx)(i.h2,{id:"constructors",children:"Constructors"}),"\n",(0,n.jsx)(i.h3,{id:"constructor",children:"constructor"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.strong,{children:"new UTCTime"}),"(",(0,n.jsx)(i.code,{children:"\xabdestructured\xbb?"}),"): ",(0,n.jsx)(i.a,{href:"/docs/api/classes/UTCTime",children:(0,n.jsx)(i.code,{children:"UTCTime"})})]}),"\n",(0,n.jsx)(i.h4,{id:"parameters",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(i.tbody,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"\xabdestructured\xbb"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.a,{href:"/docs/api/interfaces/UTCTimeParams",children:(0,n.jsx)(i.code,{children:"UTCTimeParams"})})})]})})]}),"\n",(0,n.jsx)(i.h4,{id:"returns",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"/docs/api/classes/UTCTime",children:(0,n.jsx)(i.code,{children:"UTCTime"})})}),"\n",(0,n.jsx)(i.h4,{id:"overrides",children:"Overrides"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString",children:"VisibleString"}),".",(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString#constructor",children:"constructor"})]}),"\n",(0,n.jsx)(i.h2,{id:"properties",children:"Properties"}),"\n",(0,n.jsx)(i.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.strong,{children:"blockLength"}),": ",(0,n.jsx)(i.code,{children:"number"})]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString",children:"VisibleString"}),".",(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString#blocklength",children:"blockLength"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"day",children:"day"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.strong,{children:"day"}),": ",(0,n.jsx)(i.code,{children:"number"})]}),"\n",(0,n.jsx)(i.h4,{id:"implementation-of",children:"Implementation of"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/interfaces/IUTCTime",children:"IUTCTime"}),".",(0,n.jsx)(i.a,{href:"/docs/api/interfaces/IUTCTime#day",children:"day"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"error",children:"error"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.strong,{children:"error"}),": ",(0,n.jsx)(i.code,{children:"string"})]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString",children:"VisibleString"}),".",(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString#error",children:"error"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"hour",children:"hour"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.strong,{children:"hour"}),": ",(0,n.jsx)(i.code,{children:"number"})]}),"\n",(0,n.jsx)(i.h4,{id:"implementation-of-1",children:"Implementation of"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/interfaces/IUTCTime",children:"IUTCTime"}),".",(0,n.jsx)(i.a,{href:"/docs/api/interfaces/IUTCTime#hour",children:"hour"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"idblock",children:"idBlock"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.strong,{children:"idBlock"}),": ",(0,n.jsx)(i.code,{children:"LocalIdentificationBlock"})]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString",children:"VisibleString"}),".",(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString#idblock",children:"idBlock"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.strong,{children:"lenBlock"}),": ",(0,n.jsx)(i.code,{children:"LocalLengthBlock"})]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString",children:"VisibleString"}),".",(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString#lenblock",children:"lenBlock"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"minute",children:"minute"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.strong,{children:"minute"}),": ",(0,n.jsx)(i.code,{children:"number"})]}),"\n",(0,n.jsx)(i.h4,{id:"implementation-of-2",children:"Implementation of"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/interfaces/IUTCTime",children:"IUTCTime"}),".",(0,n.jsx)(i.a,{href:"/docs/api/interfaces/IUTCTime#minute",children:"minute"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"month",children:"month"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.strong,{children:"month"}),": ",(0,n.jsx)(i.code,{children:"number"})]}),"\n",(0,n.jsx)(i.h4,{id:"implementation-of-3",children:"Implementation of"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/interfaces/IUTCTime",children:"IUTCTime"}),".",(0,n.jsx)(i.a,{href:"/docs/api/interfaces/IUTCTime#month",children:"month"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"name",children:"name"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.strong,{children:"name"}),": ",(0,n.jsx)(i.code,{children:"string"})]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString",children:"VisibleString"}),".",(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString#name",children:"name"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"optional",children:"optional"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.strong,{children:"optional"}),": ",(0,n.jsx)(i.code,{children:"boolean"})]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString",children:"VisibleString"}),".",(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString#optional",children:"optional"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"primitiveSchema"}),": ",(0,n.jsx)(i.a,{href:"/docs/api/classes/BaseBlock",children:(0,n.jsx)(i.code,{children:"BaseBlock"})}),"<",(0,n.jsx)(i.a,{href:"/docs/api/classes/ValueBlock",children:(0,n.jsx)(i.code,{children:"ValueBlock"})}),", ",(0,n.jsx)(i.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString",children:"VisibleString"}),".",(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString#primitiveschema",children:"primitiveSchema"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"second",children:"second"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.strong,{children:"second"}),": ",(0,n.jsx)(i.code,{children:"number"})]}),"\n",(0,n.jsx)(i.h4,{id:"implementation-of-4",children:"Implementation of"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/interfaces/IUTCTime",children:"IUTCTime"}),".",(0,n.jsx)(i.a,{href:"/docs/api/interfaces/IUTCTime#second",children:"second"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"valuebeforedecodeview",children:"valueBeforeDecodeView"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.strong,{children:"valueBeforeDecodeView"}),": ",(0,n.jsx)(i.code,{children:"Uint8Array"})]}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.strong,{children:(0,n.jsx)(i.code,{children:"Since"})})}),"\n",(0,n.jsx)(i.p,{children:"3.0.0"}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString",children:"VisibleString"}),".",(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString#valuebeforedecodeview",children:"valueBeforeDecodeView"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"valueblock",children:"valueBlock"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.strong,{children:"valueBlock"}),": ",(0,n.jsx)(i.code,{children:"LocalSimpleStringValueBlock"})]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString",children:"VisibleString"}),".",(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString#valueblock",children:"valueBlock"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"warnings",children:"warnings"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.strong,{children:"warnings"}),": ",(0,n.jsx)(i.code,{children:"string"}),"[]"]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString",children:"VisibleString"}),".",(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString#warnings",children:"warnings"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"year",children:"year"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.strong,{children:"year"}),": ",(0,n.jsx)(i.code,{children:"number"})]}),"\n",(0,n.jsx)(i.h4,{id:"implementation-of-5",children:"Implementation of"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/interfaces/IUTCTime",children:"IUTCTime"}),".",(0,n.jsx)(i.a,{href:"/docs/api/interfaces/IUTCTime#year",children:"year"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"name-1",children:"NAME"}),"\n",(0,n.jsxs)(i.p,{children:["\u25aa ",(0,n.jsx)(i.code,{children:"Static"})," ",(0,n.jsx)(i.strong,{children:"NAME"}),": ",(0,n.jsx)(i.code,{children:"string"})," = ",(0,n.jsx)(i.code,{children:'"UTCTime"'})]}),"\n",(0,n.jsx)(i.h4,{id:"overrides-1",children:"Overrides"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString",children:"VisibleString"}),".",(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString#name-1",children:"NAME"})]}),"\n",(0,n.jsx)(i.h2,{id:"accessors",children:"Accessors"}),"\n",(0,n.jsx)(i.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"get"})," ",(0,n.jsx)(i.strong,{children:"valueBeforeDecode"}),"(): ",(0,n.jsx)(i.code,{children:"ArrayBuffer"})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-1",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"ArrayBuffer"})}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.strong,{children:(0,n.jsx)(i.code,{children:"Deprecated"})})}),"\n",(0,n.jsx)(i.p,{children:"since version 3.0.0"}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,n.jsx)(i.p,{children:"VisibleString.valueBeforeDecode"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"set"})," ",(0,n.jsx)(i.strong,{children:"valueBeforeDecode"}),"(",(0,n.jsx)(i.code,{children:"value"}),"): ",(0,n.jsx)(i.code,{children:"void"})]}),"\n",(0,n.jsx)(i.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(i.tbody,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"value"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"ArrayBuffer"})})]})})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-2",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"void"})}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.strong,{children:(0,n.jsx)(i.code,{children:"Deprecated"})})}),"\n",(0,n.jsx)(i.p,{children:"since version 3.0.0"}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,n.jsx)(i.p,{children:"VisibleString.valueBeforeDecode"}),"\n",(0,n.jsx)(i.h2,{id:"methods",children:"Methods"}),"\n",(0,n.jsx)(i.h3,{id:"fromber",children:"fromBER"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"fromBER"}),"(",(0,n.jsx)(i.code,{children:"inputBuffer"}),", ",(0,n.jsx)(i.code,{children:"inputOffset"}),", ",(0,n.jsx)(i.code,{children:"inputLength"}),"): ",(0,n.jsx)(i.code,{children:"number"})]}),"\n",(0,n.jsx)(i.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(i.tbody,{children:[(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"inputBuffer"})}),(0,n.jsxs)(i.td,{style:{textAlign:"left"},children:[(0,n.jsx)(i.code,{children:"Uint8Array"})," | ",(0,n.jsx)(i.code,{children:"ArrayBuffer"})]})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"inputOffset"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"number"})})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"inputLength"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"number"})})]})]})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-3",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"number"})}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString",children:"VisibleString"}),".",(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString#fromber",children:"fromBER"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"frombuffer",children:"fromBuffer"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"fromBuffer"}),"(",(0,n.jsx)(i.code,{children:"inputBuffer"}),"): ",(0,n.jsx)(i.code,{children:"void"})]}),"\n",(0,n.jsx)(i.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(i.tbody,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"inputBuffer"})}),(0,n.jsxs)(i.td,{style:{textAlign:"left"},children:[(0,n.jsx)(i.code,{children:"Uint8Array"})," | ",(0,n.jsx)(i.code,{children:"ArrayBuffer"})]})]})})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-4",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"void"})}),"\n",(0,n.jsx)(i.h4,{id:"overrides-2",children:"Overrides"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString",children:"VisibleString"}),".",(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString#frombuffer",children:"fromBuffer"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"fromdate",children:"fromDate"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"fromDate"}),"(",(0,n.jsx)(i.code,{children:"inputDate"}),"): ",(0,n.jsx)(i.code,{children:"void"})]}),"\n",(0,n.jsx)(i.p,{children:'Function converting "Date" object into ASN.1 internal string'}),"\n",(0,n.jsx)(i.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,n.jsx)(i.tbody,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"inputDate"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"Date"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:'JavaScript "Date" object'})]})})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-5",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"void"})}),"\n",(0,n.jsx)(i.h4,{id:"implementation-of-6",children:"Implementation of"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/interfaces/IDateConvertible",children:"IDateConvertible"}),".",(0,n.jsx)(i.a,{href:"/docs/api/interfaces/IDateConvertible#fromdate",children:"fromDate"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"fromstring",children:"fromString"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"fromString"}),"(",(0,n.jsx)(i.code,{children:"inputString"}),"): ",(0,n.jsx)(i.code,{children:"void"})]}),"\n",(0,n.jsx)(i.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(i.tbody,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"inputString"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"string"})})]})})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-6",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"void"})}),"\n",(0,n.jsx)(i.h4,{id:"overrides-3",children:"Overrides"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString",children:"VisibleString"}),".",(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString#fromstring",children:"fromString"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"getvalue",children:"getValue"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"getValue"}),"(): ",(0,n.jsx)(i.code,{children:"string"})]}),"\n",(0,n.jsx)(i.p,{children:"String value"}),"\n",(0,n.jsx)(i.h4,{id:"returns-7",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"string"})}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.strong,{children:(0,n.jsx)(i.code,{children:"Since"})})}),"\n",(0,n.jsx)(i.p,{children:"3.0.0"}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString",children:"VisibleString"}),".",(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString#getvalue",children:"getValue"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"isequal",children:"isEqual"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"isEqual"}),"(",(0,n.jsx)(i.code,{children:"other"}),"): other is UTCTime"]}),"\n",(0,n.jsx)(i.p,{children:"Determines whether two object instances are equal"}),"\n",(0,n.jsx)(i.h4,{id:"parameters-6",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,n.jsx)(i.tbody,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"other"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"unknown"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:"Object to compare with the current object"})]})})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-8",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:"other is UTCTime"}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString",children:"VisibleString"}),".",(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString#isequal",children:"isEqual"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"onasciiencoding",children:"onAsciiEncoding"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"onAsciiEncoding"}),"(): ",(0,n.jsx)(i.code,{children:"string"})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-9",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"string"})}),"\n",(0,n.jsx)(i.h4,{id:"overrides-4",children:"Overrides"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString",children:"VisibleString"}),".",(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString#onasciiencoding",children:"onAsciiEncoding"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"setvalue",children:"setValue"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"setValue"}),"(",(0,n.jsx)(i.code,{children:"value"}),"): ",(0,n.jsx)(i.code,{children:"void"})]}),"\n",(0,n.jsx)(i.p,{children:"String value"}),"\n",(0,n.jsx)(i.h4,{id:"parameters-7",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,n.jsx)(i.tbody,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"value"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"string"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:"String value"})]})})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-10",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"void"})}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.strong,{children:(0,n.jsx)(i.code,{children:"Since"})})}),"\n",(0,n.jsx)(i.p,{children:"3.0.0"}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString",children:"VisibleString"}),".",(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString#setvalue",children:"setValue"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"tober",children:"toBER"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"toBER"}),"(",(0,n.jsx)(i.code,{children:"sizeOnly?"}),", ",(0,n.jsx)(i.code,{children:"writer?"}),"): ",(0,n.jsx)(i.code,{children:"ArrayBuffer"})]}),"\n",(0,n.jsx)(i.h4,{id:"parameters-8",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(i.tbody,{children:[(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"sizeOnly?"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"boolean"})})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"writer?"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.a,{href:"/docs/api/classes/ViewWriter",children:(0,n.jsx)(i.code,{children:"ViewWriter"})})})]})]})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-11",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"ArrayBuffer"})}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString",children:"VisibleString"}),".",(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString#tober",children:"toBER"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"tobuffer",children:"toBuffer"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"toBuffer"}),"(): ",(0,n.jsx)(i.code,{children:"ArrayBuffer"})]}),"\n",(0,n.jsx)(i.p,{children:"Function converting ASN.1 internal string into ArrayBuffer"}),"\n",(0,n.jsx)(i.h4,{id:"returns-12",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"ArrayBuffer"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"todate",children:"toDate"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"toDate"}),"(): ",(0,n.jsx)(i.code,{children:"Date"})]}),"\n",(0,n.jsx)(i.p,{children:"Converts a class object into the JavaScrip Date Object"}),"\n",(0,n.jsx)(i.h4,{id:"returns-13",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"Date"})}),"\n",(0,n.jsx)(i.p,{children:"Date object"}),"\n",(0,n.jsx)(i.h4,{id:"implementation-of-7",children:"Implementation of"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/interfaces/IDateConvertible",children:"IDateConvertible"}),".",(0,n.jsx)(i.a,{href:"/docs/api/interfaces/IDateConvertible#todate",children:"toDate"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"tojson",children:"toJSON"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"toJSON"}),"(): ",(0,n.jsx)(i.a,{href:"/docs/api/interfaces/UTCTimeJson",children:(0,n.jsx)(i.code,{children:"UTCTimeJson"})})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-14",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"/docs/api/interfaces/UTCTimeJson",children:(0,n.jsx)(i.code,{children:"UTCTimeJson"})})}),"\n",(0,n.jsx)(i.h4,{id:"overrides-5",children:"Overrides"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString",children:"VisibleString"}),".",(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString#tojson",children:"toJSON"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"tostring",children:"toString"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"toString"}),"(",(0,n.jsx)(i.code,{children:"encoding?"}),"): ",(0,n.jsx)(i.code,{children:"string"})]}),"\n",(0,n.jsx)(i.h4,{id:"parameters-9",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Default value"})]})}),(0,n.jsx)(i.tbody,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"encoding"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.a,{href:"../#datestringencoding",children:(0,n.jsx)(i.code,{children:"DateStringEncoding"})})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:'"iso"'})})]})})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-15",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"string"})}),"\n",(0,n.jsx)(i.h4,{id:"overrides-6",children:"Overrides"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString",children:"VisibleString"}),".",(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString#tostring",children:"toString"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"blockname",children:"blockName"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"blockName"}),"(): ",(0,n.jsx)(i.code,{children:"string"})]}),"\n",(0,n.jsx)(i.p,{children:"Aux function, need to get a block name. Need to have it here for inheritance"}),"\n",(0,n.jsx)(i.h4,{id:"returns-16",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"string"})}),"\n",(0,n.jsx)(i.p,{children:"Returns name of the block"}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-17",children:"Inherited from"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString",children:"VisibleString"}),".",(0,n.jsx)(i.a,{href:"/docs/api/classes/VisibleString#blockname",children:"blockName"})]})]})}function a(e={}){const{wrapper:i}={...(0,s.a)(),...e.components};return i?(0,n.jsx)(i,{...e,children:(0,n.jsx)(o,{...e})}):o(e)}},1151:(e,i,r)=>{r.d(i,{Z:()=>t,a:()=>d});var n=r(7294);const s={},l=n.createContext(s);function d(e){const i=n.useContext(l);return n.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function t(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:d(e.components),n.createElement(l.Provider,{value:i},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/5e73ccd4.a953521f.js b/assets/js/5e73ccd4.a953521f.js new file mode 100644 index 0000000..d44c3f8 --- /dev/null +++ b/assets/js/5e73ccd4.a953521f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[6871],{6967:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>d,contentTitle:()=>c,default:()=>t,frontMatter:()=>l,metadata:()=>o,toc:()=>a});var r=i(5893),s=i(1151);const l={id:"ObjectIdentifierJson",title:"Interface: ObjectIdentifierJson",sidebar_label:"ObjectIdentifierJson",sidebar_position:0,custom_edit_url:null},c=void 0,o={id:"api/interfaces/ObjectIdentifierJson",title:"Interface: ObjectIdentifierJson",description:"Hierarchy",source:"@site/docs/api/interfaces/ObjectIdentifierJson.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/ObjectIdentifierJson",permalink:"/docs/api/interfaces/ObjectIdentifierJson",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"ObjectIdentifierJson",title:"Interface: ObjectIdentifierJson",sidebar_label:"ObjectIdentifierJson",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"IntegerParams",permalink:"/docs/api/interfaces/IntegerParams"},next:{title:"ObjectIdentifierParams",permalink:"/docs/api/interfaces/ObjectIdentifierParams"}},d={},a=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"blockName",id:"blockname",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"value",id:"value",level:3},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"valueBlock",id:"valueblock",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-10",level:4}];function h(e){const n={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,s.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,r.jsx)(n.code,{children:"BaseBlockJson"})}),"<",(0,r.jsx)(n.code,{children:"LocalObjectIdentifierValueBlockJson"}),">"]}),"\n",(0,r.jsxs)(n.p,{children:["\u21b3 ",(0,r.jsx)(n.strong,{children:(0,r.jsx)(n.code,{children:"ObjectIdentifierJson"})})]}),"\n"]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"properties",children:"Properties"}),"\n",(0,r.jsx)(n.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"blockLength"}),": ",(0,r.jsx)(n.code,{children:"number"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson",children:"BaseBlockJson"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson#blocklength",children:"blockLength"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"blockname",children:"blockName"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"blockName"}),": ",(0,r.jsx)(n.code,{children:"string"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson",children:"BaseBlockJson"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson#blockname",children:"blockName"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"error",children:"error"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"error"}),": ",(0,r.jsx)(n.code,{children:"string"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson",children:"BaseBlockJson"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson#error",children:"error"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"idblock",children:"idBlock"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"idBlock"}),": ",(0,r.jsx)(n.code,{children:"LocalIdentificationBlockJson"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson",children:"BaseBlockJson"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson#idblock",children:"idBlock"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"lenBlock"}),": ",(0,r.jsx)(n.code,{children:"LocalLengthBlockJson"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson",children:"BaseBlockJson"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson#lenblock",children:"lenBlock"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"name",children:"name"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"name"}),": ",(0,r.jsx)(n.code,{children:"string"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson",children:"BaseBlockJson"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson#name",children:"name"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"optional",children:"optional"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"optional"}),": ",(0,r.jsx)(n.code,{children:"boolean"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson",children:"BaseBlockJson"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson#optional",children:"optional"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.code,{children:"Optional"})," ",(0,r.jsx)(n.strong,{children:"primitiveSchema"}),": ",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,r.jsx)(n.code,{children:"BaseBlockJson"})}),"<",(0,r.jsx)(n.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson",children:"BaseBlockJson"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson#primitiveschema",children:"primitiveSchema"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"value",children:"value"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"value"}),": ",(0,r.jsx)(n.code,{children:"string"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"valueBeforeDecode"}),": ",(0,r.jsx)(n.code,{children:"string"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson",children:"BaseBlockJson"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson#valuebeforedecode",children:"valueBeforeDecode"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"valueblock",children:"valueBlock"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"valueBlock"}),": ",(0,r.jsx)(n.code,{children:"LocalObjectIdentifierValueBlockJson"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson",children:"BaseBlockJson"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson#valueblock",children:"valueBlock"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"warnings",children:"warnings"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"warnings"}),": ",(0,r.jsx)(n.code,{children:"string"}),"[]"]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson",children:"BaseBlockJson"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson#warnings",children:"warnings"})]})]})}function t(e={}){const{wrapper:n}={...(0,s.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(h,{...e})}):h(e)}},1151:(e,n,i)=>{i.d(n,{Z:()=>o,a:()=>c});var r=i(7294);const s={},l=r.createContext(s);function c(e){const n=r.useContext(l);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:c(e.components),r.createElement(l.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/5e8c322a.6957584d.js b/assets/js/5e8c322a.6957584d.js new file mode 100644 index 0000000..deb8ac2 --- /dev/null +++ b/assets/js/5e8c322a.6957584d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[7597],{1235:(e,s,n)=>{n.r(s),n.d(s,{assets:()=>d,contentTitle:()=>c,default:()=>o,frontMatter:()=>l,metadata:()=>a,toc:()=>t});var r=n(5893),i=n(1151);const l={id:"index",title:"asn1js",sidebar_label:"Exports",sidebar_position:.5,custom_edit_url:null},c=void 0,a={id:"api/index",title:"asn1js",description:"Classes",source:"@site/docs/api/index.md",sourceDirName:"api",slug:"/api/",permalink:"/docs/api/",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:.5,frontMatter:{id:"index",title:"asn1js",sidebar_label:"Exports",sidebar_position:.5,custom_edit_url:null},sidebar:"docs",previous:{title:"Installation",permalink:"/docs/installation"},next:{title:"Any",permalink:"/docs/api/classes/Any"}},d={},t=[{value:"Classes",id:"classes",level:2},{value:"Interfaces",id:"interfaces",level:2},{value:"Type Aliases",id:"type-aliases",level:2},{value:"AnyParams",id:"anyparams",level:3},{value:"AsnSchemaType",id:"asnschematype",level:3},{value:"AsnType",id:"asntype",level:3},{value:"BaseStringBlockJson",id:"basestringblockjson",level:3},{value:"BitStringJson",id:"bitstringjson",level:3},{value:"BmpStringJson",id:"bmpstringjson",level:3},{value:"BmpStringParams",id:"bmpstringparams",level:3},{value:"BooleanJson",id:"booleanjson",level:3},{value:"CharacterStringJson",id:"characterstringjson",level:3},{value:"CharacterStringParams",id:"characterstringparams",level:3},{value:"ChoiceParams",id:"choiceparams",level:3},{value:"CompareSchemaResult",id:"compareschemaresult",level:3},{value:"ConstructedJson",id:"constructedjson",level:3},{value:"DATEJson",id:"datejson",level:3},{value:"DATEParams",id:"dateparams",level:3},{value:"DateStringEncoding",id:"datestringencoding",level:3},{value:"DateTimeJson",id:"datetimejson",level:3},{value:"DateTimeParams",id:"datetimeparams",level:3},{value:"DurationJson",id:"durationjson",level:3},{value:"DurationParams",id:"durationparams",level:3},{value:"EndOfContentJson",id:"endofcontentjson",level:3},{value:"EndOfContentParams",id:"endofcontentparams",level:3},{value:"EnumeratedJson",id:"enumeratedjson",level:3},{value:"EnumeratedParams",id:"enumeratedparams",level:3},{value:"GeneralStringJson",id:"generalstringjson",level:3},{value:"GeneralStringParams",id:"generalstringparams",level:3},{value:"GeneralizedTimeParams",id:"generalizedtimeparams",level:3},{value:"GraphicStringJson",id:"graphicstringjson",level:3},{value:"GraphicStringParams",id:"graphicstringparams",level:3},{value:"HexBlockParams",id:"hexblockparams",level:3},{value:"IA5StringJson",id:"ia5stringjson",level:3},{value:"IA5StringParams",id:"ia5stringparams",level:3},{value:"IValueBlock",id:"ivalueblock",level:3},{value:"IntegerJson",id:"integerjson",level:3},{value:"NullJson",id:"nulljson",level:3},{value:"NullParams",id:"nullparams",level:3},{value:"NumericStringJson",id:"numericstringjson",level:3},{value:"NumericStringParams",id:"numericstringparams",level:3},{value:"OctetStringJson",id:"octetstringjson",level:3},{value:"PrimitiveJson",id:"primitivejson",level:3},{value:"PrintableStringJson",id:"printablestringjson",level:3},{value:"PrintableStringParams",id:"printablestringparams",level:3},{value:"RawDataParams",id:"rawdataparams",level:3},{value:"RepeatedParams",id:"repeatedparams",level:3},{value:"SequenceJson",id:"sequencejson",level:3},{value:"SequenceParams",id:"sequenceparams",level:3},{value:"SetJson",id:"setjson",level:3},{value:"SetParams",id:"setparams",level:3},{value:"StringEncoding",id:"stringencoding",level:3},{value:"TIMEJson",id:"timejson",level:3},{value:"TIMEParams",id:"timeparams",level:3},{value:"TeletexStringJson",id:"teletexstringjson",level:3},{value:"TeletexStringParams",id:"teletexstringparams",level:3},{value:"TimeOfDayJson",id:"timeofdayjson",level:3},{value:"TimeOfDayParams",id:"timeofdayparams",level:3},{value:"UniversalStringJson",id:"universalstringjson",level:3},{value:"UniversalStringParams",id:"universalstringparams",level:3},{value:"Utf8StringJson",id:"utf8stringjson",level:3},{value:"ValueBlockJson",id:"valueblockjson",level:3},{value:"ValueBlockParams",id:"valueblockparams",level:3},{value:"VideotexStringJson",id:"videotexstringjson",level:3},{value:"VideotexStringParams",id:"videotexstringparams",level:3},{value:"VisibleStringJson",id:"visiblestringjson",level:3},{value:"VisibleStringParams",id:"visiblestringparams",level:3},{value:"Functions",id:"functions",level:2},{value:"HexBlock",id:"hexblock",level:3},{value:"Type parameters",id:"type-parameters",level:4},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"compareSchema",id:"compareschema",level:3},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-1",level:4},{value:"fromBER",id:"fromber",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-2",level:4},{value:"verifySchema",id:"verifyschema",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-3",level:4}];function h(e){const s={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.h2,{id:"classes",children:"Classes"}),"\n",(0,r.jsxs)(s.ul,{children:["\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/classes/Any",children:"Any"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/classes/BaseStringBlock",children:"BaseStringBlock"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/classes/BitString",children:"BitString"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/classes/BmpString",children:"BmpString"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/classes/Boolean",children:"Boolean"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/classes/CharacterString",children:"CharacterString"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/classes/Choice",children:"Choice"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/classes/Constructed",children:"Constructed"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/classes/DATE",children:"DATE"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/classes/DateTime",children:"DateTime"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/classes/Duration",children:"Duration"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/classes/EndOfContent",children:"EndOfContent"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/classes/Enumerated",children:"Enumerated"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/classes/GeneralString",children:"GeneralString"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/classes/GeneralizedTime",children:"GeneralizedTime"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/classes/GraphicString",children:"GraphicString"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/classes/IA5String",children:"IA5String"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/classes/Integer",children:"Integer"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/classes/Null",children:"Null"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/classes/NumericString",children:"NumericString"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/classes/ObjectIdentifier",children:"ObjectIdentifier"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/classes/OctetString",children:"OctetString"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/classes/Primitive",children:"Primitive"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/classes/PrintableString",children:"PrintableString"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/classes/RawData",children:"RawData"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/classes/RelativeObjectIdentifier",children:"RelativeObjectIdentifier"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/classes/Repeated",children:"Repeated"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/classes/Sequence",children:"Sequence"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/classes/Set",children:"Set"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/classes/TIME",children:"TIME"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/classes/TeletexString",children:"TeletexString"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/classes/TimeOfDay",children:"TimeOfDay"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/classes/UTCTime",children:"UTCTime"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/classes/UniversalString",children:"UniversalString"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/classes/ValueBlock",children:"ValueBlock"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/classes/VideotexString",children:"VideotexString"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/classes/ViewWriter",children:"ViewWriter"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/classes/VisibleString",children:"VisibleString"})}),"\n"]}),"\n",(0,r.jsx)(s.h2,{id:"interfaces",children:"Interfaces"}),"\n",(0,r.jsxs)(s.ul,{children:["\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/interfaces/BaseBlockJson",children:"BaseBlockJson"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/interfaces/BaseStringBlockParams",children:"BaseStringBlockParams"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/interfaces/BitStringParams",children:"BitStringParams"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/interfaces/BooleanParams",children:"BooleanParams"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/interfaces/CompareSchemaFail",children:"CompareSchemaFail"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/interfaces/CompareSchemaSuccess",children:"CompareSchemaSuccess"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/interfaces/ConstructedParams",children:"ConstructedParams"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/interfaces/FromBerResult",children:"FromBerResult"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/interfaces/GeneralizedTimeJson",children:"GeneralizedTimeJson"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/interfaces/HexBlockJson",children:"HexBlockJson"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/interfaces/IAny",children:"IAny"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/interfaces/IBaseBlock",children:"IBaseBlock"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/interfaces/IBerConvertible",children:"IBerConvertible"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/interfaces/IChoice",children:"IChoice"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/interfaces/IDateConvertible",children:"IDateConvertible"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/interfaces/IDerConvertible",children:"IDerConvertible"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/interfaces/IGeneralizedTime",children:"IGeneralizedTime"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/interfaces/IHexBlock",children:"IHexBlock"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/interfaces/IRawData",children:"IRawData"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/interfaces/IRepeated",children:"IRepeated"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/interfaces/IStringConvertible",children:"IStringConvertible"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/interfaces/IUTCTime",children:"IUTCTime"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/interfaces/IntegerParams",children:"IntegerParams"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/interfaces/ObjectIdentifierJson",children:"ObjectIdentifierJson"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/interfaces/ObjectIdentifierParams",children:"ObjectIdentifierParams"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/interfaces/OctetStringParams",children:"OctetStringParams"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/interfaces/PrimitiveParams",children:"PrimitiveParams"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/interfaces/RelativeObjectIdentifierJson",children:"RelativeObjectIdentifierJson"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/interfaces/RelativeObjectIdentifierParams",children:"RelativeObjectIdentifierParams"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/interfaces/UTCTimeJson",children:"UTCTimeJson"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/interfaces/UTCTimeParams",children:"UTCTimeParams"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/interfaces/Utf8StringParams",children:"Utf8StringParams"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/api/interfaces/ValueBlockConstructor",children:"ValueBlockConstructor"})}),"\n"]}),"\n",(0,r.jsx)(s.h2,{id:"type-aliases",children:"Type Aliases"}),"\n",(0,r.jsx)(s.h3,{id:"anyparams",children:"AnyParams"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"AnyParams"}),": ",(0,r.jsx)(s.code,{children:"Partial"}),"<",(0,r.jsx)(s.a,{href:"/docs/api/interfaces/IAny",children:(0,r.jsx)(s.code,{children:"IAny"})}),">"]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"asnschematype",children:"AsnSchemaType"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"AsnSchemaType"}),": ",(0,r.jsx)(s.a,{href:"#asntype",children:(0,r.jsx)(s.code,{children:"AsnType"})})," | ",(0,r.jsx)(s.a,{href:"/docs/api/classes/Any",children:(0,r.jsx)(s.code,{children:"Any"})})," | ",(0,r.jsx)(s.a,{href:"/docs/api/classes/Choice",children:(0,r.jsx)(s.code,{children:"Choice"})})," | ",(0,r.jsx)(s.a,{href:"/docs/api/classes/Repeated",children:(0,r.jsx)(s.code,{children:"Repeated"})})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"asntype",children:"AsnType"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"AsnType"}),": ",(0,r.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:(0,r.jsx)(s.code,{children:"BaseBlock"})})," | ",(0,r.jsx)(s.a,{href:"/docs/api/classes/EndOfContent",children:(0,r.jsx)(s.code,{children:"EndOfContent"})})," | ",(0,r.jsx)(s.a,{href:"/docs/api/classes/Boolean",children:(0,r.jsx)(s.code,{children:"Boolean"})})," | ",(0,r.jsx)(s.a,{href:"/docs/api/classes/Integer",children:(0,r.jsx)(s.code,{children:"Integer"})})," | ",(0,r.jsx)(s.a,{href:"/docs/api/classes/BitString",children:(0,r.jsx)(s.code,{children:"BitString"})})," | ",(0,r.jsx)(s.a,{href:"/docs/api/classes/OctetString",children:(0,r.jsx)(s.code,{children:"OctetString"})})," | ",(0,r.jsx)(s.a,{href:"/docs/api/classes/Null",children:(0,r.jsx)(s.code,{children:"Null"})})," | ",(0,r.jsx)(s.a,{href:"/docs/api/classes/ObjectIdentifier",children:(0,r.jsx)(s.code,{children:"ObjectIdentifier"})})," | ",(0,r.jsx)(s.a,{href:"/docs/api/classes/Enumerated",children:(0,r.jsx)(s.code,{children:"Enumerated"})})," | ",(0,r.jsx)(s.a,{href:"/docs/api/classes/Utf8String",children:(0,r.jsx)(s.code,{children:"Utf8String"})})," | ",(0,r.jsx)(s.a,{href:"/docs/api/classes/RelativeObjectIdentifier",children:(0,r.jsx)(s.code,{children:"RelativeObjectIdentifier"})})," | ",(0,r.jsx)(s.a,{href:"/docs/api/classes/TIME",children:(0,r.jsx)(s.code,{children:"TIME"})})," | ",(0,r.jsx)(s.a,{href:"/docs/api/classes/Sequence",children:(0,r.jsx)(s.code,{children:"Sequence"})})," | ",(0,r.jsx)(s.a,{href:"/docs/api/classes/Set",children:(0,r.jsx)(s.code,{children:"Set"})})," | ",(0,r.jsx)(s.a,{href:"/docs/api/classes/NumericString",children:(0,r.jsx)(s.code,{children:"NumericString"})})," | ",(0,r.jsx)(s.a,{href:"/docs/api/classes/PrintableString",children:(0,r.jsx)(s.code,{children:"PrintableString"})})," | ",(0,r.jsx)(s.a,{href:"/docs/api/classes/TeletexString",children:(0,r.jsx)(s.code,{children:"TeletexString"})})," | ",(0,r.jsx)(s.a,{href:"/docs/api/classes/VideotexString",children:(0,r.jsx)(s.code,{children:"VideotexString"})})," | ",(0,r.jsx)(s.a,{href:"/docs/api/classes/IA5String",children:(0,r.jsx)(s.code,{children:"IA5String"})})," | ",(0,r.jsx)(s.a,{href:"/docs/api/classes/UTCTime",children:(0,r.jsx)(s.code,{children:"UTCTime"})})," | ",(0,r.jsx)(s.a,{href:"/docs/api/classes/GeneralizedTime",children:(0,r.jsx)(s.code,{children:"GeneralizedTime"})})," | ",(0,r.jsx)(s.a,{href:"/docs/api/classes/GraphicString",children:(0,r.jsx)(s.code,{children:"GraphicString"})})," | ",(0,r.jsx)(s.a,{href:"/docs/api/classes/VisibleString",children:(0,r.jsx)(s.code,{children:"VisibleString"})})," | ",(0,r.jsx)(s.a,{href:"/docs/api/classes/GeneralString",children:(0,r.jsx)(s.code,{children:"GeneralString"})})," | ",(0,r.jsx)(s.a,{href:"/docs/api/classes/UniversalString",children:(0,r.jsx)(s.code,{children:"UniversalString"})})," | ",(0,r.jsx)(s.a,{href:"/docs/api/classes/CharacterString",children:(0,r.jsx)(s.code,{children:"CharacterString"})})," | ",(0,r.jsx)(s.a,{href:"/docs/api/classes/BmpString",children:(0,r.jsx)(s.code,{children:"BmpString"})})," | ",(0,r.jsx)(s.a,{href:"/docs/api/classes/DATE",children:(0,r.jsx)(s.code,{children:"DATE"})})," | ",(0,r.jsx)(s.a,{href:"/docs/api/classes/TimeOfDay",children:(0,r.jsx)(s.code,{children:"TimeOfDay"})})," | ",(0,r.jsx)(s.a,{href:"/docs/api/classes/DateTime",children:(0,r.jsx)(s.code,{children:"DateTime"})})," | ",(0,r.jsx)(s.a,{href:"/docs/api/classes/Duration",children:(0,r.jsx)(s.code,{children:"Duration"})})," | ",(0,r.jsx)(s.a,{href:"/docs/api/classes/Constructed",children:(0,r.jsx)(s.code,{children:"Constructed"})})," | ",(0,r.jsx)(s.a,{href:"/docs/api/classes/Primitive",children:(0,r.jsx)(s.code,{children:"Primitive"})})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"basestringblockjson",children:"BaseStringBlockJson"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"BaseStringBlockJson"}),": ",(0,r.jsx)(s.code,{children:"LocalStringValueBlockJson"})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"bitstringjson",children:"BitStringJson"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"BitStringJson"}),": ",(0,r.jsx)(s.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,r.jsx)(s.code,{children:"BaseBlockJson"})}),"<",(0,r.jsx)(s.code,{children:"LocalBitStringValueBlockJson"}),">"]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"bmpstringjson",children:"BmpStringJson"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"BmpStringJson"}),": ",(0,r.jsx)(s.code,{children:"LocalBmpStringValueBlockJson"})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"bmpstringparams",children:"BmpStringParams"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"BmpStringParams"}),": ",(0,r.jsx)(s.code,{children:"LocalBmpStringValueBlockParams"})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"booleanjson",children:"BooleanJson"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"BooleanJson"}),": ",(0,r.jsx)(s.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,r.jsx)(s.code,{children:"BaseBlockJson"})}),"<",(0,r.jsx)(s.code,{children:"LocalBooleanValueBlockJson"}),">"]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"characterstringjson",children:"CharacterStringJson"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"CharacterStringJson"}),": ",(0,r.jsx)(s.code,{children:"LocalSimpleStringBlockJson"})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"characterstringparams",children:"CharacterStringParams"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"CharacterStringParams"}),": ",(0,r.jsx)(s.code,{children:"LocalSimpleStringBlockParams"})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"choiceparams",children:"ChoiceParams"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"ChoiceParams"}),": ",(0,r.jsx)(s.code,{children:"Partial"}),"<",(0,r.jsx)(s.a,{href:"/docs/api/interfaces/IChoice",children:(0,r.jsx)(s.code,{children:"IChoice"})}),">"]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"compareschemaresult",children:"CompareSchemaResult"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"CompareSchemaResult"}),": ",(0,r.jsx)(s.a,{href:"/docs/api/interfaces/CompareSchemaSuccess",children:(0,r.jsx)(s.code,{children:"CompareSchemaSuccess"})})," | ",(0,r.jsx)(s.a,{href:"/docs/api/interfaces/CompareSchemaFail",children:(0,r.jsx)(s.code,{children:"CompareSchemaFail"})})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"constructedjson",children:"ConstructedJson"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"ConstructedJson"}),": ",(0,r.jsx)(s.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,r.jsx)(s.code,{children:"BaseBlockJson"})}),"<",(0,r.jsx)(s.code,{children:"LocalConstructedValueBlockJson"}),">"]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"datejson",children:"DATEJson"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"DATEJson"}),": ",(0,r.jsx)(s.a,{href:"#utf8stringjson",children:(0,r.jsx)(s.code,{children:"Utf8StringJson"})})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"dateparams",children:"DATEParams"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"DATEParams"}),": ",(0,r.jsx)(s.a,{href:"/docs/api/interfaces/Utf8StringParams",children:(0,r.jsx)(s.code,{children:"Utf8StringParams"})})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"datestringencoding",children:"DateStringEncoding"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"DateStringEncoding"}),": ",(0,r.jsx)(s.a,{href:"#stringencoding",children:(0,r.jsx)(s.code,{children:"StringEncoding"})})," | ",(0,r.jsx)(s.code,{children:'"iso"'})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"datetimejson",children:"DateTimeJson"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"DateTimeJson"}),": ",(0,r.jsx)(s.a,{href:"#utf8stringjson",children:(0,r.jsx)(s.code,{children:"Utf8StringJson"})})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"datetimeparams",children:"DateTimeParams"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"DateTimeParams"}),": ",(0,r.jsx)(s.a,{href:"/docs/api/interfaces/Utf8StringParams",children:(0,r.jsx)(s.code,{children:"Utf8StringParams"})})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"durationjson",children:"DurationJson"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"DurationJson"}),": ",(0,r.jsx)(s.a,{href:"#utf8stringjson",children:(0,r.jsx)(s.code,{children:"Utf8StringJson"})})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"durationparams",children:"DurationParams"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"DurationParams"}),": ",(0,r.jsx)(s.a,{href:"/docs/api/interfaces/Utf8StringParams",children:(0,r.jsx)(s.code,{children:"Utf8StringParams"})})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"endofcontentjson",children:"EndOfContentJson"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"EndOfContentJson"}),": ",(0,r.jsx)(s.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,r.jsx)(s.code,{children:"BaseBlockJson"})})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"endofcontentparams",children:"EndOfContentParams"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"EndOfContentParams"}),": ",(0,r.jsx)(s.a,{href:"/docs/api/interfaces/BaseBlockParams",children:(0,r.jsx)(s.code,{children:"BaseBlockParams"})})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"enumeratedjson",children:"EnumeratedJson"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"EnumeratedJson"}),": ",(0,r.jsx)(s.a,{href:"#integerjson",children:(0,r.jsx)(s.code,{children:"IntegerJson"})})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"enumeratedparams",children:"EnumeratedParams"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"EnumeratedParams"}),": ",(0,r.jsx)(s.a,{href:"/docs/api/interfaces/IntegerParams",children:(0,r.jsx)(s.code,{children:"IntegerParams"})})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"generalstringjson",children:"GeneralStringJson"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"GeneralStringJson"}),": ",(0,r.jsx)(s.code,{children:"LocalSimpleStringBlockJson"})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"generalstringparams",children:"GeneralStringParams"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"GeneralStringParams"}),": ",(0,r.jsx)(s.code,{children:"LocalSimpleStringBlockParams"})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"generalizedtimeparams",children:"GeneralizedTimeParams"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"GeneralizedTimeParams"}),": ",(0,r.jsx)(s.a,{href:"/docs/api/interfaces/UTCTimeParams",children:(0,r.jsx)(s.code,{children:"UTCTimeParams"})})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"graphicstringjson",children:"GraphicStringJson"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"GraphicStringJson"}),": ",(0,r.jsx)(s.code,{children:"LocalSimpleStringBlockJson"})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"graphicstringparams",children:"GraphicStringParams"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"GraphicStringParams"}),": ",(0,r.jsx)(s.code,{children:"LocalSimpleStringBlockParams"})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"hexblockparams",children:"HexBlockParams"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"HexBlockParams"}),": ",(0,r.jsx)(s.code,{children:"Partial"}),"<",(0,r.jsx)(s.a,{href:"/docs/api/interfaces/IHexBlock",children:(0,r.jsx)(s.code,{children:"IHexBlock"})}),">"]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"ia5stringjson",children:"IA5StringJson"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"IA5StringJson"}),": ",(0,r.jsx)(s.code,{children:"LocalSimpleStringBlockJson"})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"ia5stringparams",children:"IA5StringParams"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"IA5StringParams"}),": ",(0,r.jsx)(s.code,{children:"LocalSimpleStringBlockParams"})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"ivalueblock",children:"IValueBlock"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"IValueBlock"}),": ",(0,r.jsx)(s.code,{children:"internals.ILocalBaseBlock"})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"integerjson",children:"IntegerJson"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"IntegerJson"}),": ",(0,r.jsx)(s.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,r.jsx)(s.code,{children:"BaseBlockJson"})}),"<",(0,r.jsx)(s.code,{children:"LocalIntegerValueBlockJson"}),">"]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"nulljson",children:"NullJson"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"NullJson"}),": ",(0,r.jsx)(s.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,r.jsx)(s.code,{children:"BaseBlockJson"})}),"<",(0,r.jsx)(s.a,{href:"#valueblockjson",children:(0,r.jsx)(s.code,{children:"ValueBlockJson"})}),">"]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"nullparams",children:"NullParams"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"NullParams"}),": ",(0,r.jsx)(s.a,{href:"/docs/api/interfaces/BaseBlockParams",children:(0,r.jsx)(s.code,{children:"BaseBlockParams"})})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"numericstringjson",children:"NumericStringJson"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"NumericStringJson"}),": ",(0,r.jsx)(s.code,{children:"LocalSimpleStringBlockJson"})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"numericstringparams",children:"NumericStringParams"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"NumericStringParams"}),": ",(0,r.jsx)(s.code,{children:"LocalSimpleStringBlockParams"})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"octetstringjson",children:"OctetStringJson"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"OctetStringJson"}),": ",(0,r.jsx)(s.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,r.jsx)(s.code,{children:"BaseBlockJson"})}),"<",(0,r.jsx)(s.code,{children:"LocalOctetStringValueBlockJson"}),">"]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"primitivejson",children:"PrimitiveJson"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"PrimitiveJson"}),": ",(0,r.jsx)(s.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,r.jsx)(s.code,{children:"BaseBlockJson"})}),"<",(0,r.jsx)(s.code,{children:"LocalPrimitiveValueBlockJson"}),">"]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"printablestringjson",children:"PrintableStringJson"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"PrintableStringJson"}),": ",(0,r.jsx)(s.code,{children:"LocalSimpleStringBlockJson"})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"printablestringparams",children:"PrintableStringParams"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"PrintableStringParams"}),": ",(0,r.jsx)(s.code,{children:"LocalSimpleStringBlockParams"})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"rawdataparams",children:"RawDataParams"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"RawDataParams"}),": ",(0,r.jsx)(s.code,{children:"Partial"}),"<",(0,r.jsx)(s.a,{href:"/docs/api/interfaces/IRawData",children:(0,r.jsx)(s.code,{children:"IRawData"})}),">"]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"repeatedparams",children:"RepeatedParams"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"RepeatedParams"}),": ",(0,r.jsx)(s.code,{children:"Partial"}),"<",(0,r.jsx)(s.a,{href:"/docs/api/interfaces/IRepeated",children:(0,r.jsx)(s.code,{children:"IRepeated"})}),">"]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"sequencejson",children:"SequenceJson"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"SequenceJson"}),": ",(0,r.jsx)(s.a,{href:"#constructedjson",children:(0,r.jsx)(s.code,{children:"ConstructedJson"})})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"sequenceparams",children:"SequenceParams"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"SequenceParams"}),": ",(0,r.jsx)(s.a,{href:"/docs/api/interfaces/ConstructedParams",children:(0,r.jsx)(s.code,{children:"ConstructedParams"})})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"setjson",children:"SetJson"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"SetJson"}),": ",(0,r.jsx)(s.a,{href:"#constructedjson",children:(0,r.jsx)(s.code,{children:"ConstructedJson"})})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"setparams",children:"SetParams"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"SetParams"}),": ",(0,r.jsx)(s.a,{href:"/docs/api/interfaces/ConstructedParams",children:(0,r.jsx)(s.code,{children:"ConstructedParams"})})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"stringencoding",children:"StringEncoding"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"StringEncoding"}),": ",(0,r.jsx)(s.code,{children:'"ascii"'})," | ",(0,r.jsx)(s.code,{children:'"hex"'})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"timejson",children:"TIMEJson"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"TIMEJson"}),": ",(0,r.jsx)(s.a,{href:"#utf8stringjson",children:(0,r.jsx)(s.code,{children:"Utf8StringJson"})})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"timeparams",children:"TIMEParams"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"TIMEParams"}),": ",(0,r.jsx)(s.a,{href:"/docs/api/interfaces/Utf8StringParams",children:(0,r.jsx)(s.code,{children:"Utf8StringParams"})})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"teletexstringjson",children:"TeletexStringJson"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"TeletexStringJson"}),": ",(0,r.jsx)(s.code,{children:"LocalSimpleStringBlockJson"})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"teletexstringparams",children:"TeletexStringParams"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"TeletexStringParams"}),": ",(0,r.jsx)(s.code,{children:"LocalSimpleStringBlockParams"})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"timeofdayjson",children:"TimeOfDayJson"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"TimeOfDayJson"}),": ",(0,r.jsx)(s.a,{href:"#utf8stringjson",children:(0,r.jsx)(s.code,{children:"Utf8StringJson"})})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"timeofdayparams",children:"TimeOfDayParams"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"TimeOfDayParams"}),": ",(0,r.jsx)(s.a,{href:"/docs/api/interfaces/Utf8StringParams",children:(0,r.jsx)(s.code,{children:"Utf8StringParams"})})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"universalstringjson",children:"UniversalStringJson"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"UniversalStringJson"}),": ",(0,r.jsx)(s.code,{children:"LocalUniversalStringValueBlockJson"})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"universalstringparams",children:"UniversalStringParams"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"UniversalStringParams"}),": ",(0,r.jsx)(s.code,{children:"LocalUniversalStringValueBlockParams"})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"utf8stringjson",children:"Utf8StringJson"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"Utf8StringJson"}),": ",(0,r.jsx)(s.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,r.jsx)(s.code,{children:"BaseBlockJson"})}),"<",(0,r.jsx)(s.code,{children:"LocalUtf8StringValueBlockJson"}),">"]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"valueblockjson",children:"ValueBlockJson"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"ValueBlockJson"}),": ",(0,r.jsx)(s.code,{children:"internals.LocalBaseBlockJson"})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"valueblockparams",children:"ValueBlockParams"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"ValueBlockParams"}),": ",(0,r.jsx)(s.code,{children:"internals.LocalBaseBlockParams"})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"videotexstringjson",children:"VideotexStringJson"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"VideotexStringJson"}),": ",(0,r.jsx)(s.code,{children:"LocalSimpleStringBlockJson"})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"videotexstringparams",children:"VideotexStringParams"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"VideotexStringParams"}),": ",(0,r.jsx)(s.code,{children:"LocalSimpleStringBlockParams"})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"visiblestringjson",children:"VisibleStringJson"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"VisibleStringJson"}),": ",(0,r.jsx)(s.code,{children:"LocalSimpleStringBlockJson"})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"visiblestringparams",children:"VisibleStringParams"}),"\n",(0,r.jsxs)(s.p,{children:["\u01ac ",(0,r.jsx)(s.strong,{children:"VisibleStringParams"}),": ",(0,r.jsx)(s.code,{children:"LocalSimpleStringBlockParams"})]}),"\n",(0,r.jsx)(s.h2,{id:"functions",children:"Functions"}),"\n",(0,r.jsx)(s.h3,{id:"hexblock",children:"HexBlock"}),"\n",(0,r.jsxs)(s.p,{children:["\u25b8 ",(0,r.jsx)(s.strong,{children:"HexBlock"}),"<",(0,r.jsx)(s.code,{children:"T"}),">(",(0,r.jsx)(s.code,{children:"BaseClass"}),"): (...",(0,r.jsx)(s.code,{children:"args"}),": ",(0,r.jsx)(s.code,{children:"any"}),"[]) => ",(0,r.jsx)(s.code,{children:"Some"}),"<",(0,r.jsx)(s.code,{children:"T"}),"> & ",(0,r.jsx)(s.code,{children:"T"})]}),"\n",(0,r.jsx)(s.p,{children:"Class used as a base block for all remaining ASN.1 classes"}),"\n",(0,r.jsx)(s.h4,{id:"type-parameters",children:"Type parameters"}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,r.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{style:{textAlign:"left"},children:(0,r.jsx)(s.code,{children:"T"})}),(0,r.jsxs)(s.td,{style:{textAlign:"left"},children:["extends ",(0,r.jsx)(s.code,{children:"LocalBaseBlockConstructor"}),"<",(0,r.jsx)(s.code,{children:"LocalBaseBlock"}),">"]})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"parameters",children:"Parameters"}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,r.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{style:{textAlign:"left"},children:(0,r.jsx)(s.code,{children:"BaseClass"})}),(0,r.jsx)(s.td,{style:{textAlign:"left"},children:(0,r.jsx)(s.code,{children:"T"})})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"returns",children:"Returns"}),"\n",(0,r.jsxs)(s.p,{children:["(...",(0,r.jsx)(s.code,{children:"args"}),": ",(0,r.jsx)(s.code,{children:"any"}),"[]) => ",(0,r.jsx)(s.code,{children:"Some"}),"<",(0,r.jsx)(s.code,{children:"T"}),"> & ",(0,r.jsx)(s.code,{children:"T"})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"compareschema",children:"compareSchema"}),"\n",(0,r.jsxs)(s.p,{children:["\u25b8 ",(0,r.jsx)(s.strong,{children:"compareSchema"}),"(",(0,r.jsx)(s.code,{children:"root"}),", ",(0,r.jsx)(s.code,{children:"inputData"}),", ",(0,r.jsx)(s.code,{children:"inputSchema"}),"): ",(0,r.jsx)(s.a,{href:"#compareschemaresult",children:(0,r.jsx)(s.code,{children:"CompareSchemaResult"})})]}),"\n",(0,r.jsx)(s.p,{children:"Compare of two ASN.1 object trees"}),"\n",(0,r.jsx)(s.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,r.jsx)(s.th,{style:{textAlign:"left"},children:"Type"}),(0,r.jsx)(s.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{style:{textAlign:"left"},children:(0,r.jsx)(s.code,{children:"root"})}),(0,r.jsx)(s.td,{style:{textAlign:"left"},children:(0,r.jsx)(s.a,{href:"#asntype",children:(0,r.jsx)(s.code,{children:"AsnType"})})}),(0,r.jsx)(s.td,{style:{textAlign:"left"},children:"Root of input ASN.1 object tree"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{style:{textAlign:"left"},children:(0,r.jsx)(s.code,{children:"inputData"})}),(0,r.jsx)(s.td,{style:{textAlign:"left"},children:(0,r.jsx)(s.a,{href:"#asntype",children:(0,r.jsx)(s.code,{children:"AsnType"})})}),(0,r.jsx)(s.td,{style:{textAlign:"left"},children:"Input ASN.1 object tree"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{style:{textAlign:"left"},children:(0,r.jsx)(s.code,{children:"inputSchema"})}),(0,r.jsx)(s.td,{style:{textAlign:"left"},children:(0,r.jsx)(s.a,{href:"#asnschematype",children:(0,r.jsx)(s.code,{children:"AsnSchemaType"})})}),(0,r.jsx)(s.td,{style:{textAlign:"left"},children:"Input ASN.1 schema to compare with"})]})]})]}),"\n",(0,r.jsx)(s.h4,{id:"returns-1",children:"Returns"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"#compareschemaresult",children:(0,r.jsx)(s.code,{children:"CompareSchemaResult"})})}),"\n",(0,r.jsx)(s.p,{children:"Returns result of comparison"}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"fromber",children:"fromBER"}),"\n",(0,r.jsxs)(s.p,{children:["\u25b8 ",(0,r.jsx)(s.strong,{children:"fromBER"}),"(",(0,r.jsx)(s.code,{children:"inputBuffer"}),"): ",(0,r.jsx)(s.a,{href:"/docs/api/interfaces/FromBerResult",children:(0,r.jsx)(s.code,{children:"FromBerResult"})})]}),"\n",(0,r.jsx)(s.p,{children:"Major function for decoding ASN.1 BER array into internal library structures"}),"\n",(0,r.jsx)(s.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,r.jsx)(s.th,{style:{textAlign:"left"},children:"Type"}),(0,r.jsx)(s.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{style:{textAlign:"left"},children:(0,r.jsx)(s.code,{children:"inputBuffer"})}),(0,r.jsx)(s.td,{style:{textAlign:"left"},children:(0,r.jsx)(s.code,{children:"BufferSource"})}),(0,r.jsx)(s.td,{style:{textAlign:"left"},children:"ASN.1 BER encoded array of bytes"})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"returns-2",children:"Returns"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"/docs/api/interfaces/FromBerResult",children:(0,r.jsx)(s.code,{children:"FromBerResult"})})}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"verifyschema",children:"verifySchema"}),"\n",(0,r.jsxs)(s.p,{children:["\u25b8 ",(0,r.jsx)(s.strong,{children:"verifySchema"}),"(",(0,r.jsx)(s.code,{children:"inputBuffer"}),", ",(0,r.jsx)(s.code,{children:"inputSchema"}),"): ",(0,r.jsx)(s.a,{href:"#compareschemaresult",children:(0,r.jsx)(s.code,{children:"CompareSchemaResult"})})]}),"\n",(0,r.jsx)(s.p,{children:"ASN.1 schema verification for ArrayBuffer data"}),"\n",(0,r.jsx)(s.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,r.jsx)(s.th,{style:{textAlign:"left"},children:"Type"}),(0,r.jsx)(s.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{style:{textAlign:"left"},children:(0,r.jsx)(s.code,{children:"inputBuffer"})}),(0,r.jsx)(s.td,{style:{textAlign:"left"},children:(0,r.jsx)(s.code,{children:"BufferSource"})}),(0,r.jsx)(s.td,{style:{textAlign:"left"},children:"Input BER-encoded ASN.1 data"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{style:{textAlign:"left"},children:(0,r.jsx)(s.code,{children:"inputSchema"})}),(0,r.jsx)(s.td,{style:{textAlign:"left"},children:(0,r.jsx)(s.a,{href:"#asnschematype",children:(0,r.jsx)(s.code,{children:"AsnSchemaType"})})}),(0,r.jsx)(s.td,{style:{textAlign:"left"},children:"Input ASN.1 schema to verify against to"})]})]})]}),"\n",(0,r.jsx)(s.h4,{id:"returns-3",children:"Returns"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"#compareschemaresult",children:(0,r.jsx)(s.code,{children:"CompareSchemaResult"})})})]})}function o(e={}){const{wrapper:s}={...(0,i.a)(),...e.components};return s?(0,r.jsx)(s,{...e,children:(0,r.jsx)(h,{...e})}):h(e)}},1151:(e,s,n)=>{n.d(s,{Z:()=>a,a:()=>c});var r=n(7294);const i={},l=r.createContext(i);function c(e){const s=r.useContext(l);return r.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function a(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:c(e.components),r.createElement(l.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/5e95c892.e9a018bf.js b/assets/js/5e95c892.e9a018bf.js new file mode 100644 index 0000000..562d508 --- /dev/null +++ b/assets/js/5e95c892.e9a018bf.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[9661],{1892:(e,s,r)=>{r.r(s),r.d(s,{default:()=>l});r(7294);var t=r(512),u=r(1944),a=r(5281),c=r(8790),n=r(6040),i=r(5893);function l(e){return(0,i.jsx)(u.FG,{className:(0,t.Z)(a.k.wrapper.docsPages),children:(0,i.jsx)(n.Z,{children:(0,c.H)(e.route.routes)})})}}}]); \ No newline at end of file diff --git a/assets/js/65e69e3f.c64c5044.js b/assets/js/65e69e3f.c64c5044.js new file mode 100644 index 0000000..c0e1d67 --- /dev/null +++ b/assets/js/65e69e3f.c64c5044.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[1795],{3648:(e,r,s)=>{s.r(r),s.d(r,{assets:()=>t,contentTitle:()=>d,default:()=>o,frontMatter:()=>n,metadata:()=>c,toc:()=>h});var i=s(5893),l=s(1151);const n={id:"RelativeObjectIdentifier",title:"Class: RelativeObjectIdentifier",sidebar_label:"RelativeObjectIdentifier",sidebar_position:0,custom_edit_url:null},d=void 0,c={id:"api/classes/RelativeObjectIdentifier",title:"Class: RelativeObjectIdentifier",description:"Hierarchy",source:"@site/docs/api/classes/RelativeObjectIdentifier.md",sourceDirName:"api/classes",slug:"/api/classes/RelativeObjectIdentifier",permalink:"/docs/api/classes/RelativeObjectIdentifier",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"RelativeObjectIdentifier",title:"Class: RelativeObjectIdentifier",sidebar_label:"RelativeObjectIdentifier",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"RawData",permalink:"/docs/api/classes/RawData"},next:{title:"Repeated",permalink:"/docs/api/classes/Repeated"}},t={},h=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Overrides",id:"overrides",level:4},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"valueBeforeDecodeView",id:"valuebeforedecodeview",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"valueBlock",id:"valueblock",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"NAME",id:"name-1",level:3},{value:"Overrides",id:"overrides-1",level:4},{value:"Accessors",id:"accessors",level:2},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Returns",id:"returns-1",level:4},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Methods",id:"methods",level:2},{value:"fromBER",id:"fromber",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"getValue",id:"getvalue",level:3},{value:"Returns",id:"returns-4",level:4},{value:"isEqual",id:"isequal",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-5",level:4},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"onAsciiEncoding",id:"onasciiencoding",level:3},{value:"Returns",id:"returns-6",level:4},{value:"Overrides",id:"overrides-2",level:4},{value:"setValue",id:"setvalue",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-7",level:4},{value:"toBER",id:"tober",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-8",level:4},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"toJSON",id:"tojson",level:3},{value:"Returns",id:"returns-9",level:4},{value:"Overrides",id:"overrides-3",level:4},{value:"toString",id:"tostring",level:3},{value:"Parameters",id:"parameters-6",level:4},{value:"Returns",id:"returns-10",level:4},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"blockName",id:"blockname",level:3},{value:"Returns",id:"returns-11",level:4},{value:"Inherited from",id:"inherited-from-16",level:4}];function a(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,l.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,i.jsxs)(r.ul,{children:["\n",(0,i.jsxs)(r.li,{children:["\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:(0,i.jsx)(r.code,{children:"BaseBlock"})}),"<",(0,i.jsx)(r.code,{children:"LocalRelativeObjectIdentifierValueBlock"}),", ",(0,i.jsx)(r.code,{children:"LocalRelativeObjectIdentifierValueBlockJson"}),">"]}),"\n",(0,i.jsxs)(r.p,{children:["\u21b3 ",(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"RelativeObjectIdentifier"})})]}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(r.h2,{id:"constructors",children:"Constructors"}),"\n",(0,i.jsx)(r.h3,{id:"constructor",children:"constructor"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"new RelativeObjectIdentifier"}),"(",(0,i.jsx)(r.code,{children:"parameters?"}),"): ",(0,i.jsx)(r.a,{href:"/docs/api/classes/RelativeObjectIdentifier",children:(0,i.jsx)(r.code,{children:"RelativeObjectIdentifier"})})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"parameters"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.a,{href:"/docs/api/interfaces/RelativeObjectIdentifierParams",children:(0,i.jsx)(r.code,{children:"RelativeObjectIdentifierParams"})})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.a,{href:"/docs/api/classes/RelativeObjectIdentifier",children:(0,i.jsx)(r.code,{children:"RelativeObjectIdentifier"})})}),"\n",(0,i.jsx)(r.h4,{id:"overrides",children:"Overrides"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#constructor",children:"constructor"})]}),"\n",(0,i.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,i.jsx)(r.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"blockLength"}),": ",(0,i.jsx)(r.code,{children:"number"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#blocklength",children:"blockLength"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"error",children:"error"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"error"}),": ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#error",children:"error"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"idblock",children:"idBlock"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"idBlock"}),": ",(0,i.jsx)(r.code,{children:"LocalIdentificationBlock"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#idblock",children:"idBlock"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"lenBlock"}),": ",(0,i.jsx)(r.code,{children:"LocalLengthBlock"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#lenblock",children:"lenBlock"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"name",children:"name"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"name"}),": ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#name",children:"name"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"optional",children:"optional"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"optional"}),": ",(0,i.jsx)(r.code,{children:"boolean"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#optional",children:"optional"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.code,{children:"Optional"})," ",(0,i.jsx)(r.strong,{children:"primitiveSchema"}),": ",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:(0,i.jsx)(r.code,{children:"BaseBlock"})}),"<",(0,i.jsx)(r.a,{href:"/docs/api/classes/ValueBlock",children:(0,i.jsx)(r.code,{children:"ValueBlock"})}),", ",(0,i.jsx)(r.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#primitiveschema",children:"primitiveSchema"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"valuebeforedecodeview",children:"valueBeforeDecodeView"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"valueBeforeDecodeView"}),": ",(0,i.jsx)(r.code,{children:"Uint8Array"})]}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Since"})})}),"\n",(0,i.jsx)(r.p,{children:"3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#valuebeforedecodeview",children:"valueBeforeDecodeView"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"valueblock",children:"valueBlock"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"valueBlock"}),": ",(0,i.jsx)(r.code,{children:"LocalRelativeObjectIdentifierValueBlock"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#valueblock",children:"valueBlock"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"warnings",children:"warnings"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"warnings"}),": ",(0,i.jsx)(r.code,{children:"string"}),"[]"]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#warnings",children:"warnings"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"name-1",children:"NAME"}),"\n",(0,i.jsxs)(r.p,{children:["\u25aa ",(0,i.jsx)(r.code,{children:"Static"})," ",(0,i.jsx)(r.strong,{children:"NAME"}),": ",(0,i.jsx)(r.code,{children:"string"})," = ",(0,i.jsx)(r.code,{children:'"RelativeObjectIdentifier"'})]}),"\n",(0,i.jsx)(r.h4,{id:"overrides-1",children:"Overrides"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#name-1",children:"NAME"})]}),"\n",(0,i.jsx)(r.h2,{id:"accessors",children:"Accessors"}),"\n",(0,i.jsx)(r.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.code,{children:"get"})," ",(0,i.jsx)(r.strong,{children:"valueBeforeDecode"}),"(): ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-1",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,i.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"BaseBlock.valueBeforeDecode"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.code,{children:"set"})," ",(0,i.jsx)(r.strong,{children:"valueBeforeDecode"}),"(",(0,i.jsx)(r.code,{children:"value"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"value"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"ArrayBuffer"})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-2",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,i.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"BaseBlock.valueBeforeDecode"}),"\n",(0,i.jsx)(r.h2,{id:"methods",children:"Methods"}),"\n",(0,i.jsx)(r.h3,{id:"fromber",children:"fromBER"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"fromBER"}),"(",(0,i.jsx)(r.code,{children:"inputBuffer"}),", ",(0,i.jsx)(r.code,{children:"inputOffset"}),", ",(0,i.jsx)(r.code,{children:"inputLength"}),"): ",(0,i.jsx)(r.code,{children:"number"})]}),"\n",(0,i.jsx)(r.p,{children:"Base function for converting block from BER encoded array of bytes"}),"\n",(0,i.jsx)(r.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,i.jsxs)(r.tbody,{children:[(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputBuffer"})}),(0,i.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,i.jsx)(r.code,{children:"Uint8Array"})," | ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:"ASN.1 BER encoded array"})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputOffset"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"number"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:"Offset in ASN.1 BER encoded array where decoding should be started"})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputLength"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"number"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:"Maximum length of array of bytes which can be using in this function"})]})]})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-3",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"number"})}),"\n",(0,i.jsx)(r.p,{children:"Offset after least decoded byte"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#fromber",children:"fromBER"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"getvalue",children:"getValue"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"getValue"}),"(): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.p,{children:"Gets string representation of Relative Object Identifier"}),"\n",(0,i.jsx)(r.h4,{id:"returns-4",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Since"})})}),"\n",(0,i.jsx)(r.p,{children:"3.0.0"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"isequal",children:"isEqual"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"isEqual"}),"(",(0,i.jsx)(r.code,{children:"other"}),"): other is RelativeObjectIdentifier"]}),"\n",(0,i.jsx)(r.p,{children:"Determines whether two object instances are equal"}),"\n",(0,i.jsx)(r.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"other"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"unknown"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:"Object to compare with the current object"})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-5",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:"other is RelativeObjectIdentifier"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#isequal",children:"isEqual"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"onasciiencoding",children:"onAsciiEncoding"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"onAsciiEncoding"}),"(): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-6",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.h4,{id:"overrides-2",children:"Overrides"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#onasciiencoding",children:"onAsciiEncoding"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"setvalue",children:"setValue"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"setValue"}),"(",(0,i.jsx)(r.code,{children:"value"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.p,{children:"Sets Relative Object Identifier value from string"}),"\n",(0,i.jsx)(r.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"value"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"string"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:"String value"})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-7",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Since"})})}),"\n",(0,i.jsx)(r.p,{children:"3.0.0"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"tober",children:"toBER"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"toBER"}),"(",(0,i.jsx)(r.code,{children:"sizeOnly?"}),", ",(0,i.jsx)(r.code,{children:"writer?"}),"): ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,i.jsx)(r.p,{children:"Encoding of current ASN.1 block into ASN.1 encoded array (BER rules)"}),"\n",(0,i.jsx)(r.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,i.jsxs)(r.tbody,{children:[(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"sizeOnly?"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"boolean"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:"Flag that we need only a size of encoding, not a real array of bytes"})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"writer?"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.a,{href:"/docs/api/classes/ViewWriter",children:(0,i.jsx)(r.code,{children:"ViewWriter"})})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:"-"})]})]})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-8",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,i.jsx)(r.p,{children:"ASN.1 BER encoded array"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#tober",children:"toBER"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"tojson",children:"toJSON"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"toJSON"}),"(): ",(0,i.jsx)(r.a,{href:"/docs/api/interfaces/RelativeObjectIdentifierJson",children:(0,i.jsx)(r.code,{children:"RelativeObjectIdentifierJson"})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-9",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.a,{href:"/docs/api/interfaces/RelativeObjectIdentifierJson",children:(0,i.jsx)(r.code,{children:"RelativeObjectIdentifierJson"})})}),"\n",(0,i.jsx)(r.h4,{id:"overrides-3",children:"Overrides"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#tojson",children:"toJSON"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"tostring",children:"toString"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"toString"}),"(",(0,i.jsx)(r.code,{children:"encoding?"}),"): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-6",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Default value"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"encoding"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.a,{href:"../#stringencoding",children:(0,i.jsx)(r.code,{children:"StringEncoding"})})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:'"ascii"'})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-10",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#tostring",children:"toString"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"blockname",children:"blockName"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"blockName"}),"(): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.p,{children:"Aux function, need to get a block name. Need to have it here for inheritance"}),"\n",(0,i.jsx)(r.h4,{id:"returns-11",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.p,{children:"Returns name of the block"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#blockname",children:"blockName"})]})]})}function o(e={}){const{wrapper:r}={...(0,l.a)(),...e.components};return r?(0,i.jsx)(r,{...e,children:(0,i.jsx)(a,{...e})}):a(e)}},1151:(e,r,s)=>{s.d(r,{Z:()=>c,a:()=>d});var i=s(7294);const l={},n=i.createContext(l);function d(e){const r=i.useContext(n);return i.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function c(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(l):e.components||l:d(e.components),i.createElement(n.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/713f63a6.94f572dc.js b/assets/js/713f63a6.94f572dc.js new file mode 100644 index 0000000..0fbeb38 --- /dev/null +++ b/assets/js/713f63a6.94f572dc.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[5200],{7187:(e,i,n)=>{n.r(i),n.d(i,{assets:()=>c,contentTitle:()=>l,default:()=>t,frontMatter:()=>d,metadata:()=>o,toc:()=>h});var r=n(5893),s=n(1151);const d={id:"GeneralizedTimeJson",title:"Interface: GeneralizedTimeJson",sidebar_label:"GeneralizedTimeJson",sidebar_position:0,custom_edit_url:null},l=void 0,o={id:"api/interfaces/GeneralizedTimeJson",title:"Interface: GeneralizedTimeJson",description:"Hierarchy",source:"@site/docs/api/interfaces/GeneralizedTimeJson.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/GeneralizedTimeJson",permalink:"/docs/api/interfaces/GeneralizedTimeJson",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"GeneralizedTimeJson",title:"Interface: GeneralizedTimeJson",sidebar_label:"GeneralizedTimeJson",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"FromBerResult",permalink:"/docs/api/interfaces/FromBerResult"},next:{title:"HexBlockJson",permalink:"/docs/api/interfaces/HexBlockJson"}},c={},h=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"blockName",id:"blockname",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"day",id:"day",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"hour",id:"hour",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"millisecond",id:"millisecond",level:3},{value:"minute",id:"minute",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"month",id:"month",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"second",id:"second",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"valueBlock",id:"valueblock",level:3},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"year",id:"year",level:3},{value:"Inherited from",id:"inherited-from-16",level:4}];function a(e){const i={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,s.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,r.jsxs)(i.ul,{children:["\n",(0,r.jsxs)(i.li,{children:["\n",(0,r.jsx)(i.p,{children:(0,r.jsx)(i.a,{href:"/docs/api/interfaces/UTCTimeJson",children:(0,r.jsx)(i.code,{children:"UTCTimeJson"})})}),"\n",(0,r.jsxs)(i.p,{children:["\u21b3 ",(0,r.jsx)(i.strong,{children:(0,r.jsx)(i.code,{children:"GeneralizedTimeJson"})})]}),"\n"]}),"\n"]}),"\n",(0,r.jsx)(i.h2,{id:"properties",children:"Properties"}),"\n",(0,r.jsx)(i.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,r.jsxs)(i.p,{children:["\u2022 ",(0,r.jsx)(i.strong,{children:"blockLength"}),": ",(0,r.jsx)(i.code,{children:"number"})]}),"\n",(0,r.jsx)(i.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,r.jsxs)(i.p,{children:[(0,r.jsx)(i.a,{href:"/docs/api/interfaces/UTCTimeJson",children:"UTCTimeJson"}),".",(0,r.jsx)(i.a,{href:"/docs/api/interfaces/UTCTimeJson#blocklength",children:"blockLength"})]}),"\n",(0,r.jsx)(i.hr,{}),"\n",(0,r.jsx)(i.h3,{id:"blockname",children:"blockName"}),"\n",(0,r.jsxs)(i.p,{children:["\u2022 ",(0,r.jsx)(i.strong,{children:"blockName"}),": ",(0,r.jsx)(i.code,{children:"string"})]}),"\n",(0,r.jsx)(i.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,r.jsxs)(i.p,{children:[(0,r.jsx)(i.a,{href:"/docs/api/interfaces/UTCTimeJson",children:"UTCTimeJson"}),".",(0,r.jsx)(i.a,{href:"/docs/api/interfaces/UTCTimeJson#blockname",children:"blockName"})]}),"\n",(0,r.jsx)(i.hr,{}),"\n",(0,r.jsx)(i.h3,{id:"day",children:"day"}),"\n",(0,r.jsxs)(i.p,{children:["\u2022 ",(0,r.jsx)(i.strong,{children:"day"}),": ",(0,r.jsx)(i.code,{children:"number"})]}),"\n",(0,r.jsx)(i.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,r.jsxs)(i.p,{children:[(0,r.jsx)(i.a,{href:"/docs/api/interfaces/UTCTimeJson",children:"UTCTimeJson"}),".",(0,r.jsx)(i.a,{href:"/docs/api/interfaces/UTCTimeJson#day",children:"day"})]}),"\n",(0,r.jsx)(i.hr,{}),"\n",(0,r.jsx)(i.h3,{id:"error",children:"error"}),"\n",(0,r.jsxs)(i.p,{children:["\u2022 ",(0,r.jsx)(i.strong,{children:"error"}),": ",(0,r.jsx)(i.code,{children:"string"})]}),"\n",(0,r.jsx)(i.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,r.jsxs)(i.p,{children:[(0,r.jsx)(i.a,{href:"/docs/api/interfaces/UTCTimeJson",children:"UTCTimeJson"}),".",(0,r.jsx)(i.a,{href:"/docs/api/interfaces/UTCTimeJson#error",children:"error"})]}),"\n",(0,r.jsx)(i.hr,{}),"\n",(0,r.jsx)(i.h3,{id:"hour",children:"hour"}),"\n",(0,r.jsxs)(i.p,{children:["\u2022 ",(0,r.jsx)(i.strong,{children:"hour"}),": ",(0,r.jsx)(i.code,{children:"number"})]}),"\n",(0,r.jsx)(i.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,r.jsxs)(i.p,{children:[(0,r.jsx)(i.a,{href:"/docs/api/interfaces/UTCTimeJson",children:"UTCTimeJson"}),".",(0,r.jsx)(i.a,{href:"/docs/api/interfaces/UTCTimeJson#hour",children:"hour"})]}),"\n",(0,r.jsx)(i.hr,{}),"\n",(0,r.jsx)(i.h3,{id:"idblock",children:"idBlock"}),"\n",(0,r.jsxs)(i.p,{children:["\u2022 ",(0,r.jsx)(i.strong,{children:"idBlock"}),": ",(0,r.jsx)(i.code,{children:"LocalIdentificationBlockJson"})]}),"\n",(0,r.jsx)(i.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,r.jsxs)(i.p,{children:[(0,r.jsx)(i.a,{href:"/docs/api/interfaces/UTCTimeJson",children:"UTCTimeJson"}),".",(0,r.jsx)(i.a,{href:"/docs/api/interfaces/UTCTimeJson#idblock",children:"idBlock"})]}),"\n",(0,r.jsx)(i.hr,{}),"\n",(0,r.jsx)(i.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,r.jsxs)(i.p,{children:["\u2022 ",(0,r.jsx)(i.strong,{children:"lenBlock"}),": ",(0,r.jsx)(i.code,{children:"LocalLengthBlockJson"})]}),"\n",(0,r.jsx)(i.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,r.jsxs)(i.p,{children:[(0,r.jsx)(i.a,{href:"/docs/api/interfaces/UTCTimeJson",children:"UTCTimeJson"}),".",(0,r.jsx)(i.a,{href:"/docs/api/interfaces/UTCTimeJson#lenblock",children:"lenBlock"})]}),"\n",(0,r.jsx)(i.hr,{}),"\n",(0,r.jsx)(i.h3,{id:"millisecond",children:"millisecond"}),"\n",(0,r.jsxs)(i.p,{children:["\u2022 ",(0,r.jsx)(i.strong,{children:"millisecond"}),": ",(0,r.jsx)(i.code,{children:"number"})]}),"\n",(0,r.jsx)(i.hr,{}),"\n",(0,r.jsx)(i.h3,{id:"minute",children:"minute"}),"\n",(0,r.jsxs)(i.p,{children:["\u2022 ",(0,r.jsx)(i.strong,{children:"minute"}),": ",(0,r.jsx)(i.code,{children:"number"})]}),"\n",(0,r.jsx)(i.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,r.jsxs)(i.p,{children:[(0,r.jsx)(i.a,{href:"/docs/api/interfaces/UTCTimeJson",children:"UTCTimeJson"}),".",(0,r.jsx)(i.a,{href:"/docs/api/interfaces/UTCTimeJson#minute",children:"minute"})]}),"\n",(0,r.jsx)(i.hr,{}),"\n",(0,r.jsx)(i.h3,{id:"month",children:"month"}),"\n",(0,r.jsxs)(i.p,{children:["\u2022 ",(0,r.jsx)(i.strong,{children:"month"}),": ",(0,r.jsx)(i.code,{children:"number"})]}),"\n",(0,r.jsx)(i.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,r.jsxs)(i.p,{children:[(0,r.jsx)(i.a,{href:"/docs/api/interfaces/UTCTimeJson",children:"UTCTimeJson"}),".",(0,r.jsx)(i.a,{href:"/docs/api/interfaces/UTCTimeJson#month",children:"month"})]}),"\n",(0,r.jsx)(i.hr,{}),"\n",(0,r.jsx)(i.h3,{id:"name",children:"name"}),"\n",(0,r.jsxs)(i.p,{children:["\u2022 ",(0,r.jsx)(i.strong,{children:"name"}),": ",(0,r.jsx)(i.code,{children:"string"})]}),"\n",(0,r.jsx)(i.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,r.jsxs)(i.p,{children:[(0,r.jsx)(i.a,{href:"/docs/api/interfaces/UTCTimeJson",children:"UTCTimeJson"}),".",(0,r.jsx)(i.a,{href:"/docs/api/interfaces/UTCTimeJson#name",children:"name"})]}),"\n",(0,r.jsx)(i.hr,{}),"\n",(0,r.jsx)(i.h3,{id:"optional",children:"optional"}),"\n",(0,r.jsxs)(i.p,{children:["\u2022 ",(0,r.jsx)(i.strong,{children:"optional"}),": ",(0,r.jsx)(i.code,{children:"boolean"})]}),"\n",(0,r.jsx)(i.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,r.jsxs)(i.p,{children:[(0,r.jsx)(i.a,{href:"/docs/api/interfaces/UTCTimeJson",children:"UTCTimeJson"}),".",(0,r.jsx)(i.a,{href:"/docs/api/interfaces/UTCTimeJson#optional",children:"optional"})]}),"\n",(0,r.jsx)(i.hr,{}),"\n",(0,r.jsx)(i.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,r.jsxs)(i.p,{children:["\u2022 ",(0,r.jsx)(i.code,{children:"Optional"})," ",(0,r.jsx)(i.strong,{children:"primitiveSchema"}),": ",(0,r.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,r.jsx)(i.code,{children:"BaseBlockJson"})}),"<",(0,r.jsx)(i.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,r.jsx)(i.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,r.jsxs)(i.p,{children:[(0,r.jsx)(i.a,{href:"/docs/api/interfaces/UTCTimeJson",children:"UTCTimeJson"}),".",(0,r.jsx)(i.a,{href:"/docs/api/interfaces/UTCTimeJson#primitiveschema",children:"primitiveSchema"})]}),"\n",(0,r.jsx)(i.hr,{}),"\n",(0,r.jsx)(i.h3,{id:"second",children:"second"}),"\n",(0,r.jsxs)(i.p,{children:["\u2022 ",(0,r.jsx)(i.strong,{children:"second"}),": ",(0,r.jsx)(i.code,{children:"number"})]}),"\n",(0,r.jsx)(i.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,r.jsxs)(i.p,{children:[(0,r.jsx)(i.a,{href:"/docs/api/interfaces/UTCTimeJson",children:"UTCTimeJson"}),".",(0,r.jsx)(i.a,{href:"/docs/api/interfaces/UTCTimeJson#second",children:"second"})]}),"\n",(0,r.jsx)(i.hr,{}),"\n",(0,r.jsx)(i.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,r.jsxs)(i.p,{children:["\u2022 ",(0,r.jsx)(i.strong,{children:"valueBeforeDecode"}),": ",(0,r.jsx)(i.code,{children:"string"})]}),"\n",(0,r.jsx)(i.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,r.jsxs)(i.p,{children:[(0,r.jsx)(i.a,{href:"/docs/api/interfaces/UTCTimeJson",children:"UTCTimeJson"}),".",(0,r.jsx)(i.a,{href:"/docs/api/interfaces/UTCTimeJson#valuebeforedecode",children:"valueBeforeDecode"})]}),"\n",(0,r.jsx)(i.hr,{}),"\n",(0,r.jsx)(i.h3,{id:"valueblock",children:"valueBlock"}),"\n",(0,r.jsxs)(i.p,{children:["\u2022 ",(0,r.jsx)(i.strong,{children:"valueBlock"}),": ",(0,r.jsx)(i.code,{children:"LocalStringValueBlockJson"})]}),"\n",(0,r.jsx)(i.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,r.jsxs)(i.p,{children:[(0,r.jsx)(i.a,{href:"/docs/api/interfaces/UTCTimeJson",children:"UTCTimeJson"}),".",(0,r.jsx)(i.a,{href:"/docs/api/interfaces/UTCTimeJson#valueblock",children:"valueBlock"})]}),"\n",(0,r.jsx)(i.hr,{}),"\n",(0,r.jsx)(i.h3,{id:"warnings",children:"warnings"}),"\n",(0,r.jsxs)(i.p,{children:["\u2022 ",(0,r.jsx)(i.strong,{children:"warnings"}),": ",(0,r.jsx)(i.code,{children:"string"}),"[]"]}),"\n",(0,r.jsx)(i.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,r.jsxs)(i.p,{children:[(0,r.jsx)(i.a,{href:"/docs/api/interfaces/UTCTimeJson",children:"UTCTimeJson"}),".",(0,r.jsx)(i.a,{href:"/docs/api/interfaces/UTCTimeJson#warnings",children:"warnings"})]}),"\n",(0,r.jsx)(i.hr,{}),"\n",(0,r.jsx)(i.h3,{id:"year",children:"year"}),"\n",(0,r.jsxs)(i.p,{children:["\u2022 ",(0,r.jsx)(i.strong,{children:"year"}),": ",(0,r.jsx)(i.code,{children:"number"})]}),"\n",(0,r.jsx)(i.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,r.jsxs)(i.p,{children:[(0,r.jsx)(i.a,{href:"/docs/api/interfaces/UTCTimeJson",children:"UTCTimeJson"}),".",(0,r.jsx)(i.a,{href:"/docs/api/interfaces/UTCTimeJson#year",children:"year"})]})]})}function t(e={}){const{wrapper:i}={...(0,s.a)(),...e.components};return i?(0,r.jsx)(i,{...e,children:(0,r.jsx)(a,{...e})}):a(e)}},1151:(e,i,n)=>{n.d(i,{Z:()=>o,a:()=>l});var r=n(7294);const s={},d=r.createContext(s);function l(e){const i=r.useContext(d);return r.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function o(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:l(e.components),r.createElement(d.Provider,{value:i},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/74b950b8.786d2040.js b/assets/js/74b950b8.786d2040.js new file mode 100644 index 0000000..e1b1605 --- /dev/null +++ b/assets/js/74b950b8.786d2040.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[1154],{7703:(e,r,i)=>{i.r(r),i.d(r,{assets:()=>d,contentTitle:()=>a,default:()=>h,frontMatter:()=>c,metadata:()=>l,toc:()=>o});var n=i(5893),s=i(1151);const c={id:"ObjectIdentifierParams",title:"Interface: ObjectIdentifierParams",sidebar_label:"ObjectIdentifierParams",sidebar_position:0,custom_edit_url:null},a=void 0,l={id:"api/interfaces/ObjectIdentifierParams",title:"Interface: ObjectIdentifierParams",description:"Hierarchy",source:"@site/docs/api/interfaces/ObjectIdentifierParams.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/ObjectIdentifierParams",permalink:"/docs/api/interfaces/ObjectIdentifierParams",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"ObjectIdentifierParams",title:"Interface: ObjectIdentifierParams",sidebar_label:"ObjectIdentifierParams",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"ObjectIdentifierJson",permalink:"/docs/api/interfaces/ObjectIdentifierJson"},next:{title:"OctetStringParams",permalink:"/docs/api/interfaces/OctetStringParams"}},d={},o=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"value",id:"value",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-9",level:4}];function t(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,s.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,n.jsxs)(r.ul,{children:["\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:(0,n.jsx)(r.code,{children:"BaseBlockParams"})})}),"\n"]}),"\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"LocalObjectIdentifierValueBlockParams"})}),"\n",(0,n.jsxs)(r.p,{children:["\u21b3 ",(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"ObjectIdentifierParams"})})]}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,n.jsx)(r.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"blockLength"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#blocklength",children:"blockLength"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"error",children:"error"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"error"}),": ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#error",children:"error"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"idblock",children:"idBlock"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"idBlock"}),": ",(0,n.jsx)(r.code,{children:"Partial"}),"<",(0,n.jsx)(r.code,{children:"ILocalIdentificationBlock"}),"> & ",(0,n.jsx)(r.code,{children:"Partial"}),"<",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/IHexBlock",children:(0,n.jsx)(r.code,{children:"IHexBlock"})}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#idblock",children:"idBlock"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"lenBlock"}),": ",(0,n.jsx)(r.code,{children:"Partial"}),"<",(0,n.jsx)(r.code,{children:"ILocalLengthBlock"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#lenblock",children:"lenBlock"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"name",children:"name"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"name"}),": ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#name",children:"name"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"optional",children:"optional"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"optional"}),": ",(0,n.jsx)(r.code,{children:"boolean"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#optional",children:"optional"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"primitiveSchema"}),": ",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:(0,n.jsx)(r.code,{children:"BaseBlock"})}),"<",(0,n.jsx)(r.a,{href:"/docs/api/classes/ValueBlock",children:(0,n.jsx)(r.code,{children:"ValueBlock"})}),", ",(0,n.jsx)(r.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#primitiveschema",children:"primitiveSchema"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"value",children:"value"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"value"}),": ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"LocalObjectIdentifierValueBlockParams.value"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"valueBeforeDecode"}),": ",(0,n.jsx)(r.code,{children:"BufferSource"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#valuebeforedecode",children:"valueBeforeDecode"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"warnings",children:"warnings"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"warnings"}),": ",(0,n.jsx)(r.code,{children:"string"}),"[]"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#warnings",children:"warnings"})]})]})}function h(e={}){const{wrapper:r}={...(0,s.a)(),...e.components};return r?(0,n.jsx)(r,{...e,children:(0,n.jsx)(t,{...e})}):t(e)}},1151:(e,r,i)=>{i.d(r,{Z:()=>l,a:()=>a});var n=i(7294);const s={},c=n.createContext(s);function a(e){const r=n.useContext(c);return n.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function l(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:a(e.components),n.createElement(c.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/7b30025a.d42760f6.js b/assets/js/7b30025a.d42760f6.js new file mode 100644 index 0000000..62bd161 --- /dev/null +++ b/assets/js/7b30025a.d42760f6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[7699],{4454:(e,r,i)=>{i.r(r),i.d(r,{assets:()=>d,contentTitle:()=>l,default:()=>h,frontMatter:()=>a,metadata:()=>c,toc:()=>o});var n=i(5893),s=i(1151);const a={id:"Utf8StringParams",title:"Interface: Utf8StringParams",sidebar_label:"Utf8StringParams",sidebar_position:0,custom_edit_url:null},l=void 0,c={id:"api/interfaces/Utf8StringParams",title:"Interface: Utf8StringParams",description:"Hierarchy",source:"@site/docs/api/interfaces/Utf8StringParams.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/Utf8StringParams",permalink:"/docs/api/interfaces/Utf8StringParams",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"Utf8StringParams",title:"Interface: Utf8StringParams",sidebar_label:"Utf8StringParams",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"UTCTimeParams",permalink:"/docs/api/interfaces/UTCTimeParams"},next:{title:"ValueBlockConstructor",permalink:"/docs/api/interfaces/ValueBlockConstructor"}},d={},o=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"value",id:"value",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"valueHex",id:"valuehex",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-10",level:4}];function t(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,s.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,n.jsxs)(r.ul,{children:["\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseStringBlockParams",children:(0,n.jsx)(r.code,{children:"BaseStringBlockParams"})})}),"\n"]}),"\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"LocalUtf8StringValueBlockParams"})}),"\n",(0,n.jsxs)(r.p,{children:["\u21b3 ",(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"Utf8StringParams"})})]}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,n.jsx)(r.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"blockLength"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseStringBlockParams",children:"BaseStringBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseStringBlockParams#blocklength",children:"blockLength"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"error",children:"error"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"error"}),": ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseStringBlockParams",children:"BaseStringBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseStringBlockParams#error",children:"error"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"idblock",children:"idBlock"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"idBlock"}),": ",(0,n.jsx)(r.code,{children:"Partial"}),"<",(0,n.jsx)(r.code,{children:"ILocalIdentificationBlock"}),"> & ",(0,n.jsx)(r.code,{children:"Partial"}),"<",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/IHexBlock",children:(0,n.jsx)(r.code,{children:"IHexBlock"})}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseStringBlockParams",children:"BaseStringBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseStringBlockParams#idblock",children:"idBlock"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"lenBlock"}),": ",(0,n.jsx)(r.code,{children:"Partial"}),"<",(0,n.jsx)(r.code,{children:"ILocalLengthBlock"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseStringBlockParams",children:"BaseStringBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseStringBlockParams#lenblock",children:"lenBlock"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"name",children:"name"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"name"}),": ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseStringBlockParams",children:"BaseStringBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseStringBlockParams#name",children:"name"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"optional",children:"optional"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"optional"}),": ",(0,n.jsx)(r.code,{children:"boolean"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseStringBlockParams",children:"BaseStringBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseStringBlockParams#optional",children:"optional"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"primitiveSchema"}),": ",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:(0,n.jsx)(r.code,{children:"BaseBlock"})}),"<",(0,n.jsx)(r.a,{href:"/docs/api/classes/ValueBlock",children:(0,n.jsx)(r.code,{children:"ValueBlock"})}),", ",(0,n.jsx)(r.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseStringBlockParams",children:"BaseStringBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseStringBlockParams#primitiveschema",children:"primitiveSchema"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"value",children:"value"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"value"}),": ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseStringBlockParams",children:"BaseStringBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseStringBlockParams#value",children:"value"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"valueBeforeDecode"}),": ",(0,n.jsx)(r.code,{children:"BufferSource"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseStringBlockParams",children:"BaseStringBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseStringBlockParams#valuebeforedecode",children:"valueBeforeDecode"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"valuehex",children:"valueHex"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"valueHex"}),": ",(0,n.jsx)(r.code,{children:"BufferSource"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseStringBlockParams",children:"BaseStringBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseStringBlockParams#valuehex",children:"valueHex"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"warnings",children:"warnings"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"warnings"}),": ",(0,n.jsx)(r.code,{children:"string"}),"[]"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseStringBlockParams",children:"BaseStringBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseStringBlockParams#warnings",children:"warnings"})]})]})}function h(e={}){const{wrapper:r}={...(0,s.a)(),...e.components};return r?(0,n.jsx)(r,{...e,children:(0,n.jsx)(t,{...e})}):t(e)}},1151:(e,r,i)=>{i.d(r,{Z:()=>c,a:()=>l});var n=i(7294);const s={},a=n.createContext(s);function l(e){const r=n.useContext(a);return n.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function c(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:l(e.components),n.createElement(a.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/7b53a246.8d05aefd.js b/assets/js/7b53a246.8d05aefd.js new file mode 100644 index 0000000..b38c8c9 --- /dev/null +++ b/assets/js/7b53a246.8d05aefd.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4936],{626:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>c,contentTitle:()=>d,default:()=>x,frontMatter:()=>s,metadata:()=>t,toc:()=>h});var l=n(5893),i=n(1151);const s={id:"Utf8String",title:"Class: Utf8String",sidebar_label:"Utf8String",sidebar_position:0,custom_edit_url:null},d=void 0,t={id:"api/classes/Utf8String",title:"Class: Utf8String",description:"Hierarchy",source:"@site/docs/api/classes/Utf8String.md",sourceDirName:"api/classes",slug:"/api/classes/Utf8String",permalink:"/docs/api/classes/Utf8String",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"Utf8String",title:"Class: Utf8String",sidebar_label:"Utf8String",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"UniversalString",permalink:"/docs/api/classes/UniversalString"},next:{title:"ValueBlock",permalink:"/docs/api/classes/ValueBlock"}},c={},h=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Overrides",id:"overrides",level:4},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"valueBeforeDecodeView",id:"valuebeforedecodeview",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"valueBlock",id:"valueblock",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"NAME",id:"name-1",level:3},{value:"Overrides",id:"overrides-1",level:4},{value:"Accessors",id:"accessors",level:2},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Returns",id:"returns-1",level:4},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Methods",id:"methods",level:2},{value:"fromBER",id:"fromber",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"fromBuffer",id:"frombuffer",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-4",level:4},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"fromString",id:"fromstring",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-5",level:4},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"getValue",id:"getvalue",level:3},{value:"Returns",id:"returns-6",level:4},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"isEqual",id:"isequal",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-7",level:4},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"onAsciiEncoding",id:"onasciiencoding",level:3},{value:"Returns",id:"returns-8",level:4},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"setValue",id:"setvalue",level:3},{value:"Parameters",id:"parameters-6",level:4},{value:"Returns",id:"returns-9",level:4},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"toBER",id:"tober",level:3},{value:"Parameters",id:"parameters-7",level:4},{value:"Returns",id:"returns-10",level:4},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"toJSON",id:"tojson",level:3},{value:"Returns",id:"returns-11",level:4},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"toString",id:"tostring",level:3},{value:"Parameters",id:"parameters-8",level:4},{value:"Returns",id:"returns-12",level:4},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"blockName",id:"blockname",level:3},{value:"Returns",id:"returns-13",level:4},{value:"Inherited from",id:"inherited-from-22",level:4}];function o(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.a)(),...e.components};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,l.jsxs)(r.ul,{children:["\n",(0,l.jsxs)(r.li,{children:["\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"LocalUtf8StringValueBlock"})}),"\n",(0,l.jsxs)(r.p,{children:["\u21b3 ",(0,l.jsx)(r.strong,{children:(0,l.jsx)(r.code,{children:"Utf8String"})})]}),"\n",(0,l.jsxs)(r.p,{children:["\u21b3\u21b3 ",(0,l.jsx)(r.a,{href:"/docs/api/classes/DATE",children:(0,l.jsx)(r.code,{children:"DATE"})})]}),"\n",(0,l.jsxs)(r.p,{children:["\u21b3\u21b3 ",(0,l.jsx)(r.a,{href:"/docs/api/classes/TimeOfDay",children:(0,l.jsx)(r.code,{children:"TimeOfDay"})})]}),"\n",(0,l.jsxs)(r.p,{children:["\u21b3\u21b3 ",(0,l.jsx)(r.a,{href:"/docs/api/classes/DateTime",children:(0,l.jsx)(r.code,{children:"DateTime"})})]}),"\n",(0,l.jsxs)(r.p,{children:["\u21b3\u21b3 ",(0,l.jsx)(r.a,{href:"/docs/api/classes/Duration",children:(0,l.jsx)(r.code,{children:"Duration"})})]}),"\n",(0,l.jsxs)(r.p,{children:["\u21b3\u21b3 ",(0,l.jsx)(r.a,{href:"/docs/api/classes/TIME",children:(0,l.jsx)(r.code,{children:"TIME"})})]}),"\n"]}),"\n"]}),"\n",(0,l.jsx)(r.h2,{id:"constructors",children:"Constructors"}),"\n",(0,l.jsx)(r.h3,{id:"constructor",children:"constructor"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"new Utf8String"}),"(",(0,l.jsx)(r.code,{children:"parameters?"}),"): ",(0,l.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:(0,l.jsx)(r.code,{children:"Utf8String"})})]}),"\n",(0,l.jsx)(r.h4,{id:"parameters",children:"Parameters"}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,l.jsx)(r.tbody,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"parameters"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.a,{href:"/docs/api/interfaces/Utf8StringParams",children:(0,l.jsx)(r.code,{children:"Utf8StringParams"})})})]})})]}),"\n",(0,l.jsx)(r.h4,{id:"returns",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:(0,l.jsx)(r.code,{children:"Utf8String"})})}),"\n",(0,l.jsx)(r.h4,{id:"overrides",children:"Overrides"}),"\n",(0,l.jsx)(r.p,{children:"LocalUtf8StringValueBlock.constructor"}),"\n",(0,l.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,l.jsx)(r.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"blockLength"}),": ",(0,l.jsx)(r.code,{children:"number"})]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalUtf8StringValueBlock.blockLength"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"error",children:"error"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"error"}),": ",(0,l.jsx)(r.code,{children:"string"})]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalUtf8StringValueBlock.error"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"idblock",children:"idBlock"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"idBlock"}),": ",(0,l.jsx)(r.code,{children:"LocalIdentificationBlock"})]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalUtf8StringValueBlock.idBlock"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"lenBlock"}),": ",(0,l.jsx)(r.code,{children:"LocalLengthBlock"})]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalUtf8StringValueBlock.lenBlock"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"name",children:"name"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"name"}),": ",(0,l.jsx)(r.code,{children:"string"})]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalUtf8StringValueBlock.name"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"optional",children:"optional"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"optional"}),": ",(0,l.jsx)(r.code,{children:"boolean"})]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalUtf8StringValueBlock.optional"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.code,{children:"Optional"})," ",(0,l.jsx)(r.strong,{children:"primitiveSchema"}),": ",(0,l.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:(0,l.jsx)(r.code,{children:"BaseBlock"})}),"<",(0,l.jsx)(r.a,{href:"/docs/api/classes/ValueBlock",children:(0,l.jsx)(r.code,{children:"ValueBlock"})}),", ",(0,l.jsx)(r.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalUtf8StringValueBlock.primitiveSchema"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"valuebeforedecodeview",children:"valueBeforeDecodeView"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"valueBeforeDecodeView"}),": ",(0,l.jsx)(r.code,{children:"Uint8Array"})]}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.strong,{children:(0,l.jsx)(r.code,{children:"Since"})})}),"\n",(0,l.jsx)(r.p,{children:"3.0.0"}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalUtf8StringValueBlock.valueBeforeDecodeView"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"valueblock",children:"valueBlock"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"valueBlock"}),": ",(0,l.jsx)(r.code,{children:"LocalSimpleStringValueBlock"})]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalUtf8StringValueBlock.valueBlock"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"warnings",children:"warnings"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"warnings"}),": ",(0,l.jsx)(r.code,{children:"string"}),"[]"]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalUtf8StringValueBlock.warnings"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"name-1",children:"NAME"}),"\n",(0,l.jsxs)(r.p,{children:["\u25aa ",(0,l.jsx)(r.code,{children:"Static"})," ",(0,l.jsx)(r.strong,{children:"NAME"}),": ",(0,l.jsx)(r.code,{children:"string"})," = ",(0,l.jsx)(r.code,{children:'"UTF8String"'})]}),"\n",(0,l.jsx)(r.h4,{id:"overrides-1",children:"Overrides"}),"\n",(0,l.jsx)(r.p,{children:"LocalUtf8StringValueBlock.NAME"}),"\n",(0,l.jsx)(r.h2,{id:"accessors",children:"Accessors"}),"\n",(0,l.jsx)(r.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.code,{children:"get"})," ",(0,l.jsx)(r.strong,{children:"valueBeforeDecode"}),"(): ",(0,l.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-1",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.strong,{children:(0,l.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,l.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalUtf8StringValueBlock.valueBeforeDecode"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.code,{children:"set"})," ",(0,l.jsx)(r.strong,{children:"valueBeforeDecode"}),"(",(0,l.jsx)(r.code,{children:"value"}),"): ",(0,l.jsx)(r.code,{children:"void"})]}),"\n",(0,l.jsx)(r.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,l.jsx)(r.tbody,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"value"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"ArrayBuffer"})})]})})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-2",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"void"})}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.strong,{children:(0,l.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,l.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalUtf8StringValueBlock.valueBeforeDecode"}),"\n",(0,l.jsx)(r.h2,{id:"methods",children:"Methods"}),"\n",(0,l.jsx)(r.h3,{id:"fromber",children:"fromBER"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"fromBER"}),"(",(0,l.jsx)(r.code,{children:"inputBuffer"}),", ",(0,l.jsx)(r.code,{children:"inputOffset"}),", ",(0,l.jsx)(r.code,{children:"inputLength"}),"): ",(0,l.jsx)(r.code,{children:"number"})]}),"\n",(0,l.jsx)(r.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,l.jsxs)(r.tbody,{children:[(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"inputBuffer"})}),(0,l.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,l.jsx)(r.code,{children:"Uint8Array"})," | ",(0,l.jsx)(r.code,{children:"ArrayBuffer"})]})]}),(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"inputOffset"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"number"})})]}),(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"inputLength"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"number"})})]})]})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-3",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"number"})}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalUtf8StringValueBlock.fromBER"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"frombuffer",children:"fromBuffer"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"fromBuffer"}),"(",(0,l.jsx)(r.code,{children:"inputBuffer"}),"): ",(0,l.jsx)(r.code,{children:"void"})]}),"\n",(0,l.jsx)(r.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,l.jsx)(r.tbody,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"inputBuffer"})}),(0,l.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,l.jsx)(r.code,{children:"Uint8Array"})," | ",(0,l.jsx)(r.code,{children:"ArrayBuffer"})]})]})})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-4",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"void"})}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalUtf8StringValueBlock.fromBuffer"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"fromstring",children:"fromString"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"fromString"}),"(",(0,l.jsx)(r.code,{children:"inputString"}),"): ",(0,l.jsx)(r.code,{children:"void"})]}),"\n",(0,l.jsx)(r.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,l.jsx)(r.tbody,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"inputString"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"string"})})]})})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-5",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"void"})}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalUtf8StringValueBlock.fromString"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"getvalue",children:"getValue"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"getValue"}),"(): ",(0,l.jsx)(r.code,{children:"string"})]}),"\n",(0,l.jsx)(r.p,{children:"String value"}),"\n",(0,l.jsx)(r.h4,{id:"returns-6",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"string"})}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.strong,{children:(0,l.jsx)(r.code,{children:"Since"})})}),"\n",(0,l.jsx)(r.p,{children:"3.0.0"}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalUtf8StringValueBlock.getValue"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"isequal",children:"isEqual"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"isEqual"}),"(",(0,l.jsx)(r.code,{children:"other"}),"): other is Utf8String"]}),"\n",(0,l.jsx)(r.p,{children:"Determines whether two object instances are equal"}),"\n",(0,l.jsx)(r.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,l.jsx)(r.tbody,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"other"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"unknown"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:"Object to compare with the current object"})]})})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-7",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:"other is Utf8String"}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalUtf8StringValueBlock.isEqual"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"onasciiencoding",children:"onAsciiEncoding"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"onAsciiEncoding"}),"(): ",(0,l.jsx)(r.code,{children:"string"})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-8",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"string"})}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-17",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalUtf8StringValueBlock.onAsciiEncoding"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"setvalue",children:"setValue"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"setValue"}),"(",(0,l.jsx)(r.code,{children:"value"}),"): ",(0,l.jsx)(r.code,{children:"void"})]}),"\n",(0,l.jsx)(r.p,{children:"String value"}),"\n",(0,l.jsx)(r.h4,{id:"parameters-6",children:"Parameters"}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,l.jsx)(r.tbody,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"value"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"string"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:"String value"})]})})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-9",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"void"})}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.strong,{children:(0,l.jsx)(r.code,{children:"Since"})})}),"\n",(0,l.jsx)(r.p,{children:"3.0.0"}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-18",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalUtf8StringValueBlock.setValue"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"tober",children:"toBER"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"toBER"}),"(",(0,l.jsx)(r.code,{children:"sizeOnly?"}),", ",(0,l.jsx)(r.code,{children:"writer?"}),"): ",(0,l.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,l.jsx)(r.h4,{id:"parameters-7",children:"Parameters"}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,l.jsxs)(r.tbody,{children:[(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"sizeOnly?"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"boolean"})})]}),(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"writer?"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.a,{href:"/docs/api/classes/ViewWriter",children:(0,l.jsx)(r.code,{children:"ViewWriter"})})})]})]})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-10",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-19",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalUtf8StringValueBlock.toBER"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"tojson",children:"toJSON"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"toJSON"}),"(): ",(0,l.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,l.jsx)(r.code,{children:"BaseBlockJson"})}),"<",(0,l.jsx)(r.code,{children:"LocalStringValueBlockJson"}),">"]}),"\n",(0,l.jsx)(r.h4,{id:"returns-11",children:"Returns"}),"\n",(0,l.jsxs)(r.p,{children:[(0,l.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,l.jsx)(r.code,{children:"BaseBlockJson"})}),"<",(0,l.jsx)(r.code,{children:"LocalStringValueBlockJson"}),">"]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-20",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalUtf8StringValueBlock.toJSON"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"tostring",children:"toString"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"toString"}),"(",(0,l.jsx)(r.code,{children:"encoding?"}),"): ",(0,l.jsx)(r.code,{children:"string"})]}),"\n",(0,l.jsx)(r.h4,{id:"parameters-8",children:"Parameters"}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Default value"})]})}),(0,l.jsx)(r.tbody,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"encoding"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.a,{href:"../#stringencoding",children:(0,l.jsx)(r.code,{children:"StringEncoding"})})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:'"ascii"'})})]})})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-12",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"string"})}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-21",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalUtf8StringValueBlock.toString"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"blockname",children:"blockName"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"blockName"}),"(): ",(0,l.jsx)(r.code,{children:"string"})]}),"\n",(0,l.jsx)(r.p,{children:"Aux function, need to get a block name. Need to have it here for inheritance"}),"\n",(0,l.jsx)(r.h4,{id:"returns-13",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"string"})}),"\n",(0,l.jsx)(r.p,{children:"Returns name of the block"}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-22",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalUtf8StringValueBlock.blockName"})]})}function x(e={}){const{wrapper:r}={...(0,i.a)(),...e.components};return r?(0,l.jsx)(r,{...e,children:(0,l.jsx)(o,{...e})}):o(e)}},1151:(e,r,n)=>{n.d(r,{Z:()=>t,a:()=>d});var l=n(7294);const i={},s=l.createContext(i);function d(e){const r=l.useContext(s);return l.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function t(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:d(e.components),l.createElement(s.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/7e6180b7.feec1ea7.js b/assets/js/7e6180b7.feec1ea7.js new file mode 100644 index 0000000..84625d7 --- /dev/null +++ b/assets/js/7e6180b7.feec1ea7.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4914],{5185:(e,i,r)=>{r.r(i),r.d(i,{assets:()=>o,contentTitle:()=>s,default:()=>t,frontMatter:()=>d,metadata:()=>c,toc:()=>a});var n=r(5893),l=r(1151);const d={id:"UTCTimeParams",title:"Interface: UTCTimeParams",sidebar_label:"UTCTimeParams",sidebar_position:0,custom_edit_url:null},s=void 0,c={id:"api/interfaces/UTCTimeParams",title:"Interface: UTCTimeParams",description:"Hierarchy",source:"@site/docs/api/interfaces/UTCTimeParams.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/UTCTimeParams",permalink:"/docs/api/interfaces/UTCTimeParams",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"UTCTimeParams",title:"Interface: UTCTimeParams",sidebar_label:"UTCTimeParams",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"UTCTimeJson",permalink:"/docs/api/interfaces/UTCTimeJson"},next:{title:"Utf8StringParams",permalink:"/docs/api/interfaces/Utf8StringParams"}},o={},a=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"value",id:"value",level:3},{value:"Overrides",id:"overrides",level:4},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"valueDate",id:"valuedate",level:3},{value:"valueHex",id:"valuehex",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-9",level:4}];function h(e){const i={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,l.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,n.jsxs)(i.ul,{children:["\n",(0,n.jsxs)(i.li,{children:["\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"../#visiblestringparams",children:(0,n.jsx)(i.code,{children:"VisibleStringParams"})})}),"\n",(0,n.jsxs)(i.p,{children:["\u21b3 ",(0,n.jsx)(i.strong,{children:(0,n.jsx)(i.code,{children:"UTCTimeParams"})})]}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(i.h2,{id:"properties",children:"Properties"}),"\n",(0,n.jsx)(i.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"blockLength"}),": ",(0,n.jsx)(i.code,{children:"number"})]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,n.jsx)(i.p,{children:"VisibleStringParams.blockLength"}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"error",children:"error"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"error"}),": ",(0,n.jsx)(i.code,{children:"string"})]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,n.jsx)(i.p,{children:"VisibleStringParams.error"}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"idblock",children:"idBlock"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"idBlock"}),": ",(0,n.jsx)(i.code,{children:"Partial"}),"<",(0,n.jsx)(i.code,{children:"ILocalIdentificationBlock"}),"> & ",(0,n.jsx)(i.code,{children:"Partial"}),"<",(0,n.jsx)(i.a,{href:"/docs/api/interfaces/IHexBlock",children:(0,n.jsx)(i.code,{children:"IHexBlock"})}),">"]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,n.jsx)(i.p,{children:"VisibleStringParams.idBlock"}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"lenBlock"}),": ",(0,n.jsx)(i.code,{children:"Partial"}),"<",(0,n.jsx)(i.code,{children:"ILocalLengthBlock"}),">"]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,n.jsx)(i.p,{children:"VisibleStringParams.lenBlock"}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"name",children:"name"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"name"}),": ",(0,n.jsx)(i.code,{children:"string"})]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,n.jsx)(i.p,{children:"VisibleStringParams.name"}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"optional",children:"optional"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"optional"}),": ",(0,n.jsx)(i.code,{children:"boolean"})]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,n.jsx)(i.p,{children:"VisibleStringParams.optional"}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"primitiveSchema"}),": ",(0,n.jsx)(i.a,{href:"/docs/api/classes/BaseBlock",children:(0,n.jsx)(i.code,{children:"BaseBlock"})}),"<",(0,n.jsx)(i.a,{href:"/docs/api/classes/ValueBlock",children:(0,n.jsx)(i.code,{children:"ValueBlock"})}),", ",(0,n.jsx)(i.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,n.jsx)(i.p,{children:"VisibleStringParams.primitiveSchema"}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"value",children:"value"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"value"}),": ",(0,n.jsx)(i.code,{children:"string"})]}),"\n",(0,n.jsx)(i.h4,{id:"overrides",children:"Overrides"}),"\n",(0,n.jsx)(i.p,{children:"VisibleStringParams.value"}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"valueBeforeDecode"}),": ",(0,n.jsx)(i.code,{children:"BufferSource"})]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,n.jsx)(i.p,{children:"VisibleStringParams.valueBeforeDecode"}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"valuedate",children:"valueDate"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"valueDate"}),": ",(0,n.jsx)(i.code,{children:"Date"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"valuehex",children:"valueHex"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"valueHex"}),": ",(0,n.jsx)(i.code,{children:"BufferSource"})]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,n.jsx)(i.p,{children:"VisibleStringParams.valueHex"}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"warnings",children:"warnings"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"warnings"}),": ",(0,n.jsx)(i.code,{children:"string"}),"[]"]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,n.jsx)(i.p,{children:"VisibleStringParams.warnings"})]})}function t(e={}){const{wrapper:i}={...(0,l.a)(),...e.components};return i?(0,n.jsx)(i,{...e,children:(0,n.jsx)(h,{...e})}):h(e)}},1151:(e,i,r)=>{r.d(i,{Z:()=>c,a:()=>s});var n=r(7294);const l={},d=n.createContext(l);function s(e){const i=n.useContext(d);return n.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function c(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(l):e.components||l:s(e.components),n.createElement(d.Provider,{value:i},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/84852306.823aaeef.js b/assets/js/84852306.823aaeef.js new file mode 100644 index 0000000..ae1ec66 --- /dev/null +++ b/assets/js/84852306.823aaeef.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[1050],{7209:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>a,contentTitle:()=>o,default:()=>u,frontMatter:()=>i,metadata:()=>l,toc:()=>c});var s=r(5893),n=r(1151);const i={id:"FromBerResult",title:"Interface: FromBerResult",sidebar_label:"FromBerResult",sidebar_position:0,custom_edit_url:null},o=void 0,l={id:"api/interfaces/FromBerResult",title:"Interface: FromBerResult",description:"Properties",source:"@site/docs/api/interfaces/FromBerResult.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/FromBerResult",permalink:"/docs/api/interfaces/FromBerResult",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"FromBerResult",title:"Interface: FromBerResult",sidebar_label:"FromBerResult",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"ConstructedParams",permalink:"/docs/api/interfaces/ConstructedParams"},next:{title:"GeneralizedTimeJson",permalink:"/docs/api/interfaces/GeneralizedTimeJson"}},a={},c=[{value:"Properties",id:"properties",level:2},{value:"offset",id:"offset",level:3},{value:"result",id:"result",level:3}];function d(e){const t={a:"a",code:"code",h2:"h2",h3:"h3",hr:"hr",p:"p",strong:"strong",...(0,n.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.h2,{id:"properties",children:"Properties"}),"\n",(0,s.jsx)(t.h3,{id:"offset",children:"offset"}),"\n",(0,s.jsxs)(t.p,{children:["\u2022 ",(0,s.jsx)(t.strong,{children:"offset"}),": ",(0,s.jsx)(t.code,{children:"number"})]}),"\n",(0,s.jsx)(t.hr,{}),"\n",(0,s.jsx)(t.h3,{id:"result",children:"result"}),"\n",(0,s.jsxs)(t.p,{children:["\u2022 ",(0,s.jsx)(t.strong,{children:"result"}),": ",(0,s.jsx)(t.a,{href:"../#asntype",children:(0,s.jsx)(t.code,{children:"AsnType"})})]})]})}function u(e={}){const{wrapper:t}={...(0,n.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},1151:(e,t,r)=>{r.d(t,{Z:()=>l,a:()=>o});var s=r(7294);const n={},i=s.createContext(n);function o(e){const t=s.useContext(i);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function l(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:o(e.components),s.createElement(i.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/869c68c6.a1c6ad5e.js b/assets/js/869c68c6.a1c6ad5e.js new file mode 100644 index 0000000..600815c --- /dev/null +++ b/assets/js/869c68c6.a1c6ad5e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[590],{531:(e,i,r)=>{r.r(i),r.d(i,{assets:()=>d,contentTitle:()=>l,default:()=>h,frontMatter:()=>a,metadata:()=>c,toc:()=>o});var n=r(5893),s=r(1151);const a={id:"RelativeObjectIdentifierParams",title:"Interface: RelativeObjectIdentifierParams",sidebar_label:"RelativeObjectIdentifierParams",sidebar_position:0,custom_edit_url:null},l=void 0,c={id:"api/interfaces/RelativeObjectIdentifierParams",title:"Interface: RelativeObjectIdentifierParams",description:"Hierarchy",source:"@site/docs/api/interfaces/RelativeObjectIdentifierParams.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/RelativeObjectIdentifierParams",permalink:"/docs/api/interfaces/RelativeObjectIdentifierParams",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"RelativeObjectIdentifierParams",title:"Interface: RelativeObjectIdentifierParams",sidebar_label:"RelativeObjectIdentifierParams",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"RelativeObjectIdentifierJson",permalink:"/docs/api/interfaces/RelativeObjectIdentifierJson"},next:{title:"UTCTimeJson",permalink:"/docs/api/interfaces/UTCTimeJson"}},d={},o=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"value",id:"value",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-9",level:4}];function t(e){const i={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,s.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,n.jsxs)(i.ul,{children:["\n",(0,n.jsxs)(i.li,{children:["\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams",children:(0,n.jsx)(i.code,{children:"BaseBlockParams"})})}),"\n"]}),"\n",(0,n.jsxs)(i.li,{children:["\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"LocalRelativeObjectIdentifierValueBlockParams"})}),"\n",(0,n.jsxs)(i.p,{children:["\u21b3 ",(0,n.jsx)(i.strong,{children:(0,n.jsx)(i.code,{children:"RelativeObjectIdentifierParams"})})]}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(i.h2,{id:"properties",children:"Properties"}),"\n",(0,n.jsx)(i.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"blockLength"}),": ",(0,n.jsx)(i.code,{children:"number"})]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams#blocklength",children:"blockLength"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"error",children:"error"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"error"}),": ",(0,n.jsx)(i.code,{children:"string"})]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams#error",children:"error"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"idblock",children:"idBlock"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"idBlock"}),": ",(0,n.jsx)(i.code,{children:"Partial"}),"<",(0,n.jsx)(i.code,{children:"ILocalIdentificationBlock"}),"> & ",(0,n.jsx)(i.code,{children:"Partial"}),"<",(0,n.jsx)(i.a,{href:"/docs/api/interfaces/IHexBlock",children:(0,n.jsx)(i.code,{children:"IHexBlock"})}),">"]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams#idblock",children:"idBlock"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"lenBlock"}),": ",(0,n.jsx)(i.code,{children:"Partial"}),"<",(0,n.jsx)(i.code,{children:"ILocalLengthBlock"}),">"]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams#lenblock",children:"lenBlock"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"name",children:"name"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"name"}),": ",(0,n.jsx)(i.code,{children:"string"})]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams#name",children:"name"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"optional",children:"optional"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"optional"}),": ",(0,n.jsx)(i.code,{children:"boolean"})]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams#optional",children:"optional"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"primitiveSchema"}),": ",(0,n.jsx)(i.a,{href:"/docs/api/classes/BaseBlock",children:(0,n.jsx)(i.code,{children:"BaseBlock"})}),"<",(0,n.jsx)(i.a,{href:"/docs/api/classes/ValueBlock",children:(0,n.jsx)(i.code,{children:"ValueBlock"})}),", ",(0,n.jsx)(i.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams#primitiveschema",children:"primitiveSchema"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"value",children:"value"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"value"}),": ",(0,n.jsx)(i.code,{children:"string"})]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,n.jsx)(i.p,{children:"LocalRelativeObjectIdentifierValueBlockParams.value"}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"valueBeforeDecode"}),": ",(0,n.jsx)(i.code,{children:"BufferSource"})]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams#valuebeforedecode",children:"valueBeforeDecode"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"warnings",children:"warnings"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"warnings"}),": ",(0,n.jsx)(i.code,{children:"string"}),"[]"]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(i.a,{href:"/docs/api/interfaces/BaseBlockParams#warnings",children:"warnings"})]})]})}function h(e={}){const{wrapper:i}={...(0,s.a)(),...e.components};return i?(0,n.jsx)(i,{...e,children:(0,n.jsx)(t,{...e})}):t(e)}},1151:(e,i,r)=>{r.d(i,{Z:()=>c,a:()=>l});var n=r(7294);const s={},a=n.createContext(s);function l(e){const i=n.useContext(a);return n.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function c(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:l(e.components),n.createElement(a.Provider,{value:i},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/8c440dac.7d355723.js b/assets/js/8c440dac.7d355723.js new file mode 100644 index 0000000..dc88b13 --- /dev/null +++ b/assets/js/8c440dac.7d355723.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8229],{1779:(e,s,n)=>{n.r(s),n.d(s,{assets:()=>c,contentTitle:()=>t,default:()=>h,frontMatter:()=>l,metadata:()=>d,toc:()=>a});var r=n(5893),i=n(1151);const l={id:"Repeated",title:"Class: Repeated",sidebar_label:"Repeated",sidebar_position:0,custom_edit_url:null},t=void 0,d={id:"api/classes/Repeated",title:"Class: Repeated",description:"Hierarchy",source:"@site/docs/api/classes/Repeated.md",sourceDirName:"api/classes",slug:"/api/classes/Repeated",permalink:"/docs/api/classes/Repeated",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"Repeated",title:"Class: Repeated",sidebar_label:"Repeated",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"RelativeObjectIdentifier",permalink:"/docs/api/classes/RelativeObjectIdentifier"},next:{title:"Sequence",permalink:"/docs/api/classes/Sequence"}},c={},a=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Overrides",id:"overrides",level:4},{value:"Properties",id:"properties",level:2},{value:"local",id:"local",level:3},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"value",id:"value",level:3}];function o(e){const s={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,r.jsxs)(s.ul,{children:["\n",(0,r.jsxs)(s.li,{children:["\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"/docs/api/classes/Any",children:(0,r.jsx)(s.code,{children:"Any"})})}),"\n",(0,r.jsxs)(s.p,{children:["\u21b3 ",(0,r.jsx)(s.strong,{children:(0,r.jsx)(s.code,{children:"Repeated"})})]}),"\n"]}),"\n"]}),"\n",(0,r.jsx)(s.h2,{id:"constructors",children:"Constructors"}),"\n",(0,r.jsx)(s.h3,{id:"constructor",children:"constructor"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"new Repeated"}),"(",(0,r.jsx)(s.code,{children:"\xabdestructured\xbb?"}),"): ",(0,r.jsx)(s.a,{href:"/docs/api/classes/Repeated",children:(0,r.jsx)(s.code,{children:"Repeated"})})]}),"\n",(0,r.jsx)(s.h4,{id:"parameters",children:"Parameters"}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,r.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{style:{textAlign:"left"},children:(0,r.jsx)(s.code,{children:"\xabdestructured\xbb"})}),(0,r.jsxs)(s.td,{style:{textAlign:"left"},children:[(0,r.jsx)(s.code,{children:"Partial"}),"<",(0,r.jsx)(s.a,{href:"/docs/api/interfaces/IRepeated",children:(0,r.jsx)(s.code,{children:"IRepeated"})}),">"]})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"returns",children:"Returns"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"/docs/api/classes/Repeated",children:(0,r.jsx)(s.code,{children:"Repeated"})})}),"\n",(0,r.jsx)(s.h4,{id:"overrides",children:"Overrides"}),"\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.a,{href:"/docs/api/classes/Any",children:"Any"}),".",(0,r.jsx)(s.a,{href:"/docs/api/classes/Any#constructor",children:"constructor"})]}),"\n",(0,r.jsx)(s.h2,{id:"properties",children:"Properties"}),"\n",(0,r.jsx)(s.h3,{id:"local",children:"local"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"local"}),": ",(0,r.jsx)(s.code,{children:"boolean"})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"name",children:"name"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"name"}),": ",(0,r.jsx)(s.code,{children:"string"})]}),"\n",(0,r.jsx)(s.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.a,{href:"/docs/api/classes/Any",children:"Any"}),".",(0,r.jsx)(s.a,{href:"/docs/api/classes/Any#name",children:"name"})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"optional",children:"optional"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"optional"}),": ",(0,r.jsx)(s.code,{children:"boolean"})]}),"\n",(0,r.jsx)(s.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.a,{href:"/docs/api/classes/Any",children:"Any"}),".",(0,r.jsx)(s.a,{href:"/docs/api/classes/Any#optional",children:"optional"})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"value",children:"value"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"value"}),": ",(0,r.jsx)(s.a,{href:"/docs/api/classes/Any",children:(0,r.jsx)(s.code,{children:"Any"})})]})]})}function h(e={}){const{wrapper:s}={...(0,i.a)(),...e.components};return s?(0,r.jsx)(s,{...e,children:(0,r.jsx)(o,{...e})}):o(e)}},1151:(e,s,n)=>{n.d(s,{Z:()=>d,a:()=>t});var r=n(7294);const i={},l=r.createContext(i);function t(e){const s=r.useContext(l);return r.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function d(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:t(e.components),r.createElement(l.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/935f2afb.571b41c3.js b/assets/js/935f2afb.571b41c3.js new file mode 100644 index 0000000..4dab44c --- /dev/null +++ b/assets/js/935f2afb.571b41c3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[53],{1109:e=>{e.exports=JSON.parse('{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"docs":[{"type":"link","label":"Installation","href":"/docs/installation","docId":"installation","unlisted":false},{"type":"category","label":"API","collapsed":false,"items":[{"type":"link","label":"Exports","href":"/docs/api/","docId":"api/index","unlisted":false},{"type":"category","label":"Classes","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Any","href":"/docs/api/classes/Any","docId":"api/classes/Any","unlisted":false},{"type":"link","label":"BaseBlock","href":"/docs/api/classes/BaseBlock","docId":"api/classes/BaseBlock","unlisted":false},{"type":"link","label":"BaseStringBlock","href":"/docs/api/classes/BaseStringBlock","docId":"api/classes/BaseStringBlock","unlisted":false},{"type":"link","label":"BitString","href":"/docs/api/classes/BitString","docId":"api/classes/BitString","unlisted":false},{"type":"link","label":"BmpString","href":"/docs/api/classes/BmpString","docId":"api/classes/BmpString","unlisted":false},{"type":"link","label":"Boolean","href":"/docs/api/classes/Boolean","docId":"api/classes/Boolean","unlisted":false},{"type":"link","label":"CharacterString","href":"/docs/api/classes/CharacterString","docId":"api/classes/CharacterString","unlisted":false},{"type":"link","label":"Choice","href":"/docs/api/classes/Choice","docId":"api/classes/Choice","unlisted":false},{"type":"link","label":"Constructed","href":"/docs/api/classes/Constructed","docId":"api/classes/Constructed","unlisted":false},{"type":"link","label":"DATE","href":"/docs/api/classes/DATE","docId":"api/classes/DATE","unlisted":false},{"type":"link","label":"DateTime","href":"/docs/api/classes/DateTime","docId":"api/classes/DateTime","unlisted":false},{"type":"link","label":"Duration","href":"/docs/api/classes/Duration","docId":"api/classes/Duration","unlisted":false},{"type":"link","label":"EndOfContent","href":"/docs/api/classes/EndOfContent","docId":"api/classes/EndOfContent","unlisted":false},{"type":"link","label":"Enumerated","href":"/docs/api/classes/Enumerated","docId":"api/classes/Enumerated","unlisted":false},{"type":"link","label":"GeneralString","href":"/docs/api/classes/GeneralString","docId":"api/classes/GeneralString","unlisted":false},{"type":"link","label":"GeneralizedTime","href":"/docs/api/classes/GeneralizedTime","docId":"api/classes/GeneralizedTime","unlisted":false},{"type":"link","label":"GraphicString","href":"/docs/api/classes/GraphicString","docId":"api/classes/GraphicString","unlisted":false},{"type":"link","label":"IA5String","href":"/docs/api/classes/IA5String","docId":"api/classes/IA5String","unlisted":false},{"type":"link","label":"Integer","href":"/docs/api/classes/Integer","docId":"api/classes/Integer","unlisted":false},{"type":"link","label":"Null","href":"/docs/api/classes/Null","docId":"api/classes/Null","unlisted":false},{"type":"link","label":"NumericString","href":"/docs/api/classes/NumericString","docId":"api/classes/NumericString","unlisted":false},{"type":"link","label":"ObjectIdentifier","href":"/docs/api/classes/ObjectIdentifier","docId":"api/classes/ObjectIdentifier","unlisted":false},{"type":"link","label":"OctetString","href":"/docs/api/classes/OctetString","docId":"api/classes/OctetString","unlisted":false},{"type":"link","label":"Primitive","href":"/docs/api/classes/Primitive","docId":"api/classes/Primitive","unlisted":false},{"type":"link","label":"PrintableString","href":"/docs/api/classes/PrintableString","docId":"api/classes/PrintableString","unlisted":false},{"type":"link","label":"RawData","href":"/docs/api/classes/RawData","docId":"api/classes/RawData","unlisted":false},{"type":"link","label":"RelativeObjectIdentifier","href":"/docs/api/classes/RelativeObjectIdentifier","docId":"api/classes/RelativeObjectIdentifier","unlisted":false},{"type":"link","label":"Repeated","href":"/docs/api/classes/Repeated","docId":"api/classes/Repeated","unlisted":false},{"type":"link","label":"Sequence","href":"/docs/api/classes/Sequence","docId":"api/classes/Sequence","unlisted":false},{"type":"link","label":"Set","href":"/docs/api/classes/Set","docId":"api/classes/Set","unlisted":false},{"type":"link","label":"TIME","href":"/docs/api/classes/TIME","docId":"api/classes/TIME","unlisted":false},{"type":"link","label":"TeletexString","href":"/docs/api/classes/TeletexString","docId":"api/classes/TeletexString","unlisted":false},{"type":"link","label":"TimeOfDay","href":"/docs/api/classes/TimeOfDay","docId":"api/classes/TimeOfDay","unlisted":false},{"type":"link","label":"UTCTime","href":"/docs/api/classes/UTCTime","docId":"api/classes/UTCTime","unlisted":false},{"type":"link","label":"UniversalString","href":"/docs/api/classes/UniversalString","docId":"api/classes/UniversalString","unlisted":false},{"type":"link","label":"Utf8String","href":"/docs/api/classes/Utf8String","docId":"api/classes/Utf8String","unlisted":false},{"type":"link","label":"ValueBlock","href":"/docs/api/classes/ValueBlock","docId":"api/classes/ValueBlock","unlisted":false},{"type":"link","label":"VideotexString","href":"/docs/api/classes/VideotexString","docId":"api/classes/VideotexString","unlisted":false},{"type":"link","label":"ViewWriter","href":"/docs/api/classes/ViewWriter","docId":"api/classes/ViewWriter","unlisted":false},{"type":"link","label":"VisibleString","href":"/docs/api/classes/VisibleString","docId":"api/classes/VisibleString","unlisted":false}]},{"type":"category","label":"Interfaces","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"BaseBlockJson","href":"/docs/api/interfaces/BaseBlockJson","docId":"api/interfaces/BaseBlockJson","unlisted":false},{"type":"link","label":"BaseBlockParams","href":"/docs/api/interfaces/BaseBlockParams","docId":"api/interfaces/BaseBlockParams","unlisted":false},{"type":"link","label":"BaseStringBlockParams","href":"/docs/api/interfaces/BaseStringBlockParams","docId":"api/interfaces/BaseStringBlockParams","unlisted":false},{"type":"link","label":"BitStringParams","href":"/docs/api/interfaces/BitStringParams","docId":"api/interfaces/BitStringParams","unlisted":false},{"type":"link","label":"BooleanParams","href":"/docs/api/interfaces/BooleanParams","docId":"api/interfaces/BooleanParams","unlisted":false},{"type":"link","label":"CompareSchemaFail","href":"/docs/api/interfaces/CompareSchemaFail","docId":"api/interfaces/CompareSchemaFail","unlisted":false},{"type":"link","label":"CompareSchemaSuccess","href":"/docs/api/interfaces/CompareSchemaSuccess","docId":"api/interfaces/CompareSchemaSuccess","unlisted":false},{"type":"link","label":"ConstructedParams","href":"/docs/api/interfaces/ConstructedParams","docId":"api/interfaces/ConstructedParams","unlisted":false},{"type":"link","label":"FromBerResult","href":"/docs/api/interfaces/FromBerResult","docId":"api/interfaces/FromBerResult","unlisted":false},{"type":"link","label":"GeneralizedTimeJson","href":"/docs/api/interfaces/GeneralizedTimeJson","docId":"api/interfaces/GeneralizedTimeJson","unlisted":false},{"type":"link","label":"HexBlockJson","href":"/docs/api/interfaces/HexBlockJson","docId":"api/interfaces/HexBlockJson","unlisted":false},{"type":"link","label":"IAny","href":"/docs/api/interfaces/IAny","docId":"api/interfaces/IAny","unlisted":false},{"type":"link","label":"IBaseBlock","href":"/docs/api/interfaces/IBaseBlock","docId":"api/interfaces/IBaseBlock","unlisted":false},{"type":"link","label":"IBerConvertible","href":"/docs/api/interfaces/IBerConvertible","docId":"api/interfaces/IBerConvertible","unlisted":false},{"type":"link","label":"IChoice","href":"/docs/api/interfaces/IChoice","docId":"api/interfaces/IChoice","unlisted":false},{"type":"link","label":"IDateConvertible","href":"/docs/api/interfaces/IDateConvertible","docId":"api/interfaces/IDateConvertible","unlisted":false},{"type":"link","label":"IDerConvertible","href":"/docs/api/interfaces/IDerConvertible","docId":"api/interfaces/IDerConvertible","unlisted":false},{"type":"link","label":"IGeneralizedTime","href":"/docs/api/interfaces/IGeneralizedTime","docId":"api/interfaces/IGeneralizedTime","unlisted":false},{"type":"link","label":"IHexBlock","href":"/docs/api/interfaces/IHexBlock","docId":"api/interfaces/IHexBlock","unlisted":false},{"type":"link","label":"IRawData","href":"/docs/api/interfaces/IRawData","docId":"api/interfaces/IRawData","unlisted":false},{"type":"link","label":"IRepeated","href":"/docs/api/interfaces/IRepeated","docId":"api/interfaces/IRepeated","unlisted":false},{"type":"link","label":"IStringConvertible","href":"/docs/api/interfaces/IStringConvertible","docId":"api/interfaces/IStringConvertible","unlisted":false},{"type":"link","label":"IUTCTime","href":"/docs/api/interfaces/IUTCTime","docId":"api/interfaces/IUTCTime","unlisted":false},{"type":"link","label":"IntegerParams","href":"/docs/api/interfaces/IntegerParams","docId":"api/interfaces/IntegerParams","unlisted":false},{"type":"link","label":"ObjectIdentifierJson","href":"/docs/api/interfaces/ObjectIdentifierJson","docId":"api/interfaces/ObjectIdentifierJson","unlisted":false},{"type":"link","label":"ObjectIdentifierParams","href":"/docs/api/interfaces/ObjectIdentifierParams","docId":"api/interfaces/ObjectIdentifierParams","unlisted":false},{"type":"link","label":"OctetStringParams","href":"/docs/api/interfaces/OctetStringParams","docId":"api/interfaces/OctetStringParams","unlisted":false},{"type":"link","label":"PrimitiveParams","href":"/docs/api/interfaces/PrimitiveParams","docId":"api/interfaces/PrimitiveParams","unlisted":false},{"type":"link","label":"RelativeObjectIdentifierJson","href":"/docs/api/interfaces/RelativeObjectIdentifierJson","docId":"api/interfaces/RelativeObjectIdentifierJson","unlisted":false},{"type":"link","label":"RelativeObjectIdentifierParams","href":"/docs/api/interfaces/RelativeObjectIdentifierParams","docId":"api/interfaces/RelativeObjectIdentifierParams","unlisted":false},{"type":"link","label":"UTCTimeJson","href":"/docs/api/interfaces/UTCTimeJson","docId":"api/interfaces/UTCTimeJson","unlisted":false},{"type":"link","label":"UTCTimeParams","href":"/docs/api/interfaces/UTCTimeParams","docId":"api/interfaces/UTCTimeParams","unlisted":false},{"type":"link","label":"Utf8StringParams","href":"/docs/api/interfaces/Utf8StringParams","docId":"api/interfaces/Utf8StringParams","unlisted":false},{"type":"link","label":"ValueBlockConstructor","href":"/docs/api/interfaces/ValueBlockConstructor","docId":"api/interfaces/ValueBlockConstructor","unlisted":false}]}],"collapsible":true}],"examples":[{"type":"link","label":"Create new ASN.1 structures by calling constructors with parameters","href":"/docs/examples/create-new-asn-structures-by-calling-constructors-with-parameters","docId":"examples/create-new-asn-structures-by-calling-constructors-with-parameters","unlisted":false},{"type":"link","label":"Create new ASN.1 structures","href":"/docs/examples/create-new-asn-structures","docId":"examples/create-new-asn-structures","unlisted":false},{"type":"link","label":"Use \\"internal schemas\\" for primitively encoded data types","href":"/docs/examples/use-internal-schemas-for-primitively-encoded-data-types","docId":"examples/use-internal-schemas-for-primitively-encoded-data-types","unlisted":false},{"type":"link","label":"Validate ASN.1 against pre-defined schema","href":"/docs/examples/validate-asn-against-pre-defined-schema","docId":"examples/validate-asn-against-pre-defined-schema","unlisted":false}]},"docs":{"api/classes/Any":{"id":"api/classes/Any","title":"Class: Any","description":"Hierarchy","sidebar":"docs"},"api/classes/BaseBlock":{"id":"api/classes/BaseBlock","title":"Class: BaseBlock<T, J>","description":"Type parameters","sidebar":"docs"},"api/classes/BaseStringBlock":{"id":"api/classes/BaseStringBlock","title":"Class: BaseStringBlock<T, J>","description":"Type parameters","sidebar":"docs"},"api/classes/BitString":{"id":"api/classes/BitString","title":"Class: BitString","description":"Hierarchy","sidebar":"docs"},"api/classes/BmpString":{"id":"api/classes/BmpString","title":"Class: BmpString","description":"Hierarchy","sidebar":"docs"},"api/classes/Boolean":{"id":"api/classes/Boolean","title":"Class: Boolean","description":"Hierarchy","sidebar":"docs"},"api/classes/CharacterString":{"id":"api/classes/CharacterString","title":"Class: CharacterString","description":"Hierarchy","sidebar":"docs"},"api/classes/Choice":{"id":"api/classes/Choice","title":"Class: Choice","description":"Hierarchy","sidebar":"docs"},"api/classes/Constructed":{"id":"api/classes/Constructed","title":"Class: Constructed","description":"Hierarchy","sidebar":"docs"},"api/classes/DATE":{"id":"api/classes/DATE","title":"Class: DATE","description":"Hierarchy","sidebar":"docs"},"api/classes/DateTime":{"id":"api/classes/DateTime","title":"Class: DateTime","description":"Hierarchy","sidebar":"docs"},"api/classes/Duration":{"id":"api/classes/Duration","title":"Class: Duration","description":"Hierarchy","sidebar":"docs"},"api/classes/EndOfContent":{"id":"api/classes/EndOfContent","title":"Class: EndOfContent","description":"Hierarchy","sidebar":"docs"},"api/classes/Enumerated":{"id":"api/classes/Enumerated","title":"Class: Enumerated","description":"Hierarchy","sidebar":"docs"},"api/classes/GeneralizedTime":{"id":"api/classes/GeneralizedTime","title":"Class: GeneralizedTime","description":"Hierarchy","sidebar":"docs"},"api/classes/GeneralString":{"id":"api/classes/GeneralString","title":"Class: GeneralString","description":"Hierarchy","sidebar":"docs"},"api/classes/GraphicString":{"id":"api/classes/GraphicString","title":"Class: GraphicString","description":"Hierarchy","sidebar":"docs"},"api/classes/IA5String":{"id":"api/classes/IA5String","title":"Class: IA5String","description":"Hierarchy","sidebar":"docs"},"api/classes/Integer":{"id":"api/classes/Integer","title":"Class: Integer","description":"Hierarchy","sidebar":"docs"},"api/classes/Null":{"id":"api/classes/Null","title":"Class: Null","description":"Hierarchy","sidebar":"docs"},"api/classes/NumericString":{"id":"api/classes/NumericString","title":"Class: NumericString","description":"Hierarchy","sidebar":"docs"},"api/classes/ObjectIdentifier":{"id":"api/classes/ObjectIdentifier","title":"Class: ObjectIdentifier","description":"Hierarchy","sidebar":"docs"},"api/classes/OctetString":{"id":"api/classes/OctetString","title":"Class: OctetString","description":"Hierarchy","sidebar":"docs"},"api/classes/Primitive":{"id":"api/classes/Primitive","title":"Class: Primitive","description":"Hierarchy","sidebar":"docs"},"api/classes/PrintableString":{"id":"api/classes/PrintableString","title":"Class: PrintableString","description":"Hierarchy","sidebar":"docs"},"api/classes/RawData":{"id":"api/classes/RawData","title":"Class: RawData","description":"Special class providing ability to have \\"toBER/fromBER\\" for raw ArrayBuffer","sidebar":"docs"},"api/classes/RelativeObjectIdentifier":{"id":"api/classes/RelativeObjectIdentifier","title":"Class: RelativeObjectIdentifier","description":"Hierarchy","sidebar":"docs"},"api/classes/Repeated":{"id":"api/classes/Repeated","title":"Class: Repeated","description":"Hierarchy","sidebar":"docs"},"api/classes/Sequence":{"id":"api/classes/Sequence","title":"Class: Sequence","description":"Hierarchy","sidebar":"docs"},"api/classes/Set":{"id":"api/classes/Set","title":"Class: Set","description":"Hierarchy","sidebar":"docs"},"api/classes/TeletexString":{"id":"api/classes/TeletexString","title":"Class: TeletexString","description":"Hierarchy","sidebar":"docs"},"api/classes/TIME":{"id":"api/classes/TIME","title":"Class: TIME","description":"Hierarchy","sidebar":"docs"},"api/classes/TimeOfDay":{"id":"api/classes/TimeOfDay","title":"Class: TimeOfDay","description":"Hierarchy","sidebar":"docs"},"api/classes/UniversalString":{"id":"api/classes/UniversalString","title":"Class: UniversalString","description":"Hierarchy","sidebar":"docs"},"api/classes/UTCTime":{"id":"api/classes/UTCTime","title":"Class: UTCTime","description":"Hierarchy","sidebar":"docs"},"api/classes/Utf8String":{"id":"api/classes/Utf8String","title":"Class: Utf8String","description":"Hierarchy","sidebar":"docs"},"api/classes/ValueBlock":{"id":"api/classes/ValueBlock","title":"Class: ValueBlock","description":"Hierarchy","sidebar":"docs"},"api/classes/VideotexString":{"id":"api/classes/VideotexString","title":"Class: VideotexString","description":"Hierarchy","sidebar":"docs"},"api/classes/ViewWriter":{"id":"api/classes/ViewWriter","title":"Class: ViewWriter","description":"Constructors","sidebar":"docs"},"api/classes/VisibleString":{"id":"api/classes/VisibleString","title":"Class: VisibleString","description":"Hierarchy","sidebar":"docs"},"api/index":{"id":"api/index","title":"asn1js","description":"Classes","sidebar":"docs"},"api/interfaces/BaseBlockJson":{"id":"api/interfaces/BaseBlockJson","title":"Interface: BaseBlockJson<T>","description":"Type parameters","sidebar":"docs"},"api/interfaces/BaseBlockParams":{"id":"api/interfaces/BaseBlockParams","title":"Interface: BaseBlockParams","description":"Hierarchy","sidebar":"docs"},"api/interfaces/BaseStringBlockParams":{"id":"api/interfaces/BaseStringBlockParams","title":"Interface: BaseStringBlockParams","description":"Hierarchy","sidebar":"docs"},"api/interfaces/BitStringParams":{"id":"api/interfaces/BitStringParams","title":"Interface: BitStringParams","description":"Hierarchy","sidebar":"docs"},"api/interfaces/BooleanParams":{"id":"api/interfaces/BooleanParams","title":"Interface: BooleanParams","description":"Hierarchy","sidebar":"docs"},"api/interfaces/CompareSchemaFail":{"id":"api/interfaces/CompareSchemaFail","title":"Interface: CompareSchemaFail","description":"Properties","sidebar":"docs"},"api/interfaces/CompareSchemaSuccess":{"id":"api/interfaces/CompareSchemaSuccess","title":"Interface: CompareSchemaSuccess","description":"Properties","sidebar":"docs"},"api/interfaces/ConstructedParams":{"id":"api/interfaces/ConstructedParams","title":"Interface: ConstructedParams","description":"Hierarchy","sidebar":"docs"},"api/interfaces/FromBerResult":{"id":"api/interfaces/FromBerResult","title":"Interface: FromBerResult","description":"Properties","sidebar":"docs"},"api/interfaces/GeneralizedTimeJson":{"id":"api/interfaces/GeneralizedTimeJson","title":"Interface: GeneralizedTimeJson","description":"Hierarchy","sidebar":"docs"},"api/interfaces/HexBlockJson":{"id":"api/interfaces/HexBlockJson","title":"Interface: HexBlockJson","description":"Hierarchy","sidebar":"docs"},"api/interfaces/IAny":{"id":"api/interfaces/IAny","title":"Interface: IAny","description":"Hierarchy","sidebar":"docs"},"api/interfaces/IBaseBlock":{"id":"api/interfaces/IBaseBlock","title":"Interface: IBaseBlock","description":"Implemented by","sidebar":"docs"},"api/interfaces/IBerConvertible":{"id":"api/interfaces/IBerConvertible","title":"Interface: IBerConvertible","description":"Implemented by","sidebar":"docs"},"api/interfaces/IChoice":{"id":"api/interfaces/IChoice","title":"Interface: IChoice","description":"Hierarchy","sidebar":"docs"},"api/interfaces/IDateConvertible":{"id":"api/interfaces/IDateConvertible","title":"Interface: IDateConvertible","description":"Implemented by","sidebar":"docs"},"api/interfaces/IDerConvertible":{"id":"api/interfaces/IDerConvertible","title":"Interface: IDerConvertible","description":"Methods","sidebar":"docs"},"api/interfaces/IGeneralizedTime":{"id":"api/interfaces/IGeneralizedTime","title":"Interface: IGeneralizedTime","description":"Hierarchy","sidebar":"docs"},"api/interfaces/IHexBlock":{"id":"api/interfaces/IHexBlock","title":"Interface: IHexBlock","description":"Properties","sidebar":"docs"},"api/interfaces/IntegerParams":{"id":"api/interfaces/IntegerParams","title":"Interface: IntegerParams","description":"Hierarchy","sidebar":"docs"},"api/interfaces/IRawData":{"id":"api/interfaces/IRawData","title":"Interface: IRawData","description":"Properties","sidebar":"docs"},"api/interfaces/IRepeated":{"id":"api/interfaces/IRepeated","title":"Interface: IRepeated","description":"Hierarchy","sidebar":"docs"},"api/interfaces/IStringConvertible":{"id":"api/interfaces/IStringConvertible","title":"Interface: IStringConvertible","description":"Implemented by","sidebar":"docs"},"api/interfaces/IUTCTime":{"id":"api/interfaces/IUTCTime","title":"Interface: IUTCTime","description":"Hierarchy","sidebar":"docs"},"api/interfaces/ObjectIdentifierJson":{"id":"api/interfaces/ObjectIdentifierJson","title":"Interface: ObjectIdentifierJson","description":"Hierarchy","sidebar":"docs"},"api/interfaces/ObjectIdentifierParams":{"id":"api/interfaces/ObjectIdentifierParams","title":"Interface: ObjectIdentifierParams","description":"Hierarchy","sidebar":"docs"},"api/interfaces/OctetStringParams":{"id":"api/interfaces/OctetStringParams","title":"Interface: OctetStringParams","description":"Hierarchy","sidebar":"docs"},"api/interfaces/PrimitiveParams":{"id":"api/interfaces/PrimitiveParams","title":"Interface: PrimitiveParams","description":"Hierarchy","sidebar":"docs"},"api/interfaces/RelativeObjectIdentifierJson":{"id":"api/interfaces/RelativeObjectIdentifierJson","title":"Interface: RelativeObjectIdentifierJson","description":"Hierarchy","sidebar":"docs"},"api/interfaces/RelativeObjectIdentifierParams":{"id":"api/interfaces/RelativeObjectIdentifierParams","title":"Interface: RelativeObjectIdentifierParams","description":"Hierarchy","sidebar":"docs"},"api/interfaces/UTCTimeJson":{"id":"api/interfaces/UTCTimeJson","title":"Interface: UTCTimeJson","description":"Hierarchy","sidebar":"docs"},"api/interfaces/UTCTimeParams":{"id":"api/interfaces/UTCTimeParams","title":"Interface: UTCTimeParams","description":"Hierarchy","sidebar":"docs"},"api/interfaces/Utf8StringParams":{"id":"api/interfaces/Utf8StringParams","title":"Interface: Utf8StringParams","description":"Hierarchy","sidebar":"docs"},"api/interfaces/ValueBlockConstructor":{"id":"api/interfaces/ValueBlockConstructor","title":"Interface: ValueBlockConstructor<T>","description":"Type parameters","sidebar":"docs"},"examples/create-new-asn-structures":{"id":"examples/create-new-asn-structures","title":"Create new ASN.1 structures","description":"","sidebar":"examples"},"examples/create-new-asn-structures-by-calling-constructors-with-parameters":{"id":"examples/create-new-asn-structures-by-calling-constructors-with-parameters","title":"Create new ASN.1 structures by calling constructors with parameters","description":"","sidebar":"examples"},"examples/use-internal-schemas-for-primitively-encoded-data-types":{"id":"examples/use-internal-schemas-for-primitively-encoded-data-types","title":"Use \\"internal schemas\\" for primitively encoded data types","description":"","sidebar":"examples"},"examples/validate-asn-against-pre-defined-schema":{"id":"examples/validate-asn-against-pre-defined-schema","title":"Validate ASN.1 against pre-defined schema","description":"","sidebar":"examples"},"installation":{"id":"installation","title":"Installation","description":"Run one of the following commands to add asn1js to your project:","sidebar":"docs"}}}')}}]); \ No newline at end of file diff --git a/assets/js/98a64537.3194c388.js b/assets/js/98a64537.3194c388.js new file mode 100644 index 0000000..d1066d5 --- /dev/null +++ b/assets/js/98a64537.3194c388.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2113],{7980:(e,s,r)=>{r.r(s),r.d(s,{assets:()=>t,contentTitle:()=>d,default:()=>a,frontMatter:()=>i,metadata:()=>c,toc:()=>h});var l=r(5893),n=r(1151);const i={id:"Boolean",title:"Class: Boolean",sidebar_label:"Boolean",sidebar_position:0,custom_edit_url:null},d=void 0,c={id:"api/classes/Boolean",title:"Class: Boolean",description:"Hierarchy",source:"@site/docs/api/classes/Boolean.md",sourceDirName:"api/classes",slug:"/api/classes/Boolean",permalink:"/docs/api/classes/Boolean",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"Boolean",title:"Class: Boolean",sidebar_label:"Boolean",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"BmpString",permalink:"/docs/api/classes/BmpString"},next:{title:"CharacterString",permalink:"/docs/api/classes/CharacterString"}},t={},h=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Overrides",id:"overrides",level:4},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"valueBeforeDecodeView",id:"valuebeforedecodeview",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"valueBlock",id:"valueblock",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"NAME",id:"name-1",level:3},{value:"Overrides",id:"overrides-1",level:4},{value:"Accessors",id:"accessors",level:2},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Returns",id:"returns-1",level:4},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Methods",id:"methods",level:2},{value:"fromBER",id:"fromber",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"getValue",id:"getvalue",level:3},{value:"Returns",id:"returns-4",level:4},{value:"isEqual",id:"isequal",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-5",level:4},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"onAsciiEncoding",id:"onasciiencoding",level:3},{value:"Returns",id:"returns-6",level:4},{value:"Overrides",id:"overrides-2",level:4},{value:"setValue",id:"setvalue",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-7",level:4},{value:"toBER",id:"tober",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-8",level:4},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"toJSON",id:"tojson",level:3},{value:"Returns",id:"returns-9",level:4},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"toString",id:"tostring",level:3},{value:"Parameters",id:"parameters-6",level:4},{value:"Returns",id:"returns-10",level:4},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"blockName",id:"blockname",level:3},{value:"Returns",id:"returns-11",level:4},{value:"Inherited from",id:"inherited-from-17",level:4}];function o(e){const s={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,n.a)(),...e.components};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(s.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,l.jsxs)(s.ul,{children:["\n",(0,l.jsxs)(s.li,{children:["\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:(0,l.jsx)(s.code,{children:"BaseBlock"})}),"<",(0,l.jsx)(s.code,{children:"LocalBooleanValueBlock"}),", ",(0,l.jsx)(s.code,{children:"LocalBooleanValueBlockJson"}),">"]}),"\n",(0,l.jsxs)(s.p,{children:["\u21b3 ",(0,l.jsx)(s.strong,{children:(0,l.jsx)(s.code,{children:"Boolean"})})]}),"\n"]}),"\n"]}),"\n",(0,l.jsx)(s.h2,{id:"constructors",children:"Constructors"}),"\n",(0,l.jsx)(s.h3,{id:"constructor",children:"constructor"}),"\n",(0,l.jsxs)(s.p,{children:["\u2022 ",(0,l.jsx)(s.strong,{children:"new Boolean"}),"(",(0,l.jsx)(s.code,{children:"parameters?"}),"): ",(0,l.jsx)(s.a,{href:"/docs/api/classes/Boolean",children:(0,l.jsx)(s.code,{children:"Boolean"})})]}),"\n",(0,l.jsx)(s.h4,{id:"parameters",children:"Parameters"}),"\n",(0,l.jsxs)(s.table,{children:[(0,l.jsx)(s.thead,{children:(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,l.jsx)(s.tbody,{children:(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"parameters"})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.a,{href:"/docs/api/interfaces/BooleanParams",children:(0,l.jsx)(s.code,{children:"BooleanParams"})})})]})})]}),"\n",(0,l.jsx)(s.h4,{id:"returns",children:"Returns"}),"\n",(0,l.jsx)(s.p,{children:(0,l.jsx)(s.a,{href:"/docs/api/classes/Boolean",children:(0,l.jsx)(s.code,{children:"Boolean"})})}),"\n",(0,l.jsx)(s.h4,{id:"overrides",children:"Overrides"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#constructor",children:"constructor"})]}),"\n",(0,l.jsx)(s.h2,{id:"properties",children:"Properties"}),"\n",(0,l.jsx)(s.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,l.jsxs)(s.p,{children:["\u2022 ",(0,l.jsx)(s.strong,{children:"blockLength"}),": ",(0,l.jsx)(s.code,{children:"number"})]}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#blocklength",children:"blockLength"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"error",children:"error"}),"\n",(0,l.jsxs)(s.p,{children:["\u2022 ",(0,l.jsx)(s.strong,{children:"error"}),": ",(0,l.jsx)(s.code,{children:"string"})]}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#error",children:"error"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"idblock",children:"idBlock"}),"\n",(0,l.jsxs)(s.p,{children:["\u2022 ",(0,l.jsx)(s.strong,{children:"idBlock"}),": ",(0,l.jsx)(s.code,{children:"LocalIdentificationBlock"})]}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#idblock",children:"idBlock"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,l.jsxs)(s.p,{children:["\u2022 ",(0,l.jsx)(s.strong,{children:"lenBlock"}),": ",(0,l.jsx)(s.code,{children:"LocalLengthBlock"})]}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#lenblock",children:"lenBlock"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"name",children:"name"}),"\n",(0,l.jsxs)(s.p,{children:["\u2022 ",(0,l.jsx)(s.strong,{children:"name"}),": ",(0,l.jsx)(s.code,{children:"string"})]}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#name",children:"name"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"optional",children:"optional"}),"\n",(0,l.jsxs)(s.p,{children:["\u2022 ",(0,l.jsx)(s.strong,{children:"optional"}),": ",(0,l.jsx)(s.code,{children:"boolean"})]}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#optional",children:"optional"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,l.jsxs)(s.p,{children:["\u2022 ",(0,l.jsx)(s.code,{children:"Optional"})," ",(0,l.jsx)(s.strong,{children:"primitiveSchema"}),": ",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:(0,l.jsx)(s.code,{children:"BaseBlock"})}),"<",(0,l.jsx)(s.a,{href:"/docs/api/classes/ValueBlock",children:(0,l.jsx)(s.code,{children:"ValueBlock"})}),", ",(0,l.jsx)(s.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#primitiveschema",children:"primitiveSchema"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"valuebeforedecodeview",children:"valueBeforeDecodeView"}),"\n",(0,l.jsxs)(s.p,{children:["\u2022 ",(0,l.jsx)(s.strong,{children:"valueBeforeDecodeView"}),": ",(0,l.jsx)(s.code,{children:"Uint8Array"})]}),"\n",(0,l.jsx)(s.p,{children:(0,l.jsx)(s.strong,{children:(0,l.jsx)(s.code,{children:"Since"})})}),"\n",(0,l.jsx)(s.p,{children:"3.0.0"}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#valuebeforedecodeview",children:"valueBeforeDecodeView"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"valueblock",children:"valueBlock"}),"\n",(0,l.jsxs)(s.p,{children:["\u2022 ",(0,l.jsx)(s.strong,{children:"valueBlock"}),": ",(0,l.jsx)(s.code,{children:"LocalBooleanValueBlock"})]}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#valueblock",children:"valueBlock"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"warnings",children:"warnings"}),"\n",(0,l.jsxs)(s.p,{children:["\u2022 ",(0,l.jsx)(s.strong,{children:"warnings"}),": ",(0,l.jsx)(s.code,{children:"string"}),"[]"]}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#warnings",children:"warnings"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"name-1",children:"NAME"}),"\n",(0,l.jsxs)(s.p,{children:["\u25aa ",(0,l.jsx)(s.code,{children:"Static"})," ",(0,l.jsx)(s.strong,{children:"NAME"}),": ",(0,l.jsx)(s.code,{children:"string"})," = ",(0,l.jsx)(s.code,{children:'"BOOLEAN"'})]}),"\n",(0,l.jsx)(s.h4,{id:"overrides-1",children:"Overrides"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#name-1",children:"NAME"})]}),"\n",(0,l.jsx)(s.h2,{id:"accessors",children:"Accessors"}),"\n",(0,l.jsx)(s.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,l.jsxs)(s.p,{children:["\u2022 ",(0,l.jsx)(s.code,{children:"get"})," ",(0,l.jsx)(s.strong,{children:"valueBeforeDecode"}),"(): ",(0,l.jsx)(s.code,{children:"ArrayBuffer"})]}),"\n",(0,l.jsx)(s.h4,{id:"returns-1",children:"Returns"}),"\n",(0,l.jsx)(s.p,{children:(0,l.jsx)(s.code,{children:"ArrayBuffer"})}),"\n",(0,l.jsx)(s.p,{children:(0,l.jsx)(s.strong,{children:(0,l.jsx)(s.code,{children:"Deprecated"})})}),"\n",(0,l.jsx)(s.p,{children:"since version 3.0.0"}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,l.jsx)(s.p,{children:"BaseBlock.valueBeforeDecode"}),"\n",(0,l.jsxs)(s.p,{children:["\u2022 ",(0,l.jsx)(s.code,{children:"set"})," ",(0,l.jsx)(s.strong,{children:"valueBeforeDecode"}),"(",(0,l.jsx)(s.code,{children:"value"}),"): ",(0,l.jsx)(s.code,{children:"void"})]}),"\n",(0,l.jsx)(s.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,l.jsxs)(s.table,{children:[(0,l.jsx)(s.thead,{children:(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,l.jsx)(s.tbody,{children:(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"value"})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"ArrayBuffer"})})]})})]}),"\n",(0,l.jsx)(s.h4,{id:"returns-2",children:"Returns"}),"\n",(0,l.jsx)(s.p,{children:(0,l.jsx)(s.code,{children:"void"})}),"\n",(0,l.jsx)(s.p,{children:(0,l.jsx)(s.strong,{children:(0,l.jsx)(s.code,{children:"Deprecated"})})}),"\n",(0,l.jsx)(s.p,{children:"since version 3.0.0"}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,l.jsx)(s.p,{children:"BaseBlock.valueBeforeDecode"}),"\n",(0,l.jsx)(s.h2,{id:"methods",children:"Methods"}),"\n",(0,l.jsx)(s.h3,{id:"fromber",children:"fromBER"}),"\n",(0,l.jsxs)(s.p,{children:["\u25b8 ",(0,l.jsx)(s.strong,{children:"fromBER"}),"(",(0,l.jsx)(s.code,{children:"inputBuffer"}),", ",(0,l.jsx)(s.code,{children:"inputOffset"}),", ",(0,l.jsx)(s.code,{children:"inputLength"}),"): ",(0,l.jsx)(s.code,{children:"number"})]}),"\n",(0,l.jsx)(s.p,{children:"Base function for converting block from BER encoded array of bytes"}),"\n",(0,l.jsx)(s.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,l.jsxs)(s.table,{children:[(0,l.jsx)(s.thead,{children:(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Type"}),(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,l.jsxs)(s.tbody,{children:[(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"inputBuffer"})}),(0,l.jsxs)(s.td,{style:{textAlign:"left"},children:[(0,l.jsx)(s.code,{children:"Uint8Array"})," | ",(0,l.jsx)(s.code,{children:"ArrayBuffer"})]}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:"ASN.1 BER encoded array"})]}),(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"inputOffset"})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"number"})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:"Offset in ASN.1 BER encoded array where decoding should be started"})]}),(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"inputLength"})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"number"})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:"Maximum length of array of bytes which can be using in this function"})]})]})]}),"\n",(0,l.jsx)(s.h4,{id:"returns-3",children:"Returns"}),"\n",(0,l.jsx)(s.p,{children:(0,l.jsx)(s.code,{children:"number"})}),"\n",(0,l.jsx)(s.p,{children:"Offset after least decoded byte"}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#fromber",children:"fromBER"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"getvalue",children:"getValue"}),"\n",(0,l.jsxs)(s.p,{children:["\u25b8 ",(0,l.jsx)(s.strong,{children:"getValue"}),"(): ",(0,l.jsx)(s.code,{children:"boolean"})]}),"\n",(0,l.jsx)(s.p,{children:"Gets value"}),"\n",(0,l.jsx)(s.h4,{id:"returns-4",children:"Returns"}),"\n",(0,l.jsx)(s.p,{children:(0,l.jsx)(s.code,{children:"boolean"})}),"\n",(0,l.jsx)(s.p,{children:(0,l.jsx)(s.strong,{children:(0,l.jsx)(s.code,{children:"Since"})})}),"\n",(0,l.jsx)(s.p,{children:"3.0.0"}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"isequal",children:"isEqual"}),"\n",(0,l.jsxs)(s.p,{children:["\u25b8 ",(0,l.jsx)(s.strong,{children:"isEqual"}),"(",(0,l.jsx)(s.code,{children:"other"}),"): other is Boolean"]}),"\n",(0,l.jsx)(s.p,{children:"Determines whether two object instances are equal"}),"\n",(0,l.jsx)(s.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,l.jsxs)(s.table,{children:[(0,l.jsx)(s.thead,{children:(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Type"}),(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,l.jsx)(s.tbody,{children:(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"other"})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"unknown"})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:"Object to compare with the current object"})]})})]}),"\n",(0,l.jsx)(s.h4,{id:"returns-5",children:"Returns"}),"\n",(0,l.jsx)(s.p,{children:"other is Boolean"}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#isequal",children:"isEqual"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"onasciiencoding",children:"onAsciiEncoding"}),"\n",(0,l.jsxs)(s.p,{children:["\u25b8 ",(0,l.jsx)(s.strong,{children:"onAsciiEncoding"}),"(): ",(0,l.jsx)(s.code,{children:"string"})]}),"\n",(0,l.jsx)(s.h4,{id:"returns-6",children:"Returns"}),"\n",(0,l.jsx)(s.p,{children:(0,l.jsx)(s.code,{children:"string"})}),"\n",(0,l.jsx)(s.h4,{id:"overrides-2",children:"Overrides"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#onasciiencoding",children:"onAsciiEncoding"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"setvalue",children:"setValue"}),"\n",(0,l.jsxs)(s.p,{children:["\u25b8 ",(0,l.jsx)(s.strong,{children:"setValue"}),"(",(0,l.jsx)(s.code,{children:"value"}),"): ",(0,l.jsx)(s.code,{children:"void"})]}),"\n",(0,l.jsx)(s.p,{children:"Sets value"}),"\n",(0,l.jsx)(s.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,l.jsxs)(s.table,{children:[(0,l.jsx)(s.thead,{children:(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Type"}),(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,l.jsx)(s.tbody,{children:(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"value"})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"boolean"})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:"Boolean value"})]})})]}),"\n",(0,l.jsx)(s.h4,{id:"returns-7",children:"Returns"}),"\n",(0,l.jsx)(s.p,{children:(0,l.jsx)(s.code,{children:"void"})}),"\n",(0,l.jsx)(s.p,{children:(0,l.jsx)(s.strong,{children:(0,l.jsx)(s.code,{children:"Since"})})}),"\n",(0,l.jsx)(s.p,{children:"3.0.0"}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"tober",children:"toBER"}),"\n",(0,l.jsxs)(s.p,{children:["\u25b8 ",(0,l.jsx)(s.strong,{children:"toBER"}),"(",(0,l.jsx)(s.code,{children:"sizeOnly?"}),", ",(0,l.jsx)(s.code,{children:"writer?"}),"): ",(0,l.jsx)(s.code,{children:"ArrayBuffer"})]}),"\n",(0,l.jsx)(s.p,{children:"Encoding of current ASN.1 block into ASN.1 encoded array (BER rules)"}),"\n",(0,l.jsx)(s.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,l.jsxs)(s.table,{children:[(0,l.jsx)(s.thead,{children:(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Type"}),(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,l.jsxs)(s.tbody,{children:[(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"sizeOnly?"})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"boolean"})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:"Flag that we need only a size of encoding, not a real array of bytes"})]}),(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"writer?"})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.a,{href:"/docs/api/classes/ViewWriter",children:(0,l.jsx)(s.code,{children:"ViewWriter"})})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:"-"})]})]})]}),"\n",(0,l.jsx)(s.h4,{id:"returns-8",children:"Returns"}),"\n",(0,l.jsx)(s.p,{children:(0,l.jsx)(s.code,{children:"ArrayBuffer"})}),"\n",(0,l.jsx)(s.p,{children:"ASN.1 BER encoded array"}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#tober",children:"toBER"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"tojson",children:"toJSON"}),"\n",(0,l.jsxs)(s.p,{children:["\u25b8 ",(0,l.jsx)(s.strong,{children:"toJSON"}),"(): ",(0,l.jsx)(s.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,l.jsx)(s.code,{children:"BaseBlockJson"})}),"<",(0,l.jsx)(s.code,{children:"LocalBooleanValueBlockJson"}),">"]}),"\n",(0,l.jsx)(s.h4,{id:"returns-9",children:"Returns"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,l.jsx)(s.code,{children:"BaseBlockJson"})}),"<",(0,l.jsx)(s.code,{children:"LocalBooleanValueBlockJson"}),">"]}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#tojson",children:"toJSON"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"tostring",children:"toString"}),"\n",(0,l.jsxs)(s.p,{children:["\u25b8 ",(0,l.jsx)(s.strong,{children:"toString"}),"(",(0,l.jsx)(s.code,{children:"encoding?"}),"): ",(0,l.jsx)(s.code,{children:"string"})]}),"\n",(0,l.jsx)(s.h4,{id:"parameters-6",children:"Parameters"}),"\n",(0,l.jsxs)(s.table,{children:[(0,l.jsx)(s.thead,{children:(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Type"}),(0,l.jsx)(s.th,{style:{textAlign:"left"},children:"Default value"})]})}),(0,l.jsx)(s.tbody,{children:(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:"encoding"})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.a,{href:"../#stringencoding",children:(0,l.jsx)(s.code,{children:"StringEncoding"})})}),(0,l.jsx)(s.td,{style:{textAlign:"left"},children:(0,l.jsx)(s.code,{children:'"ascii"'})})]})})]}),"\n",(0,l.jsx)(s.h4,{id:"returns-10",children:"Returns"}),"\n",(0,l.jsx)(s.p,{children:(0,l.jsx)(s.code,{children:"string"})}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#tostring",children:"toString"})]}),"\n",(0,l.jsx)(s.hr,{}),"\n",(0,l.jsx)(s.h3,{id:"blockname",children:"blockName"}),"\n",(0,l.jsxs)(s.p,{children:["\u25b8 ",(0,l.jsx)(s.strong,{children:"blockName"}),"(): ",(0,l.jsx)(s.code,{children:"string"})]}),"\n",(0,l.jsx)(s.p,{children:"Aux function, need to get a block name. Need to have it here for inheritance"}),"\n",(0,l.jsx)(s.h4,{id:"returns-11",children:"Returns"}),"\n",(0,l.jsx)(s.p,{children:(0,l.jsx)(s.code,{children:"string"})}),"\n",(0,l.jsx)(s.p,{children:"Returns name of the block"}),"\n",(0,l.jsx)(s.h4,{id:"inherited-from-17",children:"Inherited from"}),"\n",(0,l.jsxs)(s.p,{children:[(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,l.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#blockname",children:"blockName"})]})]})}function a(e={}){const{wrapper:s}={...(0,n.a)(),...e.components};return s?(0,l.jsx)(s,{...e,children:(0,l.jsx)(o,{...e})}):o(e)}},1151:(e,s,r)=>{r.d(s,{Z:()=>c,a:()=>d});var l=r(7294);const n={},i=l.createContext(n);function d(e){const s=l.useContext(i);return l.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function c(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:d(e.components),l.createElement(i.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/9fb4cf70.5d67b993.js b/assets/js/9fb4cf70.5d67b993.js new file mode 100644 index 0000000..7f43c51 --- /dev/null +++ b/assets/js/9fb4cf70.5d67b993.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[3640],{3162:(e,n,a)=>{a.r(n),a.d(n,{assets:()=>o,contentTitle:()=>l,default:()=>u,frontMatter:()=>c,metadata:()=>d,toc:()=>m});var t=a(5893),s=a(1151),i=a(9286);const r='import * as asn1js from \'asn1js\';\n\nvar primitive_octetstring = new asn1js.OctetString({ valueHex: encoded_sequence }); // Create a primitively encoded OctetString where internal data is an encoded Sequence\n\nvar asn1_schema_internal = new asn1js.OctetString({\n name: "outer_block",\n primitiveSchema: new asn1js.Sequence({\n name: "block1",\n value: [\n new asn1js.Null({\n name: "block2"\n })\n ]\n })\n});\n\nvar variant6 = org.pkijs.compareSchema(primitive_octetstring, primitive_octetstring, asn1_schema_internal);\nvar variant6_verified = variant4.verified;\nvar variant6_block1_tag_num = variant6.result.block1.idBlock.tagNumber;\nvar variant6_block2_tag_num = variant6.result.block2.idBlock.tagNumber;\n',c={},l='Use "internal schemas" for primitively encoded data types',d={id:"examples/use-internal-schemas-for-primitively-encoded-data-types",title:'Use "internal schemas" for primitively encoded data types',description:"",source:"@site/docs/examples/use-internal-schemas-for-primitively-encoded-data-types.mdx",sourceDirName:"examples",slug:"/examples/use-internal-schemas-for-primitively-encoded-data-types",permalink:"/docs/examples/use-internal-schemas-for-primitively-encoded-data-types",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"examples",previous:{title:"Create new ASN.1 structures",permalink:"/docs/examples/create-new-asn-structures"},next:{title:"Validate ASN.1 against pre-defined schema",permalink:"/docs/examples/validate-asn-against-pre-defined-schema"}},o={},m=[];function p(e){const n={h1:"h1",...(0,s.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.h1,{id:"use-internal-schemas-for-primitively-encoded-data-types",children:'Use "internal schemas" for primitively encoded data types'}),"\n",(0,t.jsx)(i.Z,{language:"ts",children:r})]})}function u(e={}){const{wrapper:n}={...(0,s.a)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(p,{...e})}):p(e)}}}]); \ No newline at end of file diff --git a/assets/js/a1dc7e8a.badc52d1.js b/assets/js/a1dc7e8a.badc52d1.js new file mode 100644 index 0000000..a6e3f4d --- /dev/null +++ b/assets/js/a1dc7e8a.badc52d1.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[6355],{6089:(e,r,i)=>{i.r(r),i.d(r,{assets:()=>o,contentTitle:()=>s,default:()=>p,frontMatter:()=>t,metadata:()=>c,toc:()=>l});var n=i(5893),a=i(1151);const t={id:"CompareSchemaFail",title:"Interface: CompareSchemaFail",sidebar_label:"CompareSchemaFail",sidebar_position:0,custom_edit_url:null},s=void 0,c={id:"api/interfaces/CompareSchemaFail",title:"Interface: CompareSchemaFail",description:"Properties",source:"@site/docs/api/interfaces/CompareSchemaFail.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/CompareSchemaFail",permalink:"/docs/api/interfaces/CompareSchemaFail",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"CompareSchemaFail",title:"Interface: CompareSchemaFail",sidebar_label:"CompareSchemaFail",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"BooleanParams",permalink:"/docs/api/interfaces/BooleanParams"},next:{title:"CompareSchemaSuccess",permalink:"/docs/api/interfaces/CompareSchemaSuccess"}},o={},l=[{value:"Properties",id:"properties",level:2},{value:"name",id:"name",level:3},{value:"result",id:"result",level:3},{value:"verified",id:"verified",level:3}];function d(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",hr:"hr",p:"p",strong:"strong",...(0,a.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,n.jsx)(r.h3,{id:"name",children:"name"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"name"}),": ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"result",children:"result"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"result"}),": ",(0,n.jsx)(r.a,{href:"../#asntype",children:(0,n.jsx)(r.code,{children:"AsnType"})})," | { ",(0,n.jsx)(r.code,{children:"error"}),": ",(0,n.jsx)(r.code,{children:"string"})," }"]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"verified",children:"verified"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"verified"}),": ",(0,n.jsx)(r.code,{children:"false"})]})]})}function p(e={}){const{wrapper:r}={...(0,a.a)(),...e.components};return r?(0,n.jsx)(r,{...e,children:(0,n.jsx)(d,{...e})}):d(e)}},1151:(e,r,i)=>{i.d(r,{Z:()=>c,a:()=>s});var n=i(7294);const a={},t=n.createContext(a);function s(e){const r=n.useContext(t);return n.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function c(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:s(e.components),n.createElement(t.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/a7bd4aaa.687d6c08.js b/assets/js/a7bd4aaa.687d6c08.js new file mode 100644 index 0000000..74fed2f --- /dev/null +++ b/assets/js/a7bd4aaa.687d6c08.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8518],{8564:(e,n,s)=>{s.r(n),s.d(n,{default:()=>d});s(7294);var r=s(1944),o=s(3320),t=s(4477),i=s(8790),c=s(197),u=s(5893);function a(e){const{version:n}=e;return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(c.Z,{version:n.version,tag:(0,o.os)(n.pluginId,n.version)}),(0,u.jsx)(r.d,{children:n.noIndex&&(0,u.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})]})}function l(e){const{version:n,route:s}=e;return(0,u.jsx)(r.FG,{className:n.className,children:(0,u.jsx)(t.q,{version:n,children:(0,i.H)(s.routes)})})}function d(e){return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(a,{...e}),(0,u.jsx)(l,{...e})]})}}}]); \ No newline at end of file diff --git a/assets/js/a8b24391.2422b1a4.js b/assets/js/a8b24391.2422b1a4.js new file mode 100644 index 0000000..27dae11 --- /dev/null +++ b/assets/js/a8b24391.2422b1a4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[7802],{1695:(e,s,r)=>{r.r(s),r.d(s,{assets:()=>t,contentTitle:()=>d,default:()=>a,frontMatter:()=>l,metadata:()=>c,toc:()=>h});var n=r(5893),i=r(1151);const l={id:"BitString",title:"Class: BitString",sidebar_label:"BitString",sidebar_position:0,custom_edit_url:null},d=void 0,c={id:"api/classes/BitString",title:"Class: BitString",description:"Hierarchy",source:"@site/docs/api/classes/BitString.md",sourceDirName:"api/classes",slug:"/api/classes/BitString",permalink:"/docs/api/classes/BitString",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"BitString",title:"Class: BitString",sidebar_label:"BitString",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"BaseStringBlock",permalink:"/docs/api/classes/BaseStringBlock"},next:{title:"BmpString",permalink:"/docs/api/classes/BmpString"}},t={},h=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Overrides",id:"overrides",level:4},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"valueBeforeDecodeView",id:"valuebeforedecodeview",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"valueBlock",id:"valueblock",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"NAME",id:"name-1",level:3},{value:"Overrides",id:"overrides-1",level:4},{value:"Accessors",id:"accessors",level:2},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Returns",id:"returns-1",level:4},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Methods",id:"methods",level:2},{value:"fromBER",id:"fromber",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Overrides",id:"overrides-2",level:4},{value:"isEqual",id:"isequal",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-4",level:4},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"onAsciiEncoding",id:"onasciiencoding",level:3},{value:"Returns",id:"returns-5",level:4},{value:"Overrides",id:"overrides-3",level:4},{value:"toBER",id:"tober",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-6",level:4},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"toJSON",id:"tojson",level:3},{value:"Returns",id:"returns-7",level:4},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"toString",id:"tostring",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-8",level:4},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"blockName",id:"blockname",level:3},{value:"Returns",id:"returns-9",level:4},{value:"Inherited from",id:"inherited-from-16",level:4}];function o(e){const s={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsxs)(s.li,{children:["\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:(0,n.jsx)(s.code,{children:"BaseBlock"})}),"<",(0,n.jsx)(s.code,{children:"LocalBitStringValueBlock"}),", ",(0,n.jsx)(s.code,{children:"LocalBitStringValueBlockJson"}),">"]}),"\n",(0,n.jsxs)(s.p,{children:["\u21b3 ",(0,n.jsx)(s.strong,{children:(0,n.jsx)(s.code,{children:"BitString"})})]}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(s.h2,{id:"constructors",children:"Constructors"}),"\n",(0,n.jsx)(s.h3,{id:"constructor",children:"constructor"}),"\n",(0,n.jsxs)(s.p,{children:["\u2022 ",(0,n.jsx)(s.strong,{children:"new BitString"}),"(",(0,n.jsx)(s.code,{children:"\xabdestructured\xbb?"}),"): ",(0,n.jsx)(s.a,{href:"/docs/api/classes/BitString",children:(0,n.jsx)(s.code,{children:"BitString"})})]}),"\n",(0,n.jsx)(s.h4,{id:"parameters",children:"Parameters"}),"\n",(0,n.jsxs)(s.table,{children:[(0,n.jsx)(s.thead,{children:(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(s.tbody,{children:(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{style:{textAlign:"left"},children:(0,n.jsx)(s.code,{children:"\xabdestructured\xbb"})}),(0,n.jsx)(s.td,{style:{textAlign:"left"},children:(0,n.jsx)(s.a,{href:"/docs/api/interfaces/BitStringParams",children:(0,n.jsx)(s.code,{children:"BitStringParams"})})})]})})]}),"\n",(0,n.jsx)(s.h4,{id:"returns",children:"Returns"}),"\n",(0,n.jsx)(s.p,{children:(0,n.jsx)(s.a,{href:"/docs/api/classes/BitString",children:(0,n.jsx)(s.code,{children:"BitString"})})}),"\n",(0,n.jsx)(s.h4,{id:"overrides",children:"Overrides"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#constructor",children:"constructor"})]}),"\n",(0,n.jsx)(s.h2,{id:"properties",children:"Properties"}),"\n",(0,n.jsx)(s.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,n.jsxs)(s.p,{children:["\u2022 ",(0,n.jsx)(s.strong,{children:"blockLength"}),": ",(0,n.jsx)(s.code,{children:"number"})]}),"\n",(0,n.jsx)(s.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#blocklength",children:"blockLength"})]}),"\n",(0,n.jsx)(s.hr,{}),"\n",(0,n.jsx)(s.h3,{id:"error",children:"error"}),"\n",(0,n.jsxs)(s.p,{children:["\u2022 ",(0,n.jsx)(s.strong,{children:"error"}),": ",(0,n.jsx)(s.code,{children:"string"})]}),"\n",(0,n.jsx)(s.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#error",children:"error"})]}),"\n",(0,n.jsx)(s.hr,{}),"\n",(0,n.jsx)(s.h3,{id:"idblock",children:"idBlock"}),"\n",(0,n.jsxs)(s.p,{children:["\u2022 ",(0,n.jsx)(s.strong,{children:"idBlock"}),": ",(0,n.jsx)(s.code,{children:"LocalIdentificationBlock"})]}),"\n",(0,n.jsx)(s.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#idblock",children:"idBlock"})]}),"\n",(0,n.jsx)(s.hr,{}),"\n",(0,n.jsx)(s.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,n.jsxs)(s.p,{children:["\u2022 ",(0,n.jsx)(s.strong,{children:"lenBlock"}),": ",(0,n.jsx)(s.code,{children:"LocalLengthBlock"})]}),"\n",(0,n.jsx)(s.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#lenblock",children:"lenBlock"})]}),"\n",(0,n.jsx)(s.hr,{}),"\n",(0,n.jsx)(s.h3,{id:"name",children:"name"}),"\n",(0,n.jsxs)(s.p,{children:["\u2022 ",(0,n.jsx)(s.strong,{children:"name"}),": ",(0,n.jsx)(s.code,{children:"string"})]}),"\n",(0,n.jsx)(s.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#name",children:"name"})]}),"\n",(0,n.jsx)(s.hr,{}),"\n",(0,n.jsx)(s.h3,{id:"optional",children:"optional"}),"\n",(0,n.jsxs)(s.p,{children:["\u2022 ",(0,n.jsx)(s.strong,{children:"optional"}),": ",(0,n.jsx)(s.code,{children:"boolean"})]}),"\n",(0,n.jsx)(s.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#optional",children:"optional"})]}),"\n",(0,n.jsx)(s.hr,{}),"\n",(0,n.jsx)(s.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,n.jsxs)(s.p,{children:["\u2022 ",(0,n.jsx)(s.code,{children:"Optional"})," ",(0,n.jsx)(s.strong,{children:"primitiveSchema"}),": ",(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:(0,n.jsx)(s.code,{children:"BaseBlock"})}),"<",(0,n.jsx)(s.a,{href:"/docs/api/classes/ValueBlock",children:(0,n.jsx)(s.code,{children:"ValueBlock"})}),", ",(0,n.jsx)(s.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,n.jsx)(s.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#primitiveschema",children:"primitiveSchema"})]}),"\n",(0,n.jsx)(s.hr,{}),"\n",(0,n.jsx)(s.h3,{id:"valuebeforedecodeview",children:"valueBeforeDecodeView"}),"\n",(0,n.jsxs)(s.p,{children:["\u2022 ",(0,n.jsx)(s.strong,{children:"valueBeforeDecodeView"}),": ",(0,n.jsx)(s.code,{children:"Uint8Array"})]}),"\n",(0,n.jsx)(s.p,{children:(0,n.jsx)(s.strong,{children:(0,n.jsx)(s.code,{children:"Since"})})}),"\n",(0,n.jsx)(s.p,{children:"3.0.0"}),"\n",(0,n.jsx)(s.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#valuebeforedecodeview",children:"valueBeforeDecodeView"})]}),"\n",(0,n.jsx)(s.hr,{}),"\n",(0,n.jsx)(s.h3,{id:"valueblock",children:"valueBlock"}),"\n",(0,n.jsxs)(s.p,{children:["\u2022 ",(0,n.jsx)(s.strong,{children:"valueBlock"}),": ",(0,n.jsx)(s.code,{children:"LocalBitStringValueBlock"})]}),"\n",(0,n.jsx)(s.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#valueblock",children:"valueBlock"})]}),"\n",(0,n.jsx)(s.hr,{}),"\n",(0,n.jsx)(s.h3,{id:"warnings",children:"warnings"}),"\n",(0,n.jsxs)(s.p,{children:["\u2022 ",(0,n.jsx)(s.strong,{children:"warnings"}),": ",(0,n.jsx)(s.code,{children:"string"}),"[]"]}),"\n",(0,n.jsx)(s.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#warnings",children:"warnings"})]}),"\n",(0,n.jsx)(s.hr,{}),"\n",(0,n.jsx)(s.h3,{id:"name-1",children:"NAME"}),"\n",(0,n.jsxs)(s.p,{children:["\u25aa ",(0,n.jsx)(s.code,{children:"Static"})," ",(0,n.jsx)(s.strong,{children:"NAME"}),": ",(0,n.jsx)(s.code,{children:"string"})," = ",(0,n.jsx)(s.code,{children:"BIT_STRING_NAME"})]}),"\n",(0,n.jsx)(s.h4,{id:"overrides-1",children:"Overrides"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#name-1",children:"NAME"})]}),"\n",(0,n.jsx)(s.h2,{id:"accessors",children:"Accessors"}),"\n",(0,n.jsx)(s.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,n.jsxs)(s.p,{children:["\u2022 ",(0,n.jsx)(s.code,{children:"get"})," ",(0,n.jsx)(s.strong,{children:"valueBeforeDecode"}),"(): ",(0,n.jsx)(s.code,{children:"ArrayBuffer"})]}),"\n",(0,n.jsx)(s.h4,{id:"returns-1",children:"Returns"}),"\n",(0,n.jsx)(s.p,{children:(0,n.jsx)(s.code,{children:"ArrayBuffer"})}),"\n",(0,n.jsx)(s.p,{children:(0,n.jsx)(s.strong,{children:(0,n.jsx)(s.code,{children:"Deprecated"})})}),"\n",(0,n.jsx)(s.p,{children:"since version 3.0.0"}),"\n",(0,n.jsx)(s.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,n.jsx)(s.p,{children:"BaseBlock.valueBeforeDecode"}),"\n",(0,n.jsxs)(s.p,{children:["\u2022 ",(0,n.jsx)(s.code,{children:"set"})," ",(0,n.jsx)(s.strong,{children:"valueBeforeDecode"}),"(",(0,n.jsx)(s.code,{children:"value"}),"): ",(0,n.jsx)(s.code,{children:"void"})]}),"\n",(0,n.jsx)(s.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,n.jsxs)(s.table,{children:[(0,n.jsx)(s.thead,{children:(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(s.tbody,{children:(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{style:{textAlign:"left"},children:(0,n.jsx)(s.code,{children:"value"})}),(0,n.jsx)(s.td,{style:{textAlign:"left"},children:(0,n.jsx)(s.code,{children:"ArrayBuffer"})})]})})]}),"\n",(0,n.jsx)(s.h4,{id:"returns-2",children:"Returns"}),"\n",(0,n.jsx)(s.p,{children:(0,n.jsx)(s.code,{children:"void"})}),"\n",(0,n.jsx)(s.p,{children:(0,n.jsx)(s.strong,{children:(0,n.jsx)(s.code,{children:"Deprecated"})})}),"\n",(0,n.jsx)(s.p,{children:"since version 3.0.0"}),"\n",(0,n.jsx)(s.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,n.jsx)(s.p,{children:"BaseBlock.valueBeforeDecode"}),"\n",(0,n.jsx)(s.h2,{id:"methods",children:"Methods"}),"\n",(0,n.jsx)(s.h3,{id:"fromber",children:"fromBER"}),"\n",(0,n.jsxs)(s.p,{children:["\u25b8 ",(0,n.jsx)(s.strong,{children:"fromBER"}),"(",(0,n.jsx)(s.code,{children:"inputBuffer"}),", ",(0,n.jsx)(s.code,{children:"inputOffset"}),", ",(0,n.jsx)(s.code,{children:"inputLength"}),"): ",(0,n.jsx)(s.code,{children:"number"})]}),"\n",(0,n.jsx)(s.p,{children:"Base function for converting block from BER encoded array of bytes"}),"\n",(0,n.jsx)(s.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,n.jsxs)(s.table,{children:[(0,n.jsx)(s.thead,{children:(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(s.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(s.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,n.jsxs)(s.tbody,{children:[(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{style:{textAlign:"left"},children:(0,n.jsx)(s.code,{children:"inputBuffer"})}),(0,n.jsxs)(s.td,{style:{textAlign:"left"},children:[(0,n.jsx)(s.code,{children:"Uint8Array"})," | ",(0,n.jsx)(s.code,{children:"ArrayBuffer"})]}),(0,n.jsx)(s.td,{style:{textAlign:"left"},children:"ASN.1 BER encoded array"})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{style:{textAlign:"left"},children:(0,n.jsx)(s.code,{children:"inputOffset"})}),(0,n.jsx)(s.td,{style:{textAlign:"left"},children:(0,n.jsx)(s.code,{children:"number"})}),(0,n.jsx)(s.td,{style:{textAlign:"left"},children:"Offset in ASN.1 BER encoded array where decoding should be started"})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{style:{textAlign:"left"},children:(0,n.jsx)(s.code,{children:"inputLength"})}),(0,n.jsx)(s.td,{style:{textAlign:"left"},children:(0,n.jsx)(s.code,{children:"number"})}),(0,n.jsx)(s.td,{style:{textAlign:"left"},children:"Maximum length of array of bytes which can be using in this function"})]})]})]}),"\n",(0,n.jsx)(s.h4,{id:"returns-3",children:"Returns"}),"\n",(0,n.jsx)(s.p,{children:(0,n.jsx)(s.code,{children:"number"})}),"\n",(0,n.jsx)(s.p,{children:"Offset after least decoded byte"}),"\n",(0,n.jsx)(s.h4,{id:"overrides-2",children:"Overrides"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#fromber",children:"fromBER"})]}),"\n",(0,n.jsx)(s.hr,{}),"\n",(0,n.jsx)(s.h3,{id:"isequal",children:"isEqual"}),"\n",(0,n.jsxs)(s.p,{children:["\u25b8 ",(0,n.jsx)(s.strong,{children:"isEqual"}),"(",(0,n.jsx)(s.code,{children:"other"}),"): other is BitString"]}),"\n",(0,n.jsx)(s.p,{children:"Determines whether two object instances are equal"}),"\n",(0,n.jsx)(s.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,n.jsxs)(s.table,{children:[(0,n.jsx)(s.thead,{children:(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(s.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(s.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,n.jsx)(s.tbody,{children:(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{style:{textAlign:"left"},children:(0,n.jsx)(s.code,{children:"other"})}),(0,n.jsx)(s.td,{style:{textAlign:"left"},children:(0,n.jsx)(s.code,{children:"unknown"})}),(0,n.jsx)(s.td,{style:{textAlign:"left"},children:"Object to compare with the current object"})]})})]}),"\n",(0,n.jsx)(s.h4,{id:"returns-4",children:"Returns"}),"\n",(0,n.jsx)(s.p,{children:"other is BitString"}),"\n",(0,n.jsx)(s.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#isequal",children:"isEqual"})]}),"\n",(0,n.jsx)(s.hr,{}),"\n",(0,n.jsx)(s.h3,{id:"onasciiencoding",children:"onAsciiEncoding"}),"\n",(0,n.jsxs)(s.p,{children:["\u25b8 ",(0,n.jsx)(s.strong,{children:"onAsciiEncoding"}),"(): ",(0,n.jsx)(s.code,{children:"string"})]}),"\n",(0,n.jsx)(s.h4,{id:"returns-5",children:"Returns"}),"\n",(0,n.jsx)(s.p,{children:(0,n.jsx)(s.code,{children:"string"})}),"\n",(0,n.jsx)(s.h4,{id:"overrides-3",children:"Overrides"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#onasciiencoding",children:"onAsciiEncoding"})]}),"\n",(0,n.jsx)(s.hr,{}),"\n",(0,n.jsx)(s.h3,{id:"tober",children:"toBER"}),"\n",(0,n.jsxs)(s.p,{children:["\u25b8 ",(0,n.jsx)(s.strong,{children:"toBER"}),"(",(0,n.jsx)(s.code,{children:"sizeOnly?"}),", ",(0,n.jsx)(s.code,{children:"writer?"}),"): ",(0,n.jsx)(s.code,{children:"ArrayBuffer"})]}),"\n",(0,n.jsx)(s.p,{children:"Encoding of current ASN.1 block into ASN.1 encoded array (BER rules)"}),"\n",(0,n.jsx)(s.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,n.jsxs)(s.table,{children:[(0,n.jsx)(s.thead,{children:(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(s.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(s.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,n.jsxs)(s.tbody,{children:[(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{style:{textAlign:"left"},children:(0,n.jsx)(s.code,{children:"sizeOnly?"})}),(0,n.jsx)(s.td,{style:{textAlign:"left"},children:(0,n.jsx)(s.code,{children:"boolean"})}),(0,n.jsx)(s.td,{style:{textAlign:"left"},children:"Flag that we need only a size of encoding, not a real array of bytes"})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{style:{textAlign:"left"},children:(0,n.jsx)(s.code,{children:"writer?"})}),(0,n.jsx)(s.td,{style:{textAlign:"left"},children:(0,n.jsx)(s.a,{href:"/docs/api/classes/ViewWriter",children:(0,n.jsx)(s.code,{children:"ViewWriter"})})}),(0,n.jsx)(s.td,{style:{textAlign:"left"},children:"-"})]})]})]}),"\n",(0,n.jsx)(s.h4,{id:"returns-6",children:"Returns"}),"\n",(0,n.jsx)(s.p,{children:(0,n.jsx)(s.code,{children:"ArrayBuffer"})}),"\n",(0,n.jsx)(s.p,{children:"ASN.1 BER encoded array"}),"\n",(0,n.jsx)(s.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#tober",children:"toBER"})]}),"\n",(0,n.jsx)(s.hr,{}),"\n",(0,n.jsx)(s.h3,{id:"tojson",children:"toJSON"}),"\n",(0,n.jsxs)(s.p,{children:["\u25b8 ",(0,n.jsx)(s.strong,{children:"toJSON"}),"(): ",(0,n.jsx)(s.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,n.jsx)(s.code,{children:"BaseBlockJson"})}),"<",(0,n.jsx)(s.code,{children:"LocalBitStringValueBlockJson"}),">"]}),"\n",(0,n.jsx)(s.h4,{id:"returns-7",children:"Returns"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,n.jsx)(s.code,{children:"BaseBlockJson"})}),"<",(0,n.jsx)(s.code,{children:"LocalBitStringValueBlockJson"}),">"]}),"\n",(0,n.jsx)(s.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#tojson",children:"toJSON"})]}),"\n",(0,n.jsx)(s.hr,{}),"\n",(0,n.jsx)(s.h3,{id:"tostring",children:"toString"}),"\n",(0,n.jsxs)(s.p,{children:["\u25b8 ",(0,n.jsx)(s.strong,{children:"toString"}),"(",(0,n.jsx)(s.code,{children:"encoding?"}),"): ",(0,n.jsx)(s.code,{children:"string"})]}),"\n",(0,n.jsx)(s.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,n.jsxs)(s.table,{children:[(0,n.jsx)(s.thead,{children:(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(s.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(s.th,{style:{textAlign:"left"},children:"Default value"})]})}),(0,n.jsx)(s.tbody,{children:(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{style:{textAlign:"left"},children:(0,n.jsx)(s.code,{children:"encoding"})}),(0,n.jsx)(s.td,{style:{textAlign:"left"},children:(0,n.jsx)(s.a,{href:"../#stringencoding",children:(0,n.jsx)(s.code,{children:"StringEncoding"})})}),(0,n.jsx)(s.td,{style:{textAlign:"left"},children:(0,n.jsx)(s.code,{children:'"ascii"'})})]})})]}),"\n",(0,n.jsx)(s.h4,{id:"returns-8",children:"Returns"}),"\n",(0,n.jsx)(s.p,{children:(0,n.jsx)(s.code,{children:"string"})}),"\n",(0,n.jsx)(s.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#tostring",children:"toString"})]}),"\n",(0,n.jsx)(s.hr,{}),"\n",(0,n.jsx)(s.h3,{id:"blockname",children:"blockName"}),"\n",(0,n.jsxs)(s.p,{children:["\u25b8 ",(0,n.jsx)(s.strong,{children:"blockName"}),"(): ",(0,n.jsx)(s.code,{children:"string"})]}),"\n",(0,n.jsx)(s.p,{children:"Aux function, need to get a block name. Need to have it here for inheritance"}),"\n",(0,n.jsx)(s.h4,{id:"returns-9",children:"Returns"}),"\n",(0,n.jsx)(s.p,{children:(0,n.jsx)(s.code,{children:"string"})}),"\n",(0,n.jsx)(s.p,{children:"Returns name of the block"}),"\n",(0,n.jsx)(s.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#blockname",children:"blockName"})]})]})}function a(e={}){const{wrapper:s}={...(0,i.a)(),...e.components};return s?(0,n.jsx)(s,{...e,children:(0,n.jsx)(o,{...e})}):o(e)}},1151:(e,s,r)=>{r.d(s,{Z:()=>c,a:()=>d});var n=r(7294);const i={},l=n.createContext(i);function d(e){const s=n.useContext(l);return n.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function c(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:d(e.components),n.createElement(l.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/a9257c3b.1884461b.js b/assets/js/a9257c3b.1884461b.js new file mode 100644 index 0000000..5cba6ea --- /dev/null +++ b/assets/js/a9257c3b.1884461b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[5705],{588:(e,r,i)=>{i.r(r),i.d(r,{assets:()=>d,contentTitle:()=>l,default:()=>t,frontMatter:()=>a,metadata:()=>c,toc:()=>o});var n=i(5893),s=i(1151);const a={id:"BaseStringBlockParams",title:"Interface: BaseStringBlockParams",sidebar_label:"BaseStringBlockParams",sidebar_position:0,custom_edit_url:null},l=void 0,c={id:"api/interfaces/BaseStringBlockParams",title:"Interface: BaseStringBlockParams",description:"Hierarchy",source:"@site/docs/api/interfaces/BaseStringBlockParams.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/BaseStringBlockParams",permalink:"/docs/api/interfaces/BaseStringBlockParams",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"BaseStringBlockParams",title:"Interface: BaseStringBlockParams",sidebar_label:"BaseStringBlockParams",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"BaseBlockParams",permalink:"/docs/api/interfaces/BaseBlockParams"},next:{title:"BitStringParams",permalink:"/docs/api/interfaces/BitStringParams"}},d={},o=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"value",id:"value",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"valueHex",id:"valuehex",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-10",level:4}];function h(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,s.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,n.jsxs)(r.ul,{children:["\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:(0,n.jsx)(r.code,{children:"BaseBlockParams"})})}),"\n"]}),"\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"LocalStringValueBlockParams"})}),"\n",(0,n.jsxs)(r.p,{children:["\u21b3 ",(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"BaseStringBlockParams"})})]}),"\n",(0,n.jsxs)(r.p,{children:["\u21b3\u21b3 ",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/Utf8StringParams",children:(0,n.jsx)(r.code,{children:"Utf8StringParams"})})]}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,n.jsx)(r.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"blockLength"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#blocklength",children:"blockLength"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"error",children:"error"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"error"}),": ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#error",children:"error"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"idblock",children:"idBlock"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"idBlock"}),": ",(0,n.jsx)(r.code,{children:"Partial"}),"<",(0,n.jsx)(r.code,{children:"ILocalIdentificationBlock"}),"> & ",(0,n.jsx)(r.code,{children:"Partial"}),"<",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/IHexBlock",children:(0,n.jsx)(r.code,{children:"IHexBlock"})}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#idblock",children:"idBlock"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"lenBlock"}),": ",(0,n.jsx)(r.code,{children:"Partial"}),"<",(0,n.jsx)(r.code,{children:"ILocalLengthBlock"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#lenblock",children:"lenBlock"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"name",children:"name"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"name"}),": ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#name",children:"name"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"optional",children:"optional"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"optional"}),": ",(0,n.jsx)(r.code,{children:"boolean"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#optional",children:"optional"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"primitiveSchema"}),": ",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:(0,n.jsx)(r.code,{children:"BaseBlock"})}),"<",(0,n.jsx)(r.a,{href:"/docs/api/classes/ValueBlock",children:(0,n.jsx)(r.code,{children:"ValueBlock"})}),", ",(0,n.jsx)(r.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#primitiveschema",children:"primitiveSchema"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"value",children:"value"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"value"}),": ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"LocalStringValueBlockParams.value"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"valueBeforeDecode"}),": ",(0,n.jsx)(r.code,{children:"BufferSource"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#valuebeforedecode",children:"valueBeforeDecode"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"valuehex",children:"valueHex"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"valueHex"}),": ",(0,n.jsx)(r.code,{children:"BufferSource"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"LocalStringValueBlockParams.valueHex"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"warnings",children:"warnings"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"warnings"}),": ",(0,n.jsx)(r.code,{children:"string"}),"[]"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#warnings",children:"warnings"})]})]})}function t(e={}){const{wrapper:r}={...(0,s.a)(),...e.components};return r?(0,n.jsx)(r,{...e,children:(0,n.jsx)(h,{...e})}):h(e)}},1151:(e,r,i)=>{i.d(r,{Z:()=>c,a:()=>l});var n=i(7294);const s={},a=n.createContext(s);function l(e){const r=n.useContext(a);return n.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function c(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:l(e.components),n.createElement(a.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/a94703ab.3b903456.js b/assets/js/a94703ab.3b903456.js new file mode 100644 index 0000000..24dc6e7 --- /dev/null +++ b/assets/js/a94703ab.3b903456.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4368],{2674:(e,t,n)=>{n.r(t),n.d(t,{default:()=>be});var a=n(7294),o=n(512),i=n(1944),s=n(5281),l=n(2802),r=n(1116),c=n(5999),d=n(2466),u=n(5936);const m={backToTopButton:"backToTopButton_sjWU",backToTopButtonShow:"backToTopButtonShow_xfvO"};var b=n(5893);function h(){const{shown:e,scrollToTop:t}=function(e){let{threshold:t}=e;const[n,o]=(0,a.useState)(!1),i=(0,a.useRef)(!1),{startScroll:s,cancelScroll:l}=(0,d.Ct)();return(0,d.RF)(((e,n)=>{let{scrollY:a}=e;const s=n?.scrollY;s&&(i.current?i.current=!1:a>=s?(l(),o(!1)):a<t?o(!1):a+window.innerHeight<document.documentElement.scrollHeight&&o(!0))})),(0,u.S)((e=>{e.location.hash&&(i.current=!0,o(!1))})),{shown:n,scrollToTop:()=>s(0)}}({threshold:300});return(0,b.jsx)("button",{"aria-label":(0,c.I)({id:"theme.BackToTopButton.buttonAriaLabel",message:"Scroll back to top",description:"The ARIA label for the back to top button"}),className:(0,o.Z)("clean-btn",s.k.common.backToTopButton,m.backToTopButton,e&&m.backToTopButtonShow),type:"button",onClick:t})}var p=n(1442),x=n(6550),f=n(7524),j=n(6668),k=n(1327);function _(e){return(0,b.jsx)("svg",{width:"20",height:"20","aria-hidden":"true",...e,children:(0,b.jsxs)("g",{fill:"#7a7a7a",children:[(0,b.jsx)("path",{d:"M9.992 10.023c0 .2-.062.399-.172.547l-4.996 7.492a.982.982 0 01-.828.454H1c-.55 0-1-.453-1-1 0-.2.059-.403.168-.551l4.629-6.942L.168 3.078A.939.939 0 010 2.528c0-.548.45-.997 1-.997h2.996c.352 0 .649.18.828.45L9.82 9.472c.11.148.172.347.172.55zm0 0"}),(0,b.jsx)("path",{d:"M19.98 10.023c0 .2-.058.399-.168.547l-4.996 7.492a.987.987 0 01-.828.454h-3c-.547 0-.996-.453-.996-1 0-.2.059-.403.168-.551l4.625-6.942-4.625-6.945a.939.939 0 01-.168-.55 1 1 0 01.996-.997h3c.348 0 .649.18.828.45l4.996 7.492c.11.148.168.347.168.55zm0 0"})]})})}const v={collapseSidebarButton:"collapseSidebarButton_PEFL",collapseSidebarButtonIcon:"collapseSidebarButtonIcon_kv0_"};function g(e){let{onClick:t}=e;return(0,b.jsx)("button",{type:"button",title:(0,c.I)({id:"theme.docs.sidebar.collapseButtonTitle",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),"aria-label":(0,c.I)({id:"theme.docs.sidebar.collapseButtonAriaLabel",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),className:(0,o.Z)("button button--secondary button--outline",v.collapseSidebarButton),onClick:t,children:(0,b.jsx)(_,{className:v.collapseSidebarButtonIcon})})}var C=n(9689),S=n(902);const I=Symbol("EmptyContext"),N=a.createContext(I);function T(e){let{children:t}=e;const[n,o]=(0,a.useState)(null),i=(0,a.useMemo)((()=>({expandedItem:n,setExpandedItem:o})),[n]);return(0,b.jsx)(N.Provider,{value:i,children:t})}var B=n(6043),Z=n(8596),A=n(3692),L=n(2389);function y(e){let{collapsed:t,categoryLabel:n,onClick:a}=e;return(0,b.jsx)("button",{"aria-label":t?(0,c.I)({id:"theme.DocSidebarItem.expandCategoryAriaLabel",message:"Expand sidebar category '{label}'",description:"The ARIA label to expand the sidebar category"},{label:n}):(0,c.I)({id:"theme.DocSidebarItem.collapseCategoryAriaLabel",message:"Collapse sidebar category '{label}'",description:"The ARIA label to collapse the sidebar category"},{label:n}),type:"button",className:"clean-btn menu__caret",onClick:a})}function w(e){let{item:t,onItemClick:n,activePath:i,level:r,index:c,...d}=e;const{items:u,label:m,collapsible:h,className:p,href:x}=t,{docs:{sidebar:{autoCollapseCategories:f}}}=(0,j.L)(),k=function(e){const t=(0,L.Z)();return(0,a.useMemo)((()=>e.href&&!e.linkUnlisted?e.href:!t&&e.collapsible?(0,l.LM)(e):void 0),[e,t])}(t),_=(0,l._F)(t,i),v=(0,Z.Mg)(x,i),{collapsed:g,setCollapsed:C}=(0,B.u)({initialState:()=>!!h&&(!_&&t.collapsed)}),{expandedItem:T,setExpandedItem:w}=function(){const e=(0,a.useContext)(N);if(e===I)throw new S.i6("DocSidebarItemsExpandedStateProvider");return e}(),E=function(e){void 0===e&&(e=!g),w(e?null:c),C(e)};return function(e){let{isActive:t,collapsed:n,updateCollapsed:o}=e;const i=(0,S.D9)(t);(0,a.useEffect)((()=>{t&&!i&&n&&o(!1)}),[t,i,n,o])}({isActive:_,collapsed:g,updateCollapsed:E}),(0,a.useEffect)((()=>{h&&null!=T&&T!==c&&f&&C(!0)}),[h,T,c,C,f]),(0,b.jsxs)("li",{className:(0,o.Z)(s.k.docs.docSidebarItemCategory,s.k.docs.docSidebarItemCategoryLevel(r),"menu__list-item",{"menu__list-item--collapsed":g},p),children:[(0,b.jsxs)("div",{className:(0,o.Z)("menu__list-item-collapsible",{"menu__list-item-collapsible--active":v}),children:[(0,b.jsx)(A.Z,{className:(0,o.Z)("menu__link",{"menu__link--sublist":h,"menu__link--sublist-caret":!x&&h,"menu__link--active":_}),onClick:h?e=>{n?.(t),x?E(!1):(e.preventDefault(),E())}:()=>{n?.(t)},"aria-current":v?"page":void 0,"aria-expanded":h?!g:void 0,href:h?k??"#":k,...d,children:m}),x&&h&&(0,b.jsx)(y,{collapsed:g,categoryLabel:m,onClick:e=>{e.preventDefault(),E()}})]}),(0,b.jsx)(B.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:g,children:(0,b.jsx)(V,{items:u,tabIndex:g?-1:0,onItemClick:n,activePath:i,level:r+1})})]})}var E=n(3919),H=n(9471);const M={menuExternalLink:"menuExternalLink_NmtK"};function R(e){let{item:t,onItemClick:n,activePath:a,level:i,index:r,...c}=e;const{href:d,label:u,className:m,autoAddBaseUrl:h}=t,p=(0,l._F)(t,a),x=(0,E.Z)(d);return(0,b.jsx)("li",{className:(0,o.Z)(s.k.docs.docSidebarItemLink,s.k.docs.docSidebarItemLinkLevel(i),"menu__list-item",m),children:(0,b.jsxs)(A.Z,{className:(0,o.Z)("menu__link",!x&&M.menuExternalLink,{"menu__link--active":p}),autoAddBaseUrl:h,"aria-current":p?"page":void 0,to:d,...x&&{onClick:n?()=>n(t):void 0},...c,children:[u,!x&&(0,b.jsx)(H.Z,{})]})},u)}const W={menuHtmlItem:"menuHtmlItem_M9Kj"};function F(e){let{item:t,level:n,index:a}=e;const{value:i,defaultStyle:l,className:r}=t;return(0,b.jsx)("li",{className:(0,o.Z)(s.k.docs.docSidebarItemLink,s.k.docs.docSidebarItemLinkLevel(n),l&&[W.menuHtmlItem,"menu__list-item"],r),dangerouslySetInnerHTML:{__html:i}},a)}function P(e){let{item:t,...n}=e;switch(t.type){case"category":return(0,b.jsx)(w,{item:t,...n});case"html":return(0,b.jsx)(F,{item:t,...n});default:return(0,b.jsx)(R,{item:t,...n})}}function D(e){let{items:t,...n}=e;const a=(0,l.f)(t,n.activePath);return(0,b.jsx)(T,{children:a.map(((e,t)=>(0,b.jsx)(P,{item:e,index:t,...n},t)))})}const V=(0,a.memo)(D),U={menu:"menu_SIkG",menuWithAnnouncementBar:"menuWithAnnouncementBar_GW3s"};function K(e){let{path:t,sidebar:n,className:i}=e;const l=function(){const{isActive:e}=(0,C.nT)(),[t,n]=(0,a.useState)(e);return(0,d.RF)((t=>{let{scrollY:a}=t;e&&n(0===a)}),[e]),e&&t}();return(0,b.jsx)("nav",{"aria-label":(0,c.I)({id:"theme.docs.sidebar.navAriaLabel",message:"Docs sidebar",description:"The ARIA label for the sidebar navigation"}),className:(0,o.Z)("menu thin-scrollbar",U.menu,l&&U.menuWithAnnouncementBar,i),children:(0,b.jsx)("ul",{className:(0,o.Z)(s.k.docs.docSidebarMenu,"menu__list"),children:(0,b.jsx)(V,{items:n,activePath:t,level:1})})})}const Y="sidebar_njMd",z="sidebarWithHideableNavbar_wUlq",G="sidebarHidden_VK0M",O="sidebarLogo_isFc";function q(e){let{path:t,sidebar:n,onCollapse:a,isHidden:i}=e;const{navbar:{hideOnScroll:s},docs:{sidebar:{hideable:l}}}=(0,j.L)();return(0,b.jsxs)("div",{className:(0,o.Z)(Y,s&&z,i&&G),children:[s&&(0,b.jsx)(k.Z,{tabIndex:-1,className:O}),(0,b.jsx)(K,{path:t,sidebar:n}),l&&(0,b.jsx)(g,{onClick:a})]})}const J=a.memo(q);var Q=n(3102),X=n(2961);const $=e=>{let{sidebar:t,path:n}=e;const a=(0,X.e)();return(0,b.jsx)("ul",{className:(0,o.Z)(s.k.docs.docSidebarMenu,"menu__list"),children:(0,b.jsx)(V,{items:t,activePath:n,onItemClick:e=>{"category"===e.type&&e.href&&a.toggle(),"link"===e.type&&a.toggle()},level:1})})};function ee(e){return(0,b.jsx)(Q.Zo,{component:$,props:e})}const te=a.memo(ee);function ne(e){const t=(0,f.i)(),n="desktop"===t||"ssr"===t,a="mobile"===t;return(0,b.jsxs)(b.Fragment,{children:[n&&(0,b.jsx)(J,{...e}),a&&(0,b.jsx)(te,{...e})]})}const ae={expandButton:"expandButton_TmdG",expandButtonIcon:"expandButtonIcon_i1dp"};function oe(e){let{toggleSidebar:t}=e;return(0,b.jsx)("div",{className:ae.expandButton,title:(0,c.I)({id:"theme.docs.sidebar.expandButtonTitle",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),"aria-label":(0,c.I)({id:"theme.docs.sidebar.expandButtonAriaLabel",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),tabIndex:0,role:"button",onKeyDown:t,onClick:t,children:(0,b.jsx)(_,{className:ae.expandButtonIcon})})}const ie={docSidebarContainer:"docSidebarContainer_YfHR",docSidebarContainerHidden:"docSidebarContainerHidden_DPk8",sidebarViewport:"sidebarViewport_aRkj"};function se(e){let{children:t}=e;const n=(0,r.V)();return(0,b.jsx)(a.Fragment,{children:t},n?.name??"noSidebar")}function le(e){let{sidebar:t,hiddenSidebarContainer:n,setHiddenSidebarContainer:i}=e;const{pathname:l}=(0,x.TH)(),[r,c]=(0,a.useState)(!1),d=(0,a.useCallback)((()=>{r&&c(!1),!r&&(0,p.n)()&&c(!0),i((e=>!e))}),[i,r]);return(0,b.jsx)("aside",{className:(0,o.Z)(s.k.docs.docSidebarContainer,ie.docSidebarContainer,n&&ie.docSidebarContainerHidden),onTransitionEnd:e=>{e.currentTarget.classList.contains(ie.docSidebarContainer)&&n&&c(!0)},children:(0,b.jsx)(se,{children:(0,b.jsxs)("div",{className:(0,o.Z)(ie.sidebarViewport,r&&ie.sidebarViewportHidden),children:[(0,b.jsx)(ne,{sidebar:t,path:l,onCollapse:d,isHidden:r}),r&&(0,b.jsx)(oe,{toggleSidebar:d})]})})})}const re={docMainContainer:"docMainContainer_TBSr",docMainContainerEnhanced:"docMainContainerEnhanced_lQrH",docItemWrapperEnhanced:"docItemWrapperEnhanced_JWYK"};function ce(e){let{hiddenSidebarContainer:t,children:n}=e;const a=(0,r.V)();return(0,b.jsx)("main",{className:(0,o.Z)(re.docMainContainer,(t||!a)&&re.docMainContainerEnhanced),children:(0,b.jsx)("div",{className:(0,o.Z)("container padding-top--md padding-bottom--lg",re.docItemWrapper,t&&re.docItemWrapperEnhanced),children:n})})}const de={docRoot:"docRoot_UBD9",docsWrapper:"docsWrapper_hBAB"};function ue(e){let{children:t}=e;const n=(0,r.V)(),[o,i]=(0,a.useState)(!1);return(0,b.jsxs)("div",{className:de.docsWrapper,children:[(0,b.jsx)(h,{}),(0,b.jsxs)("div",{className:de.docRoot,children:[n&&(0,b.jsx)(le,{sidebar:n.items,hiddenSidebarContainer:o,setHiddenSidebarContainer:i}),(0,b.jsx)(ce,{hiddenSidebarContainer:o,children:t})]})]})}var me=n(5658);function be(e){const t=(0,l.SN)(e);if(!t)return(0,b.jsx)(me.Z,{});const{docElement:n,sidebarName:a,sidebarItems:c}=t;return(0,b.jsx)(i.FG,{className:(0,o.Z)(s.k.page.docsDocPage),children:(0,b.jsx)(r.b,{name:a,items:c,children:(0,b.jsx)(ue,{children:n})})})}},5658:(e,t,n)=>{n.d(t,{Z:()=>l});n(7294);var a=n(512),o=n(5999),i=n(2503),s=n(5893);function l(e){let{className:t}=e;return(0,s.jsx)("main",{className:(0,a.Z)("container margin-vert--xl",t),children:(0,s.jsx)("div",{className:"row",children:(0,s.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,s.jsx)(i.Z,{as:"h1",className:"hero__title",children:(0,s.jsx)(o.Z,{id:"theme.NotFound.title",description:"The title of the 404 page",children:"Page Not Found"})}),(0,s.jsx)("p",{children:(0,s.jsx)(o.Z,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page",children:"We could not find what you were looking for."})}),(0,s.jsx)("p",{children:(0,s.jsx)(o.Z,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page",children:"Please contact the owner of the site that linked you to the original URL and let them know their link is broken."})})]})})})}}}]); \ No newline at end of file diff --git a/assets/js/aa339c64.0f6b14c5.js b/assets/js/aa339c64.0f6b14c5.js new file mode 100644 index 0000000..d763503 --- /dev/null +++ b/assets/js/aa339c64.0f6b14c5.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[5156],{482:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>d,contentTitle:()=>c,default:()=>a,frontMatter:()=>s,metadata:()=>o,toc:()=>t});var r=i(5893),l=i(1151);const s={id:"BaseBlockJson",title:"Interface: BaseBlockJson<T>",sidebar_label:"BaseBlockJson",sidebar_position:0,custom_edit_url:null},c=void 0,o={id:"api/interfaces/BaseBlockJson",title:"Interface: BaseBlockJson<T>",description:"Type parameters",source:"@site/docs/api/interfaces/BaseBlockJson.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/BaseBlockJson",permalink:"/docs/api/interfaces/BaseBlockJson",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"BaseBlockJson",title:"Interface: BaseBlockJson<T>",sidebar_label:"BaseBlockJson",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"VisibleString",permalink:"/docs/api/classes/VisibleString"},next:{title:"BaseBlockParams",permalink:"/docs/api/interfaces/BaseBlockParams"}},d={},t=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"blockName",id:"blockname",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"idBlock",id:"idblock",level:3},{value:"lenBlock",id:"lenblock",level:3},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"valueBlock",id:"valueblock",level:3},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-6",level:4}];function h(e){const n={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,l.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h2,{id:"type-parameters",children:"Type parameters"}),"\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{style:{textAlign:"left"},children:"Name"}),(0,r.jsx)(n.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,r.jsx)(n.tbody,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{style:{textAlign:"left"},children:(0,r.jsx)(n.code,{children:"T"})}),(0,r.jsxs)(n.td,{style:{textAlign:"left"},children:["extends ",(0,r.jsx)(n.code,{children:"LocalBaseBlockJson"})," = ",(0,r.jsx)(n.code,{children:"LocalBaseBlockJson"})]})]})})]}),"\n",(0,r.jsx)(n.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"LocalBaseBlockJson"})}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.code,{children:"Omit"}),"<",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/IBaseBlock",children:(0,r.jsx)(n.code,{children:"IBaseBlock"})}),", ",(0,r.jsx)(n.code,{children:'"primitiveSchema"'}),">"]}),"\n",(0,r.jsxs)(n.p,{children:["\u21b3 ",(0,r.jsx)(n.strong,{children:(0,r.jsx)(n.code,{children:"BaseBlockJson"})})]}),"\n",(0,r.jsxs)(n.p,{children:["\u21b3\u21b3 ",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/ObjectIdentifierJson",children:(0,r.jsx)(n.code,{children:"ObjectIdentifierJson"})})]}),"\n",(0,r.jsxs)(n.p,{children:["\u21b3\u21b3 ",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/RelativeObjectIdentifierJson",children:(0,r.jsx)(n.code,{children:"RelativeObjectIdentifierJson"})})]}),"\n",(0,r.jsxs)(n.p,{children:["\u21b3\u21b3 ",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/UTCTimeJson",children:(0,r.jsx)(n.code,{children:"UTCTimeJson"})})]}),"\n"]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"properties",children:"Properties"}),"\n",(0,r.jsx)(n.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"blockLength"}),": ",(0,r.jsx)(n.code,{children:"number"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,r.jsx)(n.p,{children:"LocalBaseBlockJson.blockLength"}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"blockname",children:"blockName"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"blockName"}),": ",(0,r.jsx)(n.code,{children:"string"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,r.jsx)(n.p,{children:"LocalBaseBlockJson.blockName"}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"error",children:"error"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"error"}),": ",(0,r.jsx)(n.code,{children:"string"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,r.jsx)(n.p,{children:"LocalBaseBlockJson.error"}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"idblock",children:"idBlock"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"idBlock"}),": ",(0,r.jsx)(n.code,{children:"LocalIdentificationBlockJson"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"lenBlock"}),": ",(0,r.jsx)(n.code,{children:"LocalLengthBlockJson"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"name",children:"name"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"name"}),": ",(0,r.jsx)(n.code,{children:"string"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,r.jsx)(n.p,{children:"Omit.name"}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"optional",children:"optional"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"optional"}),": ",(0,r.jsx)(n.code,{children:"boolean"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,r.jsx)(n.p,{children:"Omit.optional"}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.code,{children:"Optional"})," ",(0,r.jsx)(n.strong,{children:"primitiveSchema"}),": ",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,r.jsx)(n.code,{children:"BaseBlockJson"})}),"<",(0,r.jsx)(n.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"valueBeforeDecode"}),": ",(0,r.jsx)(n.code,{children:"string"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,r.jsx)(n.p,{children:"LocalBaseBlockJson.valueBeforeDecode"}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"valueblock",children:"valueBlock"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"valueBlock"}),": ",(0,r.jsx)(n.code,{children:"T"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"warnings",children:"warnings"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"warnings"}),": ",(0,r.jsx)(n.code,{children:"string"}),"[]"]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,r.jsx)(n.p,{children:"LocalBaseBlockJson.warnings"})]})}function a(e={}){const{wrapper:n}={...(0,l.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(h,{...e})}):h(e)}},1151:(e,n,i)=>{i.d(n,{Z:()=>o,a:()=>c});var r=i(7294);const l={},s=r.createContext(l);function c(e){const n=r.useContext(s);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(l):e.components||l:c(e.components),r.createElement(s.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/adc29927.116e918a.js b/assets/js/adc29927.116e918a.js new file mode 100644 index 0000000..26b25f9 --- /dev/null +++ b/assets/js/adc29927.116e918a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8020],{7027:(e,r,s)=>{s.r(r),s.d(r,{assets:()=>t,contentTitle:()=>d,default:()=>a,frontMatter:()=>n,metadata:()=>c,toc:()=>h});var i=s(5893),l=s(1151);const n={id:"Primitive",title:"Class: Primitive",sidebar_label:"Primitive",sidebar_position:0,custom_edit_url:null},d=void 0,c={id:"api/classes/Primitive",title:"Class: Primitive",description:"Hierarchy",source:"@site/docs/api/classes/Primitive.md",sourceDirName:"api/classes",slug:"/api/classes/Primitive",permalink:"/docs/api/classes/Primitive",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"Primitive",title:"Class: Primitive",sidebar_label:"Primitive",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"OctetString",permalink:"/docs/api/classes/OctetString"},next:{title:"PrintableString",permalink:"/docs/api/classes/PrintableString"}},t={},h=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Overrides",id:"overrides",level:4},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"valueBeforeDecodeView",id:"valuebeforedecodeview",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"valueBlock",id:"valueblock",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"NAME",id:"name-1",level:3},{value:"Overrides",id:"overrides-1",level:4},{value:"Accessors",id:"accessors",level:2},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Returns",id:"returns-1",level:4},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Methods",id:"methods",level:2},{value:"fromBER",id:"fromber",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"isEqual",id:"isequal",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-4",level:4},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"onAsciiEncoding",id:"onasciiencoding",level:3},{value:"Returns",id:"returns-5",level:4},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"toBER",id:"tober",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-6",level:4},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"toJSON",id:"tojson",level:3},{value:"Returns",id:"returns-7",level:4},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"toString",id:"tostring",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-8",level:4},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"blockName",id:"blockname",level:3},{value:"Returns",id:"returns-9",level:4},{value:"Inherited from",id:"inherited-from-18",level:4}];function o(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,l.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,i.jsxs)(r.ul,{children:["\n",(0,i.jsxs)(r.li,{children:["\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:(0,i.jsx)(r.code,{children:"BaseBlock"})}),"<",(0,i.jsx)(r.code,{children:"LocalPrimitiveValueBlock"}),", ",(0,i.jsx)(r.code,{children:"LocalPrimitiveValueBlockJson"}),">"]}),"\n",(0,i.jsxs)(r.p,{children:["\u21b3 ",(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Primitive"})})]}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(r.h2,{id:"constructors",children:"Constructors"}),"\n",(0,i.jsx)(r.h3,{id:"constructor",children:"constructor"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"new Primitive"}),"(",(0,i.jsx)(r.code,{children:"parameters?"}),"): ",(0,i.jsx)(r.a,{href:"/docs/api/classes/Primitive",children:(0,i.jsx)(r.code,{children:"Primitive"})})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"parameters"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.a,{href:"/docs/api/interfaces/PrimitiveParams",children:(0,i.jsx)(r.code,{children:"PrimitiveParams"})})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.a,{href:"/docs/api/classes/Primitive",children:(0,i.jsx)(r.code,{children:"Primitive"})})}),"\n",(0,i.jsx)(r.h4,{id:"overrides",children:"Overrides"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#constructor",children:"constructor"})]}),"\n",(0,i.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,i.jsx)(r.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"blockLength"}),": ",(0,i.jsx)(r.code,{children:"number"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#blocklength",children:"blockLength"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"error",children:"error"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"error"}),": ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#error",children:"error"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"idblock",children:"idBlock"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"idBlock"}),": ",(0,i.jsx)(r.code,{children:"LocalIdentificationBlock"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#idblock",children:"idBlock"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"lenBlock"}),": ",(0,i.jsx)(r.code,{children:"LocalLengthBlock"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#lenblock",children:"lenBlock"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"name",children:"name"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"name"}),": ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#name",children:"name"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"optional",children:"optional"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"optional"}),": ",(0,i.jsx)(r.code,{children:"boolean"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#optional",children:"optional"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.code,{children:"Optional"})," ",(0,i.jsx)(r.strong,{children:"primitiveSchema"}),": ",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:(0,i.jsx)(r.code,{children:"BaseBlock"})}),"<",(0,i.jsx)(r.a,{href:"/docs/api/classes/ValueBlock",children:(0,i.jsx)(r.code,{children:"ValueBlock"})}),", ",(0,i.jsx)(r.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#primitiveschema",children:"primitiveSchema"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"valuebeforedecodeview",children:"valueBeforeDecodeView"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"valueBeforeDecodeView"}),": ",(0,i.jsx)(r.code,{children:"Uint8Array"})]}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Since"})})}),"\n",(0,i.jsx)(r.p,{children:"3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#valuebeforedecodeview",children:"valueBeforeDecodeView"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"valueblock",children:"valueBlock"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"valueBlock"}),": ",(0,i.jsx)(r.code,{children:"LocalPrimitiveValueBlock"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#valueblock",children:"valueBlock"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"warnings",children:"warnings"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"warnings"}),": ",(0,i.jsx)(r.code,{children:"string"}),"[]"]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#warnings",children:"warnings"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"name-1",children:"NAME"}),"\n",(0,i.jsxs)(r.p,{children:["\u25aa ",(0,i.jsx)(r.code,{children:"Static"})," ",(0,i.jsx)(r.strong,{children:"NAME"}),": ",(0,i.jsx)(r.code,{children:"string"})," = ",(0,i.jsx)(r.code,{children:'"PRIMITIVE"'})]}),"\n",(0,i.jsx)(r.h4,{id:"overrides-1",children:"Overrides"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#name-1",children:"NAME"})]}),"\n",(0,i.jsx)(r.h2,{id:"accessors",children:"Accessors"}),"\n",(0,i.jsx)(r.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.code,{children:"get"})," ",(0,i.jsx)(r.strong,{children:"valueBeforeDecode"}),"(): ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-1",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,i.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"BaseBlock.valueBeforeDecode"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.code,{children:"set"})," ",(0,i.jsx)(r.strong,{children:"valueBeforeDecode"}),"(",(0,i.jsx)(r.code,{children:"value"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"value"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"ArrayBuffer"})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-2",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,i.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"BaseBlock.valueBeforeDecode"}),"\n",(0,i.jsx)(r.h2,{id:"methods",children:"Methods"}),"\n",(0,i.jsx)(r.h3,{id:"fromber",children:"fromBER"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"fromBER"}),"(",(0,i.jsx)(r.code,{children:"inputBuffer"}),", ",(0,i.jsx)(r.code,{children:"inputOffset"}),", ",(0,i.jsx)(r.code,{children:"inputLength"}),"): ",(0,i.jsx)(r.code,{children:"number"})]}),"\n",(0,i.jsx)(r.p,{children:"Base function for converting block from BER encoded array of bytes"}),"\n",(0,i.jsx)(r.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,i.jsxs)(r.tbody,{children:[(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputBuffer"})}),(0,i.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,i.jsx)(r.code,{children:"Uint8Array"})," | ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:"ASN.1 BER encoded array"})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputOffset"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"number"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:"Offset in ASN.1 BER encoded array where decoding should be started"})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputLength"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"number"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:"Maximum length of array of bytes which can be using in this function"})]})]})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-3",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"number"})}),"\n",(0,i.jsx)(r.p,{children:"Offset after least decoded byte"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#fromber",children:"fromBER"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"isequal",children:"isEqual"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"isEqual"}),"(",(0,i.jsx)(r.code,{children:"other"}),"): other is Primitive"]}),"\n",(0,i.jsx)(r.p,{children:"Determines whether two object instances are equal"}),"\n",(0,i.jsx)(r.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"other"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"unknown"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:"Object to compare with the current object"})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-4",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:"other is Primitive"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#isequal",children:"isEqual"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"onasciiencoding",children:"onAsciiEncoding"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"onAsciiEncoding"}),"(): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-5",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#onasciiencoding",children:"onAsciiEncoding"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"tober",children:"toBER"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"toBER"}),"(",(0,i.jsx)(r.code,{children:"sizeOnly?"}),", ",(0,i.jsx)(r.code,{children:"writer?"}),"): ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,i.jsx)(r.p,{children:"Encoding of current ASN.1 block into ASN.1 encoded array (BER rules)"}),"\n",(0,i.jsx)(r.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,i.jsxs)(r.tbody,{children:[(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"sizeOnly?"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"boolean"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:"Flag that we need only a size of encoding, not a real array of bytes"})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"writer?"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.a,{href:"/docs/api/classes/ViewWriter",children:(0,i.jsx)(r.code,{children:"ViewWriter"})})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:"-"})]})]})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-6",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,i.jsx)(r.p,{children:"ASN.1 BER encoded array"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#tober",children:"toBER"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"tojson",children:"toJSON"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"toJSON"}),"(): ",(0,i.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,i.jsx)(r.code,{children:"BaseBlockJson"})}),"<",(0,i.jsx)(r.code,{children:"LocalPrimitiveValueBlockJson"}),">"]}),"\n",(0,i.jsx)(r.h4,{id:"returns-7",children:"Returns"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,i.jsx)(r.code,{children:"BaseBlockJson"})}),"<",(0,i.jsx)(r.code,{children:"LocalPrimitiveValueBlockJson"}),">"]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#tojson",children:"toJSON"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"tostring",children:"toString"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"toString"}),"(",(0,i.jsx)(r.code,{children:"encoding?"}),"): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Default value"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"encoding"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.a,{href:"../#stringencoding",children:(0,i.jsx)(r.code,{children:"StringEncoding"})})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:'"ascii"'})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-8",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-17",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#tostring",children:"toString"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"blockname",children:"blockName"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"blockName"}),"(): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.p,{children:"Aux function, need to get a block name. Need to have it here for inheritance"}),"\n",(0,i.jsx)(r.h4,{id:"returns-9",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.p,{children:"Returns name of the block"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-18",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#blockname",children:"blockName"})]})]})}function a(e={}){const{wrapper:r}={...(0,l.a)(),...e.components};return r?(0,i.jsx)(r,{...e,children:(0,i.jsx)(o,{...e})}):o(e)}},1151:(e,r,s)=>{s.d(r,{Z:()=>c,a:()=>d});var i=s(7294);const l={},n=i.createContext(l);function d(e){const r=i.useContext(n);return i.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function c(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(l):e.components||l:d(e.components),i.createElement(n.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/b1119fb3.93af97a8.js b/assets/js/b1119fb3.93af97a8.js new file mode 100644 index 0000000..0f63bdd --- /dev/null +++ b/assets/js/b1119fb3.93af97a8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[3963],{2431:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>c,contentTitle:()=>d,default:()=>a,frontMatter:()=>l,metadata:()=>t,toc:()=>h});var i=n(5893),s=n(1151);const l={id:"TimeOfDay",title:"Class: TimeOfDay",sidebar_label:"TimeOfDay",sidebar_position:0,custom_edit_url:null},d=void 0,t={id:"api/classes/TimeOfDay",title:"Class: TimeOfDay",description:"Hierarchy",source:"@site/docs/api/classes/TimeOfDay.md",sourceDirName:"api/classes",slug:"/api/classes/TimeOfDay",permalink:"/docs/api/classes/TimeOfDay",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TimeOfDay",title:"Class: TimeOfDay",sidebar_label:"TimeOfDay",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"TeletexString",permalink:"/docs/api/classes/TeletexString"},next:{title:"UTCTime",permalink:"/docs/api/classes/UTCTime"}},c={},h=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Overrides",id:"overrides",level:4},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"valueBeforeDecodeView",id:"valuebeforedecodeview",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"valueBlock",id:"valueblock",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"NAME",id:"name-1",level:3},{value:"Overrides",id:"overrides-1",level:4},{value:"Accessors",id:"accessors",level:2},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Returns",id:"returns-1",level:4},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Methods",id:"methods",level:2},{value:"fromBER",id:"fromber",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"fromBuffer",id:"frombuffer",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-4",level:4},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"fromString",id:"fromstring",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-5",level:4},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"getValue",id:"getvalue",level:3},{value:"Returns",id:"returns-6",level:4},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"isEqual",id:"isequal",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-7",level:4},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"onAsciiEncoding",id:"onasciiencoding",level:3},{value:"Returns",id:"returns-8",level:4},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"setValue",id:"setvalue",level:3},{value:"Parameters",id:"parameters-6",level:4},{value:"Returns",id:"returns-9",level:4},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"toBER",id:"tober",level:3},{value:"Parameters",id:"parameters-7",level:4},{value:"Returns",id:"returns-10",level:4},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"toJSON",id:"tojson",level:3},{value:"Returns",id:"returns-11",level:4},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"toString",id:"tostring",level:3},{value:"Parameters",id:"parameters-8",level:4},{value:"Returns",id:"returns-12",level:4},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"blockName",id:"blockname",level:3},{value:"Returns",id:"returns-13",level:4},{value:"Inherited from",id:"inherited-from-22",level:4}];function o(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,s.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,i.jsxs)(r.ul,{children:["\n",(0,i.jsxs)(r.li,{children:["\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:(0,i.jsx)(r.code,{children:"Utf8String"})})}),"\n",(0,i.jsxs)(r.p,{children:["\u21b3 ",(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"TimeOfDay"})})]}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(r.h2,{id:"constructors",children:"Constructors"}),"\n",(0,i.jsx)(r.h3,{id:"constructor",children:"constructor"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"new TimeOfDay"}),"(",(0,i.jsx)(r.code,{children:"parameters?"}),"): ",(0,i.jsx)(r.a,{href:"/docs/api/classes/TimeOfDay",children:(0,i.jsx)(r.code,{children:"TimeOfDay"})})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"parameters"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.a,{href:"/docs/api/interfaces/Utf8StringParams",children:(0,i.jsx)(r.code,{children:"Utf8StringParams"})})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.a,{href:"/docs/api/classes/TimeOfDay",children:(0,i.jsx)(r.code,{children:"TimeOfDay"})})}),"\n",(0,i.jsx)(r.h4,{id:"overrides",children:"Overrides"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#constructor",children:"constructor"})]}),"\n",(0,i.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,i.jsx)(r.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"blockLength"}),": ",(0,i.jsx)(r.code,{children:"number"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#blocklength",children:"blockLength"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"error",children:"error"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"error"}),": ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#error",children:"error"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"idblock",children:"idBlock"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"idBlock"}),": ",(0,i.jsx)(r.code,{children:"LocalIdentificationBlock"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#idblock",children:"idBlock"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"lenBlock"}),": ",(0,i.jsx)(r.code,{children:"LocalLengthBlock"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#lenblock",children:"lenBlock"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"name",children:"name"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"name"}),": ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#name",children:"name"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"optional",children:"optional"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"optional"}),": ",(0,i.jsx)(r.code,{children:"boolean"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#optional",children:"optional"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.code,{children:"Optional"})," ",(0,i.jsx)(r.strong,{children:"primitiveSchema"}),": ",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:(0,i.jsx)(r.code,{children:"BaseBlock"})}),"<",(0,i.jsx)(r.a,{href:"/docs/api/classes/ValueBlock",children:(0,i.jsx)(r.code,{children:"ValueBlock"})}),", ",(0,i.jsx)(r.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#primitiveschema",children:"primitiveSchema"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"valuebeforedecodeview",children:"valueBeforeDecodeView"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"valueBeforeDecodeView"}),": ",(0,i.jsx)(r.code,{children:"Uint8Array"})]}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Since"})})}),"\n",(0,i.jsx)(r.p,{children:"3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#valuebeforedecodeview",children:"valueBeforeDecodeView"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"valueblock",children:"valueBlock"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"valueBlock"}),": ",(0,i.jsx)(r.code,{children:"LocalSimpleStringValueBlock"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#valueblock",children:"valueBlock"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"warnings",children:"warnings"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"warnings"}),": ",(0,i.jsx)(r.code,{children:"string"}),"[]"]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#warnings",children:"warnings"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"name-1",children:"NAME"}),"\n",(0,i.jsxs)(r.p,{children:["\u25aa ",(0,i.jsx)(r.code,{children:"Static"})," ",(0,i.jsx)(r.strong,{children:"NAME"}),": ",(0,i.jsx)(r.code,{children:"string"})," = ",(0,i.jsx)(r.code,{children:'"TimeOfDay"'})]}),"\n",(0,i.jsx)(r.h4,{id:"overrides-1",children:"Overrides"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#name-1",children:"NAME"})]}),"\n",(0,i.jsx)(r.h2,{id:"accessors",children:"Accessors"}),"\n",(0,i.jsx)(r.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.code,{children:"get"})," ",(0,i.jsx)(r.strong,{children:"valueBeforeDecode"}),"(): ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-1",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,i.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"Utf8String.valueBeforeDecode"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.code,{children:"set"})," ",(0,i.jsx)(r.strong,{children:"valueBeforeDecode"}),"(",(0,i.jsx)(r.code,{children:"value"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"value"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"ArrayBuffer"})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-2",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,i.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"Utf8String.valueBeforeDecode"}),"\n",(0,i.jsx)(r.h2,{id:"methods",children:"Methods"}),"\n",(0,i.jsx)(r.h3,{id:"fromber",children:"fromBER"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"fromBER"}),"(",(0,i.jsx)(r.code,{children:"inputBuffer"}),", ",(0,i.jsx)(r.code,{children:"inputOffset"}),", ",(0,i.jsx)(r.code,{children:"inputLength"}),"): ",(0,i.jsx)(r.code,{children:"number"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsxs)(r.tbody,{children:[(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputBuffer"})}),(0,i.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,i.jsx)(r.code,{children:"Uint8Array"})," | ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputOffset"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"number"})})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputLength"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"number"})})]})]})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-3",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"number"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#fromber",children:"fromBER"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"frombuffer",children:"fromBuffer"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"fromBuffer"}),"(",(0,i.jsx)(r.code,{children:"inputBuffer"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputBuffer"})}),(0,i.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,i.jsx)(r.code,{children:"Uint8Array"})," | ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-4",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#frombuffer",children:"fromBuffer"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"fromstring",children:"fromString"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"fromString"}),"(",(0,i.jsx)(r.code,{children:"inputString"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputString"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"string"})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-5",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#fromstring",children:"fromString"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"getvalue",children:"getValue"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"getValue"}),"(): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.p,{children:"String value"}),"\n",(0,i.jsx)(r.h4,{id:"returns-6",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Since"})})}),"\n",(0,i.jsx)(r.p,{children:"3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#getvalue",children:"getValue"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"isequal",children:"isEqual"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"isEqual"}),"(",(0,i.jsx)(r.code,{children:"other"}),"): other is TimeOfDay"]}),"\n",(0,i.jsx)(r.p,{children:"Determines whether two object instances are equal"}),"\n",(0,i.jsx)(r.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"other"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"unknown"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:"Object to compare with the current object"})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-7",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:"other is TimeOfDay"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#isequal",children:"isEqual"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"onasciiencoding",children:"onAsciiEncoding"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"onAsciiEncoding"}),"(): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-8",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-17",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#onasciiencoding",children:"onAsciiEncoding"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"setvalue",children:"setValue"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"setValue"}),"(",(0,i.jsx)(r.code,{children:"value"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.p,{children:"String value"}),"\n",(0,i.jsx)(r.h4,{id:"parameters-6",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"value"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"string"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:"String value"})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-9",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Since"})})}),"\n",(0,i.jsx)(r.p,{children:"3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-18",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#setvalue",children:"setValue"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"tober",children:"toBER"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"toBER"}),"(",(0,i.jsx)(r.code,{children:"sizeOnly?"}),", ",(0,i.jsx)(r.code,{children:"writer?"}),"): ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-7",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsxs)(r.tbody,{children:[(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"sizeOnly?"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"boolean"})})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"writer?"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.a,{href:"/docs/api/classes/ViewWriter",children:(0,i.jsx)(r.code,{children:"ViewWriter"})})})]})]})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-10",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-19",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#tober",children:"toBER"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"tojson",children:"toJSON"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"toJSON"}),"(): ",(0,i.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,i.jsx)(r.code,{children:"BaseBlockJson"})}),"<",(0,i.jsx)(r.code,{children:"LocalStringValueBlockJson"}),">"]}),"\n",(0,i.jsx)(r.h4,{id:"returns-11",children:"Returns"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,i.jsx)(r.code,{children:"BaseBlockJson"})}),"<",(0,i.jsx)(r.code,{children:"LocalStringValueBlockJson"}),">"]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-20",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#tojson",children:"toJSON"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"tostring",children:"toString"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"toString"}),"(",(0,i.jsx)(r.code,{children:"encoding?"}),"): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-8",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Default value"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"encoding"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.a,{href:"../#stringencoding",children:(0,i.jsx)(r.code,{children:"StringEncoding"})})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:'"ascii"'})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-12",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-21",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#tostring",children:"toString"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"blockname",children:"blockName"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"blockName"}),"(): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.p,{children:"Aux function, need to get a block name. Need to have it here for inheritance"}),"\n",(0,i.jsx)(r.h4,{id:"returns-13",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.p,{children:"Returns name of the block"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-22",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#blockname",children:"blockName"})]})]})}function a(e={}){const{wrapper:r}={...(0,s.a)(),...e.components};return r?(0,i.jsx)(r,{...e,children:(0,i.jsx)(o,{...e})}):o(e)}},1151:(e,r,n)=>{n.d(r,{Z:()=>t,a:()=>d});var i=n(7294);const s={},l=i.createContext(s);function d(e){const r=i.useContext(l);return i.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function t(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:d(e.components),i.createElement(l.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/b11e0698.19fa86df.js b/assets/js/b11e0698.19fa86df.js new file mode 100644 index 0000000..fed24b5 --- /dev/null +++ b/assets/js/b11e0698.19fa86df.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8967],{2403:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>c,contentTitle:()=>s,default:()=>x,frontMatter:()=>d,metadata:()=>t,toc:()=>h});var l=n(5893),i=n(1151);const d={id:"TeletexString",title:"Class: TeletexString",sidebar_label:"TeletexString",sidebar_position:0,custom_edit_url:null},s=void 0,t={id:"api/classes/TeletexString",title:"Class: TeletexString",description:"Hierarchy",source:"@site/docs/api/classes/TeletexString.md",sourceDirName:"api/classes",slug:"/api/classes/TeletexString",permalink:"/docs/api/classes/TeletexString",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TeletexString",title:"Class: TeletexString",sidebar_label:"TeletexString",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"TIME",permalink:"/docs/api/classes/TIME"},next:{title:"TimeOfDay",permalink:"/docs/api/classes/TimeOfDay"}},c={},h=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Overrides",id:"overrides",level:4},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"valueBeforeDecodeView",id:"valuebeforedecodeview",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"valueBlock",id:"valueblock",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"NAME",id:"name-1",level:3},{value:"Overrides",id:"overrides-1",level:4},{value:"Accessors",id:"accessors",level:2},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Returns",id:"returns-1",level:4},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Methods",id:"methods",level:2},{value:"fromBER",id:"fromber",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"fromBuffer",id:"frombuffer",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-4",level:4},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"fromString",id:"fromstring",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-5",level:4},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"getValue",id:"getvalue",level:3},{value:"Returns",id:"returns-6",level:4},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"isEqual",id:"isequal",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-7",level:4},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"onAsciiEncoding",id:"onasciiencoding",level:3},{value:"Returns",id:"returns-8",level:4},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"setValue",id:"setvalue",level:3},{value:"Parameters",id:"parameters-6",level:4},{value:"Returns",id:"returns-9",level:4},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"toBER",id:"tober",level:3},{value:"Parameters",id:"parameters-7",level:4},{value:"Returns",id:"returns-10",level:4},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"toJSON",id:"tojson",level:3},{value:"Returns",id:"returns-11",level:4},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"toString",id:"tostring",level:3},{value:"Parameters",id:"parameters-8",level:4},{value:"Returns",id:"returns-12",level:4},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"blockName",id:"blockname",level:3},{value:"Returns",id:"returns-13",level:4},{value:"Inherited from",id:"inherited-from-22",level:4}];function o(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.a)(),...e.components};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,l.jsxs)(r.ul,{children:["\n",(0,l.jsxs)(r.li,{children:["\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"LocalSimpleStringBlock"})}),"\n",(0,l.jsxs)(r.p,{children:["\u21b3 ",(0,l.jsx)(r.strong,{children:(0,l.jsx)(r.code,{children:"TeletexString"})})]}),"\n"]}),"\n"]}),"\n",(0,l.jsx)(r.h2,{id:"constructors",children:"Constructors"}),"\n",(0,l.jsx)(r.h3,{id:"constructor",children:"constructor"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"new TeletexString"}),"(",(0,l.jsx)(r.code,{children:"parameters?"}),"): ",(0,l.jsx)(r.a,{href:"/docs/api/classes/TeletexString",children:(0,l.jsx)(r.code,{children:"TeletexString"})})]}),"\n",(0,l.jsx)(r.h4,{id:"parameters",children:"Parameters"}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,l.jsx)(r.tbody,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"parameters"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"LocalSimpleStringBlockParams"})})]})})]}),"\n",(0,l.jsx)(r.h4,{id:"returns",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.a,{href:"/docs/api/classes/TeletexString",children:(0,l.jsx)(r.code,{children:"TeletexString"})})}),"\n",(0,l.jsx)(r.h4,{id:"overrides",children:"Overrides"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.constructor"}),"\n",(0,l.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,l.jsx)(r.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"blockLength"}),": ",(0,l.jsx)(r.code,{children:"number"})]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.blockLength"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"error",children:"error"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"error"}),": ",(0,l.jsx)(r.code,{children:"string"})]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.error"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"idblock",children:"idBlock"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"idBlock"}),": ",(0,l.jsx)(r.code,{children:"LocalIdentificationBlock"})]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.idBlock"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"lenBlock"}),": ",(0,l.jsx)(r.code,{children:"LocalLengthBlock"})]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.lenBlock"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"name",children:"name"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"name"}),": ",(0,l.jsx)(r.code,{children:"string"})]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.name"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"optional",children:"optional"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"optional"}),": ",(0,l.jsx)(r.code,{children:"boolean"})]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.optional"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.code,{children:"Optional"})," ",(0,l.jsx)(r.strong,{children:"primitiveSchema"}),": ",(0,l.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:(0,l.jsx)(r.code,{children:"BaseBlock"})}),"<",(0,l.jsx)(r.a,{href:"/docs/api/classes/ValueBlock",children:(0,l.jsx)(r.code,{children:"ValueBlock"})}),", ",(0,l.jsx)(r.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.primitiveSchema"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"valuebeforedecodeview",children:"valueBeforeDecodeView"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"valueBeforeDecodeView"}),": ",(0,l.jsx)(r.code,{children:"Uint8Array"})]}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.strong,{children:(0,l.jsx)(r.code,{children:"Since"})})}),"\n",(0,l.jsx)(r.p,{children:"3.0.0"}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.valueBeforeDecodeView"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"valueblock",children:"valueBlock"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"valueBlock"}),": ",(0,l.jsx)(r.code,{children:"LocalSimpleStringValueBlock"})]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.valueBlock"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"warnings",children:"warnings"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"warnings"}),": ",(0,l.jsx)(r.code,{children:"string"}),"[]"]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.warnings"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"name-1",children:"NAME"}),"\n",(0,l.jsxs)(r.p,{children:["\u25aa ",(0,l.jsx)(r.code,{children:"Static"})," ",(0,l.jsx)(r.strong,{children:"NAME"}),": ",(0,l.jsx)(r.code,{children:"string"})," = ",(0,l.jsx)(r.code,{children:'"TeletexString"'})]}),"\n",(0,l.jsx)(r.h4,{id:"overrides-1",children:"Overrides"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.NAME"}),"\n",(0,l.jsx)(r.h2,{id:"accessors",children:"Accessors"}),"\n",(0,l.jsx)(r.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.code,{children:"get"})," ",(0,l.jsx)(r.strong,{children:"valueBeforeDecode"}),"(): ",(0,l.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-1",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.strong,{children:(0,l.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,l.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.valueBeforeDecode"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.code,{children:"set"})," ",(0,l.jsx)(r.strong,{children:"valueBeforeDecode"}),"(",(0,l.jsx)(r.code,{children:"value"}),"): ",(0,l.jsx)(r.code,{children:"void"})]}),"\n",(0,l.jsx)(r.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,l.jsx)(r.tbody,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"value"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"ArrayBuffer"})})]})})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-2",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"void"})}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.strong,{children:(0,l.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,l.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.valueBeforeDecode"}),"\n",(0,l.jsx)(r.h2,{id:"methods",children:"Methods"}),"\n",(0,l.jsx)(r.h3,{id:"fromber",children:"fromBER"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"fromBER"}),"(",(0,l.jsx)(r.code,{children:"inputBuffer"}),", ",(0,l.jsx)(r.code,{children:"inputOffset"}),", ",(0,l.jsx)(r.code,{children:"inputLength"}),"): ",(0,l.jsx)(r.code,{children:"number"})]}),"\n",(0,l.jsx)(r.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,l.jsxs)(r.tbody,{children:[(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"inputBuffer"})}),(0,l.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,l.jsx)(r.code,{children:"Uint8Array"})," | ",(0,l.jsx)(r.code,{children:"ArrayBuffer"})]})]}),(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"inputOffset"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"number"})})]}),(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"inputLength"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"number"})})]})]})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-3",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"number"})}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.fromBER"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"frombuffer",children:"fromBuffer"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"fromBuffer"}),"(",(0,l.jsx)(r.code,{children:"inputBuffer"}),"): ",(0,l.jsx)(r.code,{children:"void"})]}),"\n",(0,l.jsx)(r.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,l.jsx)(r.tbody,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"inputBuffer"})}),(0,l.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,l.jsx)(r.code,{children:"Uint8Array"})," | ",(0,l.jsx)(r.code,{children:"ArrayBuffer"})]})]})})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-4",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"void"})}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.fromBuffer"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"fromstring",children:"fromString"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"fromString"}),"(",(0,l.jsx)(r.code,{children:"inputString"}),"): ",(0,l.jsx)(r.code,{children:"void"})]}),"\n",(0,l.jsx)(r.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,l.jsx)(r.tbody,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"inputString"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"string"})})]})})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-5",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"void"})}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.fromString"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"getvalue",children:"getValue"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"getValue"}),"(): ",(0,l.jsx)(r.code,{children:"string"})]}),"\n",(0,l.jsx)(r.p,{children:"String value"}),"\n",(0,l.jsx)(r.h4,{id:"returns-6",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"string"})}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.strong,{children:(0,l.jsx)(r.code,{children:"Since"})})}),"\n",(0,l.jsx)(r.p,{children:"3.0.0"}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.getValue"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"isequal",children:"isEqual"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"isEqual"}),"(",(0,l.jsx)(r.code,{children:"other"}),"): other is TeletexString"]}),"\n",(0,l.jsx)(r.p,{children:"Determines whether two object instances are equal"}),"\n",(0,l.jsx)(r.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,l.jsx)(r.tbody,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"other"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"unknown"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:"Object to compare with the current object"})]})})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-7",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:"other is TeletexString"}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.isEqual"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"onasciiencoding",children:"onAsciiEncoding"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"onAsciiEncoding"}),"(): ",(0,l.jsx)(r.code,{children:"string"})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-8",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"string"})}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-17",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.onAsciiEncoding"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"setvalue",children:"setValue"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"setValue"}),"(",(0,l.jsx)(r.code,{children:"value"}),"): ",(0,l.jsx)(r.code,{children:"void"})]}),"\n",(0,l.jsx)(r.p,{children:"String value"}),"\n",(0,l.jsx)(r.h4,{id:"parameters-6",children:"Parameters"}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,l.jsx)(r.tbody,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"value"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"string"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:"String value"})]})})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-9",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"void"})}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.strong,{children:(0,l.jsx)(r.code,{children:"Since"})})}),"\n",(0,l.jsx)(r.p,{children:"3.0.0"}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-18",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.setValue"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"tober",children:"toBER"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"toBER"}),"(",(0,l.jsx)(r.code,{children:"sizeOnly?"}),", ",(0,l.jsx)(r.code,{children:"writer?"}),"): ",(0,l.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,l.jsx)(r.h4,{id:"parameters-7",children:"Parameters"}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,l.jsxs)(r.tbody,{children:[(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"sizeOnly?"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"boolean"})})]}),(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"writer?"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.a,{href:"/docs/api/classes/ViewWriter",children:(0,l.jsx)(r.code,{children:"ViewWriter"})})})]})]})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-10",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-19",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.toBER"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"tojson",children:"toJSON"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"toJSON"}),"(): ",(0,l.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,l.jsx)(r.code,{children:"BaseBlockJson"})}),"<",(0,l.jsx)(r.code,{children:"LocalStringValueBlockJson"}),">"]}),"\n",(0,l.jsx)(r.h4,{id:"returns-11",children:"Returns"}),"\n",(0,l.jsxs)(r.p,{children:[(0,l.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,l.jsx)(r.code,{children:"BaseBlockJson"})}),"<",(0,l.jsx)(r.code,{children:"LocalStringValueBlockJson"}),">"]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-20",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.toJSON"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"tostring",children:"toString"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"toString"}),"(",(0,l.jsx)(r.code,{children:"encoding?"}),"): ",(0,l.jsx)(r.code,{children:"string"})]}),"\n",(0,l.jsx)(r.h4,{id:"parameters-8",children:"Parameters"}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Default value"})]})}),(0,l.jsx)(r.tbody,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"encoding"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.a,{href:"../#stringencoding",children:(0,l.jsx)(r.code,{children:"StringEncoding"})})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:'"ascii"'})})]})})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-12",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"string"})}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-21",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.toString"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"blockname",children:"blockName"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"blockName"}),"(): ",(0,l.jsx)(r.code,{children:"string"})]}),"\n",(0,l.jsx)(r.p,{children:"Aux function, need to get a block name. Need to have it here for inheritance"}),"\n",(0,l.jsx)(r.h4,{id:"returns-13",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"string"})}),"\n",(0,l.jsx)(r.p,{children:"Returns name of the block"}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-22",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.blockName"})]})}function x(e={}){const{wrapper:r}={...(0,i.a)(),...e.components};return r?(0,l.jsx)(r,{...e,children:(0,l.jsx)(o,{...e})}):o(e)}},1151:(e,r,n)=>{n.d(r,{Z:()=>t,a:()=>s});var l=n(7294);const i={},d=l.createContext(i);function s(e){const r=l.useContext(d);return l.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function t(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:s(e.components),l.createElement(d.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/b2471d4f.c3f4c4d3.js b/assets/js/b2471d4f.c3f4c4d3.js new file mode 100644 index 0000000..2d0fc81 --- /dev/null +++ b/assets/js/b2471d4f.c3f4c4d3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[682],{8247:(e,r,i)=>{i.r(r),i.d(r,{assets:()=>d,contentTitle:()=>c,default:()=>t,frontMatter:()=>l,metadata:()=>a,toc:()=>o});var n=i(5893),s=i(1151);const l={id:"BaseBlockParams",title:"Interface: BaseBlockParams",sidebar_label:"BaseBlockParams",sidebar_position:0,custom_edit_url:null},c=void 0,a={id:"api/interfaces/BaseBlockParams",title:"Interface: BaseBlockParams",description:"Hierarchy",source:"@site/docs/api/interfaces/BaseBlockParams.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/BaseBlockParams",permalink:"/docs/api/interfaces/BaseBlockParams",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"BaseBlockParams",title:"Interface: BaseBlockParams",sidebar_label:"BaseBlockParams",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"BaseBlockJson",permalink:"/docs/api/interfaces/BaseBlockJson"},next:{title:"BaseStringBlockParams",permalink:"/docs/api/interfaces/BaseStringBlockParams"}},d={},o=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-8",level:4}];function h(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,s.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,n.jsxs)(r.ul,{children:["\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"LocalBaseBlockParams"})}),"\n"]}),"\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"LocalIdentificationBlockParams"})}),"\n"]}),"\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"LocalLengthBlockParams"})}),"\n"]}),"\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.code,{children:"Partial"}),"<",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/IBaseBlock",children:(0,n.jsx)(r.code,{children:"IBaseBlock"})}),">"]}),"\n",(0,n.jsxs)(r.p,{children:["\u21b3 ",(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"BaseBlockParams"})})]}),"\n",(0,n.jsxs)(r.p,{children:["\u21b3\u21b3 ",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseStringBlockParams",children:(0,n.jsx)(r.code,{children:"BaseStringBlockParams"})})]}),"\n",(0,n.jsxs)(r.p,{children:["\u21b3\u21b3 ",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/PrimitiveParams",children:(0,n.jsx)(r.code,{children:"PrimitiveParams"})})]}),"\n",(0,n.jsxs)(r.p,{children:["\u21b3\u21b3 ",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/ConstructedParams",children:(0,n.jsx)(r.code,{children:"ConstructedParams"})})]}),"\n",(0,n.jsxs)(r.p,{children:["\u21b3\u21b3 ",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BooleanParams",children:(0,n.jsx)(r.code,{children:"BooleanParams"})})]}),"\n",(0,n.jsxs)(r.p,{children:["\u21b3\u21b3 ",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/OctetStringParams",children:(0,n.jsx)(r.code,{children:"OctetStringParams"})})]}),"\n",(0,n.jsxs)(r.p,{children:["\u21b3\u21b3 ",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BitStringParams",children:(0,n.jsx)(r.code,{children:"BitStringParams"})})]}),"\n",(0,n.jsxs)(r.p,{children:["\u21b3\u21b3 ",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/IntegerParams",children:(0,n.jsx)(r.code,{children:"IntegerParams"})})]}),"\n",(0,n.jsxs)(r.p,{children:["\u21b3\u21b3 ",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/ObjectIdentifierParams",children:(0,n.jsx)(r.code,{children:"ObjectIdentifierParams"})})]}),"\n",(0,n.jsxs)(r.p,{children:["\u21b3\u21b3 ",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/RelativeObjectIdentifierParams",children:(0,n.jsx)(r.code,{children:"RelativeObjectIdentifierParams"})})]}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,n.jsx)(r.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"blockLength"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"LocalBaseBlockParams.blockLength"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"error",children:"error"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"error"}),": ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"LocalBaseBlockParams.error"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"idblock",children:"idBlock"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"idBlock"}),": ",(0,n.jsx)(r.code,{children:"Partial"}),"<",(0,n.jsx)(r.code,{children:"ILocalIdentificationBlock"}),"> & ",(0,n.jsx)(r.code,{children:"Partial"}),"<",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/IHexBlock",children:(0,n.jsx)(r.code,{children:"IHexBlock"})}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"LocalIdentificationBlockParams.idBlock"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"lenBlock"}),": ",(0,n.jsx)(r.code,{children:"Partial"}),"<",(0,n.jsx)(r.code,{children:"ILocalLengthBlock"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"LocalLengthBlockParams.lenBlock"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"name",children:"name"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"name"}),": ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"Partial.name"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"optional",children:"optional"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"optional"}),": ",(0,n.jsx)(r.code,{children:"boolean"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"Partial.optional"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"primitiveSchema"}),": ",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:(0,n.jsx)(r.code,{children:"BaseBlock"})}),"<",(0,n.jsx)(r.a,{href:"/docs/api/classes/ValueBlock",children:(0,n.jsx)(r.code,{children:"ValueBlock"})}),", ",(0,n.jsx)(r.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"Partial.primitiveSchema"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"valueBeforeDecode"}),": ",(0,n.jsx)(r.code,{children:"BufferSource"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"LocalBaseBlockParams.valueBeforeDecode"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"warnings",children:"warnings"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"warnings"}),": ",(0,n.jsx)(r.code,{children:"string"}),"[]"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"LocalBaseBlockParams.warnings"})]})}function t(e={}){const{wrapper:r}={...(0,s.a)(),...e.components};return r?(0,n.jsx)(r,{...e,children:(0,n.jsx)(h,{...e})}):h(e)}},1151:(e,r,i)=>{i.d(r,{Z:()=>a,a:()=>c});var n=i(7294);const s={},l=n.createContext(s);function c(e){const r=n.useContext(l);return n.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function a(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:c(e.components),n.createElement(l.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/b31edc1e.8151967b.js b/assets/js/b31edc1e.8151967b.js new file mode 100644 index 0000000..13a755e --- /dev/null +++ b/assets/js/b31edc1e.8151967b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2526],{6029:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>c,contentTitle:()=>s,default:()=>x,frontMatter:()=>d,metadata:()=>t,toc:()=>h});var i=n(5893),l=n(1151);const d={id:"IA5String",title:"Class: IA5String",sidebar_label:"IA5String",sidebar_position:0,custom_edit_url:null},s=void 0,t={id:"api/classes/IA5String",title:"Class: IA5String",description:"Hierarchy",source:"@site/docs/api/classes/IA5String.md",sourceDirName:"api/classes",slug:"/api/classes/IA5String",permalink:"/docs/api/classes/IA5String",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"IA5String",title:"Class: IA5String",sidebar_label:"IA5String",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"GraphicString",permalink:"/docs/api/classes/GraphicString"},next:{title:"Integer",permalink:"/docs/api/classes/Integer"}},c={},h=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Overrides",id:"overrides",level:4},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"valueBeforeDecodeView",id:"valuebeforedecodeview",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"valueBlock",id:"valueblock",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"NAME",id:"name-1",level:3},{value:"Overrides",id:"overrides-1",level:4},{value:"Accessors",id:"accessors",level:2},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Returns",id:"returns-1",level:4},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Methods",id:"methods",level:2},{value:"fromBER",id:"fromber",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"fromBuffer",id:"frombuffer",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-4",level:4},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"fromString",id:"fromstring",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-5",level:4},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"getValue",id:"getvalue",level:3},{value:"Returns",id:"returns-6",level:4},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"isEqual",id:"isequal",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-7",level:4},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"onAsciiEncoding",id:"onasciiencoding",level:3},{value:"Returns",id:"returns-8",level:4},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"setValue",id:"setvalue",level:3},{value:"Parameters",id:"parameters-6",level:4},{value:"Returns",id:"returns-9",level:4},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"toBER",id:"tober",level:3},{value:"Parameters",id:"parameters-7",level:4},{value:"Returns",id:"returns-10",level:4},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"toJSON",id:"tojson",level:3},{value:"Returns",id:"returns-11",level:4},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"toString",id:"tostring",level:3},{value:"Parameters",id:"parameters-8",level:4},{value:"Returns",id:"returns-12",level:4},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"blockName",id:"blockname",level:3},{value:"Returns",id:"returns-13",level:4},{value:"Inherited from",id:"inherited-from-22",level:4}];function o(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,l.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,i.jsxs)(r.ul,{children:["\n",(0,i.jsxs)(r.li,{children:["\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"LocalSimpleStringBlock"})}),"\n",(0,i.jsxs)(r.p,{children:["\u21b3 ",(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"IA5String"})})]}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(r.h2,{id:"constructors",children:"Constructors"}),"\n",(0,i.jsx)(r.h3,{id:"constructor",children:"constructor"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"new IA5String"}),"(",(0,i.jsx)(r.code,{children:"parameters?"}),"): ",(0,i.jsx)(r.a,{href:"/docs/api/classes/IA5String",children:(0,i.jsx)(r.code,{children:"IA5String"})})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"parameters"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"LocalSimpleStringBlockParams"})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.a,{href:"/docs/api/classes/IA5String",children:(0,i.jsx)(r.code,{children:"IA5String"})})}),"\n",(0,i.jsx)(r.h4,{id:"overrides",children:"Overrides"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.constructor"}),"\n",(0,i.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,i.jsx)(r.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"blockLength"}),": ",(0,i.jsx)(r.code,{children:"number"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.blockLength"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"error",children:"error"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"error"}),": ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.error"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"idblock",children:"idBlock"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"idBlock"}),": ",(0,i.jsx)(r.code,{children:"LocalIdentificationBlock"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.idBlock"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"lenBlock"}),": ",(0,i.jsx)(r.code,{children:"LocalLengthBlock"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.lenBlock"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"name",children:"name"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"name"}),": ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.name"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"optional",children:"optional"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"optional"}),": ",(0,i.jsx)(r.code,{children:"boolean"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.optional"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.code,{children:"Optional"})," ",(0,i.jsx)(r.strong,{children:"primitiveSchema"}),": ",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:(0,i.jsx)(r.code,{children:"BaseBlock"})}),"<",(0,i.jsx)(r.a,{href:"/docs/api/classes/ValueBlock",children:(0,i.jsx)(r.code,{children:"ValueBlock"})}),", ",(0,i.jsx)(r.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.primitiveSchema"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"valuebeforedecodeview",children:"valueBeforeDecodeView"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"valueBeforeDecodeView"}),": ",(0,i.jsx)(r.code,{children:"Uint8Array"})]}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Since"})})}),"\n",(0,i.jsx)(r.p,{children:"3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.valueBeforeDecodeView"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"valueblock",children:"valueBlock"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"valueBlock"}),": ",(0,i.jsx)(r.code,{children:"LocalSimpleStringValueBlock"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.valueBlock"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"warnings",children:"warnings"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"warnings"}),": ",(0,i.jsx)(r.code,{children:"string"}),"[]"]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.warnings"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"name-1",children:"NAME"}),"\n",(0,i.jsxs)(r.p,{children:["\u25aa ",(0,i.jsx)(r.code,{children:"Static"})," ",(0,i.jsx)(r.strong,{children:"NAME"}),": ",(0,i.jsx)(r.code,{children:"string"})," = ",(0,i.jsx)(r.code,{children:'"IA5String"'})]}),"\n",(0,i.jsx)(r.h4,{id:"overrides-1",children:"Overrides"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.NAME"}),"\n",(0,i.jsx)(r.h2,{id:"accessors",children:"Accessors"}),"\n",(0,i.jsx)(r.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.code,{children:"get"})," ",(0,i.jsx)(r.strong,{children:"valueBeforeDecode"}),"(): ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-1",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,i.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.valueBeforeDecode"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.code,{children:"set"})," ",(0,i.jsx)(r.strong,{children:"valueBeforeDecode"}),"(",(0,i.jsx)(r.code,{children:"value"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"value"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"ArrayBuffer"})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-2",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,i.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.valueBeforeDecode"}),"\n",(0,i.jsx)(r.h2,{id:"methods",children:"Methods"}),"\n",(0,i.jsx)(r.h3,{id:"fromber",children:"fromBER"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"fromBER"}),"(",(0,i.jsx)(r.code,{children:"inputBuffer"}),", ",(0,i.jsx)(r.code,{children:"inputOffset"}),", ",(0,i.jsx)(r.code,{children:"inputLength"}),"): ",(0,i.jsx)(r.code,{children:"number"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsxs)(r.tbody,{children:[(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputBuffer"})}),(0,i.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,i.jsx)(r.code,{children:"Uint8Array"})," | ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputOffset"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"number"})})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputLength"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"number"})})]})]})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-3",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"number"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.fromBER"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"frombuffer",children:"fromBuffer"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"fromBuffer"}),"(",(0,i.jsx)(r.code,{children:"inputBuffer"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputBuffer"})}),(0,i.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,i.jsx)(r.code,{children:"Uint8Array"})," | ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-4",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.fromBuffer"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"fromstring",children:"fromString"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"fromString"}),"(",(0,i.jsx)(r.code,{children:"inputString"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputString"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"string"})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-5",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.fromString"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"getvalue",children:"getValue"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"getValue"}),"(): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.p,{children:"String value"}),"\n",(0,i.jsx)(r.h4,{id:"returns-6",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Since"})})}),"\n",(0,i.jsx)(r.p,{children:"3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.getValue"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"isequal",children:"isEqual"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"isEqual"}),"(",(0,i.jsx)(r.code,{children:"other"}),"): other is IA5String"]}),"\n",(0,i.jsx)(r.p,{children:"Determines whether two object instances are equal"}),"\n",(0,i.jsx)(r.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"other"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"unknown"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:"Object to compare with the current object"})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-7",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:"other is IA5String"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.isEqual"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"onasciiencoding",children:"onAsciiEncoding"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"onAsciiEncoding"}),"(): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-8",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-17",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.onAsciiEncoding"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"setvalue",children:"setValue"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"setValue"}),"(",(0,i.jsx)(r.code,{children:"value"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.p,{children:"String value"}),"\n",(0,i.jsx)(r.h4,{id:"parameters-6",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"value"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"string"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:"String value"})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-9",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Since"})})}),"\n",(0,i.jsx)(r.p,{children:"3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-18",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.setValue"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"tober",children:"toBER"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"toBER"}),"(",(0,i.jsx)(r.code,{children:"sizeOnly?"}),", ",(0,i.jsx)(r.code,{children:"writer?"}),"): ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-7",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsxs)(r.tbody,{children:[(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"sizeOnly?"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"boolean"})})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"writer?"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.a,{href:"/docs/api/classes/ViewWriter",children:(0,i.jsx)(r.code,{children:"ViewWriter"})})})]})]})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-10",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-19",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.toBER"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"tojson",children:"toJSON"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"toJSON"}),"(): ",(0,i.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,i.jsx)(r.code,{children:"BaseBlockJson"})}),"<",(0,i.jsx)(r.code,{children:"LocalStringValueBlockJson"}),">"]}),"\n",(0,i.jsx)(r.h4,{id:"returns-11",children:"Returns"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,i.jsx)(r.code,{children:"BaseBlockJson"})}),"<",(0,i.jsx)(r.code,{children:"LocalStringValueBlockJson"}),">"]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-20",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.toJSON"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"tostring",children:"toString"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"toString"}),"(",(0,i.jsx)(r.code,{children:"encoding?"}),"): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-8",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Default value"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"encoding"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.a,{href:"../#stringencoding",children:(0,i.jsx)(r.code,{children:"StringEncoding"})})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:'"ascii"'})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-12",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-21",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.toString"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"blockname",children:"blockName"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"blockName"}),"(): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.p,{children:"Aux function, need to get a block name. Need to have it here for inheritance"}),"\n",(0,i.jsx)(r.h4,{id:"returns-13",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.p,{children:"Returns name of the block"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-22",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.blockName"})]})}function x(e={}){const{wrapper:r}={...(0,l.a)(),...e.components};return r?(0,i.jsx)(r,{...e,children:(0,i.jsx)(o,{...e})}):o(e)}},1151:(e,r,n)=>{n.d(r,{Z:()=>t,a:()=>s});var i=n(7294);const l={},d=i.createContext(l);function s(e){const r=i.useContext(d);return i.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function t(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(l):e.components||l:s(e.components),i.createElement(d.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/b36e3652.75d8aa4e.js b/assets/js/b36e3652.75d8aa4e.js new file mode 100644 index 0000000..388c82f --- /dev/null +++ b/assets/js/b36e3652.75d8aa4e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[9669],{4712:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>c,contentTitle:()=>s,default:()=>x,frontMatter:()=>d,metadata:()=>t,toc:()=>h});var l=n(5893),i=n(1151);const d={id:"GeneralString",title:"Class: GeneralString",sidebar_label:"GeneralString",sidebar_position:0,custom_edit_url:null},s=void 0,t={id:"api/classes/GeneralString",title:"Class: GeneralString",description:"Hierarchy",source:"@site/docs/api/classes/GeneralString.md",sourceDirName:"api/classes",slug:"/api/classes/GeneralString",permalink:"/docs/api/classes/GeneralString",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"GeneralString",title:"Class: GeneralString",sidebar_label:"GeneralString",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"Enumerated",permalink:"/docs/api/classes/Enumerated"},next:{title:"GeneralizedTime",permalink:"/docs/api/classes/GeneralizedTime"}},c={},h=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Overrides",id:"overrides",level:4},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"valueBeforeDecodeView",id:"valuebeforedecodeview",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"valueBlock",id:"valueblock",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"NAME",id:"name-1",level:3},{value:"Overrides",id:"overrides-1",level:4},{value:"Accessors",id:"accessors",level:2},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Returns",id:"returns-1",level:4},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Methods",id:"methods",level:2},{value:"fromBER",id:"fromber",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"fromBuffer",id:"frombuffer",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-4",level:4},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"fromString",id:"fromstring",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-5",level:4},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"getValue",id:"getvalue",level:3},{value:"Returns",id:"returns-6",level:4},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"isEqual",id:"isequal",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-7",level:4},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"onAsciiEncoding",id:"onasciiencoding",level:3},{value:"Returns",id:"returns-8",level:4},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"setValue",id:"setvalue",level:3},{value:"Parameters",id:"parameters-6",level:4},{value:"Returns",id:"returns-9",level:4},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"toBER",id:"tober",level:3},{value:"Parameters",id:"parameters-7",level:4},{value:"Returns",id:"returns-10",level:4},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"toJSON",id:"tojson",level:3},{value:"Returns",id:"returns-11",level:4},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"toString",id:"tostring",level:3},{value:"Parameters",id:"parameters-8",level:4},{value:"Returns",id:"returns-12",level:4},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"blockName",id:"blockname",level:3},{value:"Returns",id:"returns-13",level:4},{value:"Inherited from",id:"inherited-from-22",level:4}];function o(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.a)(),...e.components};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,l.jsxs)(r.ul,{children:["\n",(0,l.jsxs)(r.li,{children:["\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"LocalSimpleStringBlock"})}),"\n",(0,l.jsxs)(r.p,{children:["\u21b3 ",(0,l.jsx)(r.strong,{children:(0,l.jsx)(r.code,{children:"GeneralString"})})]}),"\n"]}),"\n"]}),"\n",(0,l.jsx)(r.h2,{id:"constructors",children:"Constructors"}),"\n",(0,l.jsx)(r.h3,{id:"constructor",children:"constructor"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"new GeneralString"}),"(",(0,l.jsx)(r.code,{children:"parameters?"}),"): ",(0,l.jsx)(r.a,{href:"/docs/api/classes/GeneralString",children:(0,l.jsx)(r.code,{children:"GeneralString"})})]}),"\n",(0,l.jsx)(r.h4,{id:"parameters",children:"Parameters"}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,l.jsx)(r.tbody,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"parameters"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"LocalSimpleStringBlockParams"})})]})})]}),"\n",(0,l.jsx)(r.h4,{id:"returns",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.a,{href:"/docs/api/classes/GeneralString",children:(0,l.jsx)(r.code,{children:"GeneralString"})})}),"\n",(0,l.jsx)(r.h4,{id:"overrides",children:"Overrides"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.constructor"}),"\n",(0,l.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,l.jsx)(r.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"blockLength"}),": ",(0,l.jsx)(r.code,{children:"number"})]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.blockLength"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"error",children:"error"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"error"}),": ",(0,l.jsx)(r.code,{children:"string"})]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.error"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"idblock",children:"idBlock"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"idBlock"}),": ",(0,l.jsx)(r.code,{children:"LocalIdentificationBlock"})]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.idBlock"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"lenBlock"}),": ",(0,l.jsx)(r.code,{children:"LocalLengthBlock"})]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.lenBlock"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"name",children:"name"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"name"}),": ",(0,l.jsx)(r.code,{children:"string"})]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.name"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"optional",children:"optional"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"optional"}),": ",(0,l.jsx)(r.code,{children:"boolean"})]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.optional"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.code,{children:"Optional"})," ",(0,l.jsx)(r.strong,{children:"primitiveSchema"}),": ",(0,l.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:(0,l.jsx)(r.code,{children:"BaseBlock"})}),"<",(0,l.jsx)(r.a,{href:"/docs/api/classes/ValueBlock",children:(0,l.jsx)(r.code,{children:"ValueBlock"})}),", ",(0,l.jsx)(r.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.primitiveSchema"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"valuebeforedecodeview",children:"valueBeforeDecodeView"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"valueBeforeDecodeView"}),": ",(0,l.jsx)(r.code,{children:"Uint8Array"})]}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.strong,{children:(0,l.jsx)(r.code,{children:"Since"})})}),"\n",(0,l.jsx)(r.p,{children:"3.0.0"}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.valueBeforeDecodeView"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"valueblock",children:"valueBlock"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"valueBlock"}),": ",(0,l.jsx)(r.code,{children:"LocalSimpleStringValueBlock"})]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.valueBlock"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"warnings",children:"warnings"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"warnings"}),": ",(0,l.jsx)(r.code,{children:"string"}),"[]"]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.warnings"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"name-1",children:"NAME"}),"\n",(0,l.jsxs)(r.p,{children:["\u25aa ",(0,l.jsx)(r.code,{children:"Static"})," ",(0,l.jsx)(r.strong,{children:"NAME"}),": ",(0,l.jsx)(r.code,{children:"string"})," = ",(0,l.jsx)(r.code,{children:'"GeneralString"'})]}),"\n",(0,l.jsx)(r.h4,{id:"overrides-1",children:"Overrides"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.NAME"}),"\n",(0,l.jsx)(r.h2,{id:"accessors",children:"Accessors"}),"\n",(0,l.jsx)(r.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.code,{children:"get"})," ",(0,l.jsx)(r.strong,{children:"valueBeforeDecode"}),"(): ",(0,l.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-1",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.strong,{children:(0,l.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,l.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.valueBeforeDecode"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.code,{children:"set"})," ",(0,l.jsx)(r.strong,{children:"valueBeforeDecode"}),"(",(0,l.jsx)(r.code,{children:"value"}),"): ",(0,l.jsx)(r.code,{children:"void"})]}),"\n",(0,l.jsx)(r.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,l.jsx)(r.tbody,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"value"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"ArrayBuffer"})})]})})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-2",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"void"})}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.strong,{children:(0,l.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,l.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.valueBeforeDecode"}),"\n",(0,l.jsx)(r.h2,{id:"methods",children:"Methods"}),"\n",(0,l.jsx)(r.h3,{id:"fromber",children:"fromBER"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"fromBER"}),"(",(0,l.jsx)(r.code,{children:"inputBuffer"}),", ",(0,l.jsx)(r.code,{children:"inputOffset"}),", ",(0,l.jsx)(r.code,{children:"inputLength"}),"): ",(0,l.jsx)(r.code,{children:"number"})]}),"\n",(0,l.jsx)(r.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,l.jsxs)(r.tbody,{children:[(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"inputBuffer"})}),(0,l.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,l.jsx)(r.code,{children:"Uint8Array"})," | ",(0,l.jsx)(r.code,{children:"ArrayBuffer"})]})]}),(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"inputOffset"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"number"})})]}),(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"inputLength"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"number"})})]})]})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-3",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"number"})}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.fromBER"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"frombuffer",children:"fromBuffer"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"fromBuffer"}),"(",(0,l.jsx)(r.code,{children:"inputBuffer"}),"): ",(0,l.jsx)(r.code,{children:"void"})]}),"\n",(0,l.jsx)(r.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,l.jsx)(r.tbody,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"inputBuffer"})}),(0,l.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,l.jsx)(r.code,{children:"Uint8Array"})," | ",(0,l.jsx)(r.code,{children:"ArrayBuffer"})]})]})})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-4",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"void"})}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.fromBuffer"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"fromstring",children:"fromString"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"fromString"}),"(",(0,l.jsx)(r.code,{children:"inputString"}),"): ",(0,l.jsx)(r.code,{children:"void"})]}),"\n",(0,l.jsx)(r.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,l.jsx)(r.tbody,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"inputString"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"string"})})]})})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-5",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"void"})}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.fromString"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"getvalue",children:"getValue"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"getValue"}),"(): ",(0,l.jsx)(r.code,{children:"string"})]}),"\n",(0,l.jsx)(r.p,{children:"String value"}),"\n",(0,l.jsx)(r.h4,{id:"returns-6",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"string"})}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.strong,{children:(0,l.jsx)(r.code,{children:"Since"})})}),"\n",(0,l.jsx)(r.p,{children:"3.0.0"}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.getValue"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"isequal",children:"isEqual"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"isEqual"}),"(",(0,l.jsx)(r.code,{children:"other"}),"): other is GeneralString"]}),"\n",(0,l.jsx)(r.p,{children:"Determines whether two object instances are equal"}),"\n",(0,l.jsx)(r.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,l.jsx)(r.tbody,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"other"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"unknown"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:"Object to compare with the current object"})]})})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-7",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:"other is GeneralString"}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.isEqual"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"onasciiencoding",children:"onAsciiEncoding"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"onAsciiEncoding"}),"(): ",(0,l.jsx)(r.code,{children:"string"})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-8",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"string"})}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-17",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.onAsciiEncoding"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"setvalue",children:"setValue"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"setValue"}),"(",(0,l.jsx)(r.code,{children:"value"}),"): ",(0,l.jsx)(r.code,{children:"void"})]}),"\n",(0,l.jsx)(r.p,{children:"String value"}),"\n",(0,l.jsx)(r.h4,{id:"parameters-6",children:"Parameters"}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,l.jsx)(r.tbody,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"value"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"string"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:"String value"})]})})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-9",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"void"})}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.strong,{children:(0,l.jsx)(r.code,{children:"Since"})})}),"\n",(0,l.jsx)(r.p,{children:"3.0.0"}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-18",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.setValue"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"tober",children:"toBER"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"toBER"}),"(",(0,l.jsx)(r.code,{children:"sizeOnly?"}),", ",(0,l.jsx)(r.code,{children:"writer?"}),"): ",(0,l.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,l.jsx)(r.h4,{id:"parameters-7",children:"Parameters"}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,l.jsxs)(r.tbody,{children:[(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"sizeOnly?"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"boolean"})})]}),(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"writer?"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.a,{href:"/docs/api/classes/ViewWriter",children:(0,l.jsx)(r.code,{children:"ViewWriter"})})})]})]})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-10",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-19",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.toBER"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"tojson",children:"toJSON"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"toJSON"}),"(): ",(0,l.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,l.jsx)(r.code,{children:"BaseBlockJson"})}),"<",(0,l.jsx)(r.code,{children:"LocalStringValueBlockJson"}),">"]}),"\n",(0,l.jsx)(r.h4,{id:"returns-11",children:"Returns"}),"\n",(0,l.jsxs)(r.p,{children:[(0,l.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,l.jsx)(r.code,{children:"BaseBlockJson"})}),"<",(0,l.jsx)(r.code,{children:"LocalStringValueBlockJson"}),">"]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-20",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.toJSON"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"tostring",children:"toString"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"toString"}),"(",(0,l.jsx)(r.code,{children:"encoding?"}),"): ",(0,l.jsx)(r.code,{children:"string"})]}),"\n",(0,l.jsx)(r.h4,{id:"parameters-8",children:"Parameters"}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Default value"})]})}),(0,l.jsx)(r.tbody,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"encoding"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.a,{href:"../#stringencoding",children:(0,l.jsx)(r.code,{children:"StringEncoding"})})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:'"ascii"'})})]})})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-12",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"string"})}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-21",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.toString"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"blockname",children:"blockName"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"blockName"}),"(): ",(0,l.jsx)(r.code,{children:"string"})]}),"\n",(0,l.jsx)(r.p,{children:"Aux function, need to get a block name. Need to have it here for inheritance"}),"\n",(0,l.jsx)(r.h4,{id:"returns-13",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"string"})}),"\n",(0,l.jsx)(r.p,{children:"Returns name of the block"}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-22",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalSimpleStringBlock.blockName"})]})}function x(e={}){const{wrapper:r}={...(0,i.a)(),...e.components};return r?(0,l.jsx)(r,{...e,children:(0,l.jsx)(o,{...e})}):o(e)}},1151:(e,r,n)=>{n.d(r,{Z:()=>t,a:()=>s});var l=n(7294);const i={},d=l.createContext(i);function s(e){const r=l.useContext(d);return l.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function t(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:s(e.components),l.createElement(d.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/b3870161.a68c2e4f.js b/assets/js/b3870161.a68c2e4f.js new file mode 100644 index 0000000..dbb6b50 --- /dev/null +++ b/assets/js/b3870161.a68c2e4f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[9131],{6347:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>c,contentTitle:()=>t,default:()=>h,frontMatter:()=>o,metadata:()=>l,toc:()=>d});var r=i(5893),s=i(1151);const o={id:"HexBlockJson",title:"Interface: HexBlockJson",sidebar_label:"HexBlockJson",sidebar_position:0,custom_edit_url:null},t=void 0,l={id:"api/interfaces/HexBlockJson",title:"Interface: HexBlockJson",description:"Hierarchy",source:"@site/docs/api/interfaces/HexBlockJson.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/HexBlockJson",permalink:"/docs/api/interfaces/HexBlockJson",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"HexBlockJson",title:"Interface: HexBlockJson",sidebar_label:"HexBlockJson",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"GeneralizedTimeJson",permalink:"/docs/api/interfaces/GeneralizedTimeJson"},next:{title:"IAny",permalink:"/docs/api/interfaces/IAny"}},c={},d=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"isHexOnly",id:"ishexonly",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"valueHex",id:"valuehex",level:3}];function a(e){const n={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,s.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.code,{children:"Omit"}),"<",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/IHexBlock",children:(0,r.jsx)(n.code,{children:"IHexBlock"})}),", ",(0,r.jsx)(n.code,{children:'"valueHex"'}),">"]}),"\n",(0,r.jsxs)(n.p,{children:["\u21b3 ",(0,r.jsx)(n.strong,{children:(0,r.jsx)(n.code,{children:"HexBlockJson"})})]}),"\n"]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"properties",children:"Properties"}),"\n",(0,r.jsx)(n.h3,{id:"ishexonly",children:"isHexOnly"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"isHexOnly"}),": ",(0,r.jsx)(n.code,{children:"boolean"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,r.jsx)(n.p,{children:"Omit.isHexOnly"}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"valuehex",children:"valueHex"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"valueHex"}),": ",(0,r.jsx)(n.code,{children:"string"})]})]})}function h(e={}){const{wrapper:n}={...(0,s.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(a,{...e})}):a(e)}},1151:(e,n,i)=>{i.d(n,{Z:()=>l,a:()=>t});var r=i(7294);const s={},o=r.createContext(s);function t(e){const n=r.useContext(o);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:t(e.components),r.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/b4057b68.835fdd88.js b/assets/js/b4057b68.835fdd88.js new file mode 100644 index 0000000..2a66865 --- /dev/null +++ b/assets/js/b4057b68.835fdd88.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[5204],{5550:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>o,contentTitle:()=>l,default:()=>h,frontMatter:()=>s,metadata:()=>d,toc:()=>c});var r=n(5893),i=n(1151);const s={id:"IStringConvertible",title:"Interface: IStringConvertible",sidebar_label:"IStringConvertible",sidebar_position:0,custom_edit_url:null},l=void 0,d={id:"api/interfaces/IStringConvertible",title:"Interface: IStringConvertible",description:"Implemented by",source:"@site/docs/api/interfaces/IStringConvertible.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/IStringConvertible",permalink:"/docs/api/interfaces/IStringConvertible",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"IStringConvertible",title:"Interface: IStringConvertible",sidebar_label:"IStringConvertible",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"IRepeated",permalink:"/docs/api/interfaces/IRepeated"},next:{title:"IUTCTime",permalink:"/docs/api/interfaces/IUTCTime"}},o={},c=[{value:"Implemented by",id:"implemented-by",level:2},{value:"Methods",id:"methods",level:2},{value:"fromString",id:"fromstring",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"toString",id:"tostring",level:3},{value:"Returns",id:"returns-1",level:4}];function a(e){const t={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.h2,{id:"implemented-by",children:"Implemented by"}),"\n",(0,r.jsxs)(t.ul,{children:["\n",(0,r.jsx)(t.li,{children:(0,r.jsx)(t.a,{href:"/docs/api/classes/BaseStringBlock",children:(0,r.jsx)(t.code,{children:"BaseStringBlock"})})}),"\n"]}),"\n",(0,r.jsx)(t.h2,{id:"methods",children:"Methods"}),"\n",(0,r.jsx)(t.h3,{id:"fromstring",children:"fromString"}),"\n",(0,r.jsxs)(t.p,{children:["\u25b8 ",(0,r.jsx)(t.strong,{children:"fromString"}),"(",(0,r.jsx)(t.code,{children:"data"}),"): ",(0,r.jsx)(t.code,{children:"void"})]}),"\n",(0,r.jsx)(t.p,{children:"Creates a class object from the string"}),"\n",(0,r.jsx)(t.h4,{id:"parameters",children:"Parameters"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{style:{textAlign:"left"},children:"Name"}),(0,r.jsx)(t.th,{style:{textAlign:"left"},children:"Type"}),(0,r.jsx)(t.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,r.jsx)(t.tbody,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{style:{textAlign:"left"},children:(0,r.jsx)(t.code,{children:"data"})}),(0,r.jsx)(t.td,{style:{textAlign:"left"},children:(0,r.jsx)(t.code,{children:"string"})}),(0,r.jsx)(t.td,{style:{textAlign:"left"},children:"Input string to convert from"})]})})]}),"\n",(0,r.jsx)(t.h4,{id:"returns",children:"Returns"}),"\n",(0,r.jsx)(t.p,{children:(0,r.jsx)(t.code,{children:"void"})}),"\n",(0,r.jsx)(t.hr,{}),"\n",(0,r.jsx)(t.h3,{id:"tostring",children:"toString"}),"\n",(0,r.jsxs)(t.p,{children:["\u25b8 ",(0,r.jsx)(t.strong,{children:"toString"}),"(): ",(0,r.jsx)(t.code,{children:"string"})]}),"\n",(0,r.jsx)(t.p,{children:"Returns a string representation of an object"}),"\n",(0,r.jsx)(t.h4,{id:"returns-1",children:"Returns"}),"\n",(0,r.jsx)(t.p,{children:(0,r.jsx)(t.code,{children:"string"})}),"\n",(0,r.jsx)(t.p,{children:"String representation of the class object"})]})}function h(e={}){const{wrapper:t}={...(0,i.a)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(a,{...e})}):a(e)}},1151:(e,t,n)=>{n.d(t,{Z:()=>d,a:()=>l});var r=n(7294);const i={},s=r.createContext(i);function l(e){const t=r.useContext(s);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function d(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:l(e.components),r.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/b4213769.3cdbe8d0.js b/assets/js/b4213769.3cdbe8d0.js new file mode 100644 index 0000000..39d5502 --- /dev/null +++ b/assets/js/b4213769.3cdbe8d0.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[6628],{5716:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>c,contentTitle:()=>d,default:()=>a,frontMatter:()=>l,metadata:()=>t,toc:()=>h});var i=n(5893),s=n(1151);const l={id:"Duration",title:"Class: Duration",sidebar_label:"Duration",sidebar_position:0,custom_edit_url:null},d=void 0,t={id:"api/classes/Duration",title:"Class: Duration",description:"Hierarchy",source:"@site/docs/api/classes/Duration.md",sourceDirName:"api/classes",slug:"/api/classes/Duration",permalink:"/docs/api/classes/Duration",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"Duration",title:"Class: Duration",sidebar_label:"Duration",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"DateTime",permalink:"/docs/api/classes/DateTime"},next:{title:"EndOfContent",permalink:"/docs/api/classes/EndOfContent"}},c={},h=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Overrides",id:"overrides",level:4},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"valueBeforeDecodeView",id:"valuebeforedecodeview",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"valueBlock",id:"valueblock",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"NAME",id:"name-1",level:3},{value:"Overrides",id:"overrides-1",level:4},{value:"Accessors",id:"accessors",level:2},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Returns",id:"returns-1",level:4},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Methods",id:"methods",level:2},{value:"fromBER",id:"fromber",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"fromBuffer",id:"frombuffer",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-4",level:4},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"fromString",id:"fromstring",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-5",level:4},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"getValue",id:"getvalue",level:3},{value:"Returns",id:"returns-6",level:4},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"isEqual",id:"isequal",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-7",level:4},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"onAsciiEncoding",id:"onasciiencoding",level:3},{value:"Returns",id:"returns-8",level:4},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"setValue",id:"setvalue",level:3},{value:"Parameters",id:"parameters-6",level:4},{value:"Returns",id:"returns-9",level:4},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"toBER",id:"tober",level:3},{value:"Parameters",id:"parameters-7",level:4},{value:"Returns",id:"returns-10",level:4},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"toJSON",id:"tojson",level:3},{value:"Returns",id:"returns-11",level:4},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"toString",id:"tostring",level:3},{value:"Parameters",id:"parameters-8",level:4},{value:"Returns",id:"returns-12",level:4},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"blockName",id:"blockname",level:3},{value:"Returns",id:"returns-13",level:4},{value:"Inherited from",id:"inherited-from-22",level:4}];function o(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,s.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,i.jsxs)(r.ul,{children:["\n",(0,i.jsxs)(r.li,{children:["\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:(0,i.jsx)(r.code,{children:"Utf8String"})})}),"\n",(0,i.jsxs)(r.p,{children:["\u21b3 ",(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Duration"})})]}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(r.h2,{id:"constructors",children:"Constructors"}),"\n",(0,i.jsx)(r.h3,{id:"constructor",children:"constructor"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"new Duration"}),"(",(0,i.jsx)(r.code,{children:"parameters?"}),"): ",(0,i.jsx)(r.a,{href:"/docs/api/classes/Duration",children:(0,i.jsx)(r.code,{children:"Duration"})})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"parameters"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.a,{href:"/docs/api/interfaces/Utf8StringParams",children:(0,i.jsx)(r.code,{children:"Utf8StringParams"})})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.a,{href:"/docs/api/classes/Duration",children:(0,i.jsx)(r.code,{children:"Duration"})})}),"\n",(0,i.jsx)(r.h4,{id:"overrides",children:"Overrides"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#constructor",children:"constructor"})]}),"\n",(0,i.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,i.jsx)(r.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"blockLength"}),": ",(0,i.jsx)(r.code,{children:"number"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#blocklength",children:"blockLength"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"error",children:"error"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"error"}),": ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#error",children:"error"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"idblock",children:"idBlock"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"idBlock"}),": ",(0,i.jsx)(r.code,{children:"LocalIdentificationBlock"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#idblock",children:"idBlock"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"lenBlock"}),": ",(0,i.jsx)(r.code,{children:"LocalLengthBlock"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#lenblock",children:"lenBlock"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"name",children:"name"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"name"}),": ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#name",children:"name"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"optional",children:"optional"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"optional"}),": ",(0,i.jsx)(r.code,{children:"boolean"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#optional",children:"optional"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.code,{children:"Optional"})," ",(0,i.jsx)(r.strong,{children:"primitiveSchema"}),": ",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:(0,i.jsx)(r.code,{children:"BaseBlock"})}),"<",(0,i.jsx)(r.a,{href:"/docs/api/classes/ValueBlock",children:(0,i.jsx)(r.code,{children:"ValueBlock"})}),", ",(0,i.jsx)(r.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#primitiveschema",children:"primitiveSchema"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"valuebeforedecodeview",children:"valueBeforeDecodeView"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"valueBeforeDecodeView"}),": ",(0,i.jsx)(r.code,{children:"Uint8Array"})]}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Since"})})}),"\n",(0,i.jsx)(r.p,{children:"3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#valuebeforedecodeview",children:"valueBeforeDecodeView"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"valueblock",children:"valueBlock"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"valueBlock"}),": ",(0,i.jsx)(r.code,{children:"LocalSimpleStringValueBlock"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#valueblock",children:"valueBlock"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"warnings",children:"warnings"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"warnings"}),": ",(0,i.jsx)(r.code,{children:"string"}),"[]"]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#warnings",children:"warnings"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"name-1",children:"NAME"}),"\n",(0,i.jsxs)(r.p,{children:["\u25aa ",(0,i.jsx)(r.code,{children:"Static"})," ",(0,i.jsx)(r.strong,{children:"NAME"}),": ",(0,i.jsx)(r.code,{children:"string"})," = ",(0,i.jsx)(r.code,{children:'"Duration"'})]}),"\n",(0,i.jsx)(r.h4,{id:"overrides-1",children:"Overrides"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#name-1",children:"NAME"})]}),"\n",(0,i.jsx)(r.h2,{id:"accessors",children:"Accessors"}),"\n",(0,i.jsx)(r.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.code,{children:"get"})," ",(0,i.jsx)(r.strong,{children:"valueBeforeDecode"}),"(): ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-1",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,i.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"Utf8String.valueBeforeDecode"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.code,{children:"set"})," ",(0,i.jsx)(r.strong,{children:"valueBeforeDecode"}),"(",(0,i.jsx)(r.code,{children:"value"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"value"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"ArrayBuffer"})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-2",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,i.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"Utf8String.valueBeforeDecode"}),"\n",(0,i.jsx)(r.h2,{id:"methods",children:"Methods"}),"\n",(0,i.jsx)(r.h3,{id:"fromber",children:"fromBER"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"fromBER"}),"(",(0,i.jsx)(r.code,{children:"inputBuffer"}),", ",(0,i.jsx)(r.code,{children:"inputOffset"}),", ",(0,i.jsx)(r.code,{children:"inputLength"}),"): ",(0,i.jsx)(r.code,{children:"number"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsxs)(r.tbody,{children:[(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputBuffer"})}),(0,i.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,i.jsx)(r.code,{children:"Uint8Array"})," | ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputOffset"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"number"})})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputLength"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"number"})})]})]})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-3",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"number"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#fromber",children:"fromBER"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"frombuffer",children:"fromBuffer"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"fromBuffer"}),"(",(0,i.jsx)(r.code,{children:"inputBuffer"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputBuffer"})}),(0,i.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,i.jsx)(r.code,{children:"Uint8Array"})," | ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-4",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#frombuffer",children:"fromBuffer"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"fromstring",children:"fromString"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"fromString"}),"(",(0,i.jsx)(r.code,{children:"inputString"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputString"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"string"})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-5",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#fromstring",children:"fromString"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"getvalue",children:"getValue"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"getValue"}),"(): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.p,{children:"String value"}),"\n",(0,i.jsx)(r.h4,{id:"returns-6",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Since"})})}),"\n",(0,i.jsx)(r.p,{children:"3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#getvalue",children:"getValue"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"isequal",children:"isEqual"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"isEqual"}),"(",(0,i.jsx)(r.code,{children:"other"}),"): other is Duration"]}),"\n",(0,i.jsx)(r.p,{children:"Determines whether two object instances are equal"}),"\n",(0,i.jsx)(r.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"other"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"unknown"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:"Object to compare with the current object"})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-7",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:"other is Duration"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#isequal",children:"isEqual"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"onasciiencoding",children:"onAsciiEncoding"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"onAsciiEncoding"}),"(): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-8",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-17",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#onasciiencoding",children:"onAsciiEncoding"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"setvalue",children:"setValue"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"setValue"}),"(",(0,i.jsx)(r.code,{children:"value"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.p,{children:"String value"}),"\n",(0,i.jsx)(r.h4,{id:"parameters-6",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"value"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"string"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:"String value"})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-9",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Since"})})}),"\n",(0,i.jsx)(r.p,{children:"3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-18",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#setvalue",children:"setValue"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"tober",children:"toBER"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"toBER"}),"(",(0,i.jsx)(r.code,{children:"sizeOnly?"}),", ",(0,i.jsx)(r.code,{children:"writer?"}),"): ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-7",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsxs)(r.tbody,{children:[(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"sizeOnly?"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"boolean"})})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"writer?"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.a,{href:"/docs/api/classes/ViewWriter",children:(0,i.jsx)(r.code,{children:"ViewWriter"})})})]})]})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-10",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-19",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#tober",children:"toBER"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"tojson",children:"toJSON"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"toJSON"}),"(): ",(0,i.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,i.jsx)(r.code,{children:"BaseBlockJson"})}),"<",(0,i.jsx)(r.code,{children:"LocalStringValueBlockJson"}),">"]}),"\n",(0,i.jsx)(r.h4,{id:"returns-11",children:"Returns"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,i.jsx)(r.code,{children:"BaseBlockJson"})}),"<",(0,i.jsx)(r.code,{children:"LocalStringValueBlockJson"}),">"]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-20",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#tojson",children:"toJSON"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"tostring",children:"toString"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"toString"}),"(",(0,i.jsx)(r.code,{children:"encoding?"}),"): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-8",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Default value"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"encoding"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.a,{href:"../#stringencoding",children:(0,i.jsx)(r.code,{children:"StringEncoding"})})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:'"ascii"'})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-12",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-21",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#tostring",children:"toString"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"blockname",children:"blockName"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"blockName"}),"(): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.p,{children:"Aux function, need to get a block name. Need to have it here for inheritance"}),"\n",(0,i.jsx)(r.h4,{id:"returns-13",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.p,{children:"Returns name of the block"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-22",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#blockname",children:"blockName"})]})]})}function a(e={}){const{wrapper:r}={...(0,s.a)(),...e.components};return r?(0,i.jsx)(r,{...e,children:(0,i.jsx)(o,{...e})}):o(e)}},1151:(e,r,n)=>{n.d(r,{Z:()=>t,a:()=>d});var i=n(7294);const s={},l=i.createContext(s);function d(e){const r=i.useContext(l);return i.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function t(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:d(e.components),i.createElement(l.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/ba90fb9a.1995cea4.js b/assets/js/ba90fb9a.1995cea4.js new file mode 100644 index 0000000..c884e28 --- /dev/null +++ b/assets/js/ba90fb9a.1995cea4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[6815],{2197:(e,r,s)=>{s.r(r),s.d(r,{assets:()=>c,contentTitle:()=>l,default:()=>a,frontMatter:()=>d,metadata:()=>t,toc:()=>h});var n=s(5893),i=s(1151);const d={id:"Set",title:"Class: Set",sidebar_label:"Set",sidebar_position:0,custom_edit_url:null},l=void 0,t={id:"api/classes/Set",title:"Class: Set",description:"Hierarchy",source:"@site/docs/api/classes/Set.md",sourceDirName:"api/classes",slug:"/api/classes/Set",permalink:"/docs/api/classes/Set",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"Set",title:"Class: Set",sidebar_label:"Set",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"Sequence",permalink:"/docs/api/classes/Sequence"},next:{title:"TIME",permalink:"/docs/api/classes/TIME"}},c={},h=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Overrides",id:"overrides",level:4},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"valueBeforeDecodeView",id:"valuebeforedecodeview",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"valueBlock",id:"valueblock",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"NAME",id:"name-1",level:3},{value:"Overrides",id:"overrides-1",level:4},{value:"Accessors",id:"accessors",level:2},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Returns",id:"returns-1",level:4},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Methods",id:"methods",level:2},{value:"fromBER",id:"fromber",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"isEqual",id:"isequal",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-4",level:4},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"onAsciiEncoding",id:"onasciiencoding",level:3},{value:"Returns",id:"returns-5",level:4},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"toBER",id:"tober",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-6",level:4},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"toJSON",id:"tojson",level:3},{value:"Returns",id:"returns-7",level:4},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"toString",id:"tostring",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-8",level:4},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"blockName",id:"blockname",level:3},{value:"Returns",id:"returns-9",level:4},{value:"Inherited from",id:"inherited-from-18",level:4}];function o(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,n.jsxs)(r.ul,{children:["\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"/docs/api/classes/Constructed",children:(0,n.jsx)(r.code,{children:"Constructed"})})}),"\n",(0,n.jsxs)(r.p,{children:["\u21b3 ",(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"Set"})})]}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(r.h2,{id:"constructors",children:"Constructors"}),"\n",(0,n.jsx)(r.h3,{id:"constructor",children:"constructor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"new Set"}),"(",(0,n.jsx)(r.code,{children:"parameters?"}),"): ",(0,n.jsx)(r.a,{href:"/docs/api/classes/Set",children:(0,n.jsx)(r.code,{children:"Set"})})]}),"\n",(0,n.jsx)(r.h4,{id:"parameters",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(r.tbody,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"parameters"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.a,{href:"/docs/api/interfaces/ConstructedParams",children:(0,n.jsx)(r.code,{children:"ConstructedParams"})})})]})})]}),"\n",(0,n.jsx)(r.h4,{id:"returns",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"/docs/api/classes/Set",children:(0,n.jsx)(r.code,{children:"Set"})})}),"\n",(0,n.jsx)(r.h4,{id:"overrides",children:"Overrides"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/Constructed",children:"Constructed"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/Constructed#constructor",children:"constructor"})]}),"\n",(0,n.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,n.jsx)(r.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"blockLength"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/Constructed",children:"Constructed"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/Constructed#blocklength",children:"blockLength"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"error",children:"error"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"error"}),": ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/Constructed",children:"Constructed"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/Constructed#error",children:"error"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"idblock",children:"idBlock"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"idBlock"}),": ",(0,n.jsx)(r.code,{children:"LocalIdentificationBlock"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/Constructed",children:"Constructed"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/Constructed#idblock",children:"idBlock"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"lenBlock"}),": ",(0,n.jsx)(r.code,{children:"LocalLengthBlock"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/Constructed",children:"Constructed"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/Constructed#lenblock",children:"lenBlock"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"name",children:"name"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"name"}),": ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/Constructed",children:"Constructed"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/Constructed#name",children:"name"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"optional",children:"optional"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"optional"}),": ",(0,n.jsx)(r.code,{children:"boolean"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/Constructed",children:"Constructed"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/Constructed#optional",children:"optional"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"primitiveSchema"}),": ",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:(0,n.jsx)(r.code,{children:"BaseBlock"})}),"<",(0,n.jsx)(r.a,{href:"/docs/api/classes/ValueBlock",children:(0,n.jsx)(r.code,{children:"ValueBlock"})}),", ",(0,n.jsx)(r.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/Constructed",children:"Constructed"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/Constructed#primitiveschema",children:"primitiveSchema"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"valuebeforedecodeview",children:"valueBeforeDecodeView"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"valueBeforeDecodeView"}),": ",(0,n.jsx)(r.code,{children:"Uint8Array"})]}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"Since"})})}),"\n",(0,n.jsx)(r.p,{children:"3.0.0"}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/Constructed",children:"Constructed"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/Constructed#valuebeforedecodeview",children:"valueBeforeDecodeView"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"valueblock",children:"valueBlock"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"valueBlock"}),": ",(0,n.jsx)(r.code,{children:"LocalConstructedValueBlock"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/Constructed",children:"Constructed"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/Constructed#valueblock",children:"valueBlock"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"warnings",children:"warnings"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"warnings"}),": ",(0,n.jsx)(r.code,{children:"string"}),"[]"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/Constructed",children:"Constructed"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/Constructed#warnings",children:"warnings"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"name-1",children:"NAME"}),"\n",(0,n.jsxs)(r.p,{children:["\u25aa ",(0,n.jsx)(r.code,{children:"Static"})," ",(0,n.jsx)(r.strong,{children:"NAME"}),": ",(0,n.jsx)(r.code,{children:"string"})," = ",(0,n.jsx)(r.code,{children:'"SET"'})]}),"\n",(0,n.jsx)(r.h4,{id:"overrides-1",children:"Overrides"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/Constructed",children:"Constructed"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/Constructed#name-1",children:"NAME"})]}),"\n",(0,n.jsx)(r.h2,{id:"accessors",children:"Accessors"}),"\n",(0,n.jsx)(r.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"get"})," ",(0,n.jsx)(r.strong,{children:"valueBeforeDecode"}),"(): ",(0,n.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-1",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,n.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"Constructed.valueBeforeDecode"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"set"})," ",(0,n.jsx)(r.strong,{children:"valueBeforeDecode"}),"(",(0,n.jsx)(r.code,{children:"value"}),"): ",(0,n.jsx)(r.code,{children:"void"})]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(r.tbody,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"value"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"ArrayBuffer"})})]})})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-2",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"void"})}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,n.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"Constructed.valueBeforeDecode"}),"\n",(0,n.jsx)(r.h2,{id:"methods",children:"Methods"}),"\n",(0,n.jsx)(r.h3,{id:"fromber",children:"fromBER"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"fromBER"}),"(",(0,n.jsx)(r.code,{children:"inputBuffer"}),", ",(0,n.jsx)(r.code,{children:"inputOffset"}),", ",(0,n.jsx)(r.code,{children:"inputLength"}),"): ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.p,{children:"Base function for converting block from BER encoded array of bytes"}),"\n",(0,n.jsx)(r.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"inputBuffer"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,n.jsx)(r.code,{children:"Uint8Array"})," | ",(0,n.jsx)(r.code,{children:"ArrayBuffer"})]}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:"ASN.1 BER encoded array"})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"inputOffset"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"number"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:"Offset in ASN.1 BER encoded array where decoding should be started"})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"inputLength"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"number"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:"Maximum length of array of bytes which can be using in this function"})]})]})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-3",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"number"})}),"\n",(0,n.jsx)(r.p,{children:"Offset after least decoded byte"}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/Constructed",children:"Constructed"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/Constructed#fromber",children:"fromBER"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"isequal",children:"isEqual"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"isEqual"}),"(",(0,n.jsx)(r.code,{children:"other"}),"): other is Set"]}),"\n",(0,n.jsx)(r.p,{children:"Determines whether two object instances are equal"}),"\n",(0,n.jsx)(r.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,n.jsx)(r.tbody,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"other"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"unknown"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:"Object to compare with the current object"})]})})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-4",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:"other is Set"}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/Constructed",children:"Constructed"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/Constructed#isequal",children:"isEqual"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"onasciiencoding",children:"onAsciiEncoding"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"onAsciiEncoding"}),"(): ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-5",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"string"})}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/Constructed",children:"Constructed"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/Constructed#onasciiencoding",children:"onAsciiEncoding"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"tober",children:"toBER"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"toBER"}),"(",(0,n.jsx)(r.code,{children:"sizeOnly?"}),", ",(0,n.jsx)(r.code,{children:"writer?"}),"): ",(0,n.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,n.jsx)(r.p,{children:"Encoding of current ASN.1 block into ASN.1 encoded array (BER rules)"}),"\n",(0,n.jsx)(r.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"sizeOnly?"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"boolean"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:"Flag that we need only a size of encoding, not a real array of bytes"})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"writer?"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.a,{href:"/docs/api/classes/ViewWriter",children:(0,n.jsx)(r.code,{children:"ViewWriter"})})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:"-"})]})]})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-6",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,n.jsx)(r.p,{children:"ASN.1 BER encoded array"}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/Constructed",children:"Constructed"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/Constructed#tober",children:"toBER"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"tojson",children:"toJSON"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"toJSON"}),"(): ",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,n.jsx)(r.code,{children:"BaseBlockJson"})}),"<",(0,n.jsx)(r.code,{children:"LocalConstructedValueBlockJson"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"returns-7",children:"Returns"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,n.jsx)(r.code,{children:"BaseBlockJson"})}),"<",(0,n.jsx)(r.code,{children:"LocalConstructedValueBlockJson"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/Constructed",children:"Constructed"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/Constructed#tojson",children:"toJSON"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"tostring",children:"toString"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"toString"}),"(",(0,n.jsx)(r.code,{children:"encoding?"}),"): ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Default value"})]})}),(0,n.jsx)(r.tbody,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"encoding"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.a,{href:"../#stringencoding",children:(0,n.jsx)(r.code,{children:"StringEncoding"})})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:'"ascii"'})})]})})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-8",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"string"})}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-17",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/Constructed",children:"Constructed"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/Constructed#tostring",children:"toString"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"blockname",children:"blockName"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"blockName"}),"(): ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.p,{children:"Aux function, need to get a block name. Need to have it here for inheritance"}),"\n",(0,n.jsx)(r.h4,{id:"returns-9",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"string"})}),"\n",(0,n.jsx)(r.p,{children:"Returns name of the block"}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-18",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/Constructed",children:"Constructed"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/Constructed#blockname",children:"blockName"})]})]})}function a(e={}){const{wrapper:r}={...(0,i.a)(),...e.components};return r?(0,n.jsx)(r,{...e,children:(0,n.jsx)(o,{...e})}):o(e)}},1151:(e,r,s)=>{s.d(r,{Z:()=>t,a:()=>l});var n=s(7294);const i={},d=n.createContext(i);function l(e){const r=n.useContext(d);return n.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function t(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:l(e.components),n.createElement(d.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/bc871e21.8696fd78.js b/assets/js/bc871e21.8696fd78.js new file mode 100644 index 0000000..2b7c69c --- /dev/null +++ b/assets/js/bc871e21.8696fd78.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[5055],{7392:(e,s,n)=>{n.r(s),n.d(s,{assets:()=>t,contentTitle:()=>d,default:()=>a,frontMatter:()=>i,metadata:()=>c,toc:()=>h});var r=n(5893),l=n(1151);const i={id:"EndOfContent",title:"Class: EndOfContent",sidebar_label:"EndOfContent",sidebar_position:0,custom_edit_url:null},d=void 0,c={id:"api/classes/EndOfContent",title:"Class: EndOfContent",description:"Hierarchy",source:"@site/docs/api/classes/EndOfContent.md",sourceDirName:"api/classes",slug:"/api/classes/EndOfContent",permalink:"/docs/api/classes/EndOfContent",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"EndOfContent",title:"Class: EndOfContent",sidebar_label:"EndOfContent",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"Duration",permalink:"/docs/api/classes/Duration"},next:{title:"Enumerated",permalink:"/docs/api/classes/Enumerated"}},t={},h=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Overrides",id:"overrides",level:4},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"valueBeforeDecodeView",id:"valuebeforedecodeview",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"valueBlock",id:"valueblock",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"NAME",id:"name-1",level:3},{value:"Overrides",id:"overrides-1",level:4},{value:"Accessors",id:"accessors",level:2},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Returns",id:"returns-1",level:4},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Methods",id:"methods",level:2},{value:"fromBER",id:"fromber",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"isEqual",id:"isequal",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-4",level:4},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"onAsciiEncoding",id:"onasciiencoding",level:3},{value:"Returns",id:"returns-5",level:4},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"toBER",id:"tober",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-6",level:4},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"toJSON",id:"tojson",level:3},{value:"Returns",id:"returns-7",level:4},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"toString",id:"tostring",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-8",level:4},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"blockName",id:"blockname",level:3},{value:"Returns",id:"returns-9",level:4},{value:"Inherited from",id:"inherited-from-18",level:4}];function o(e){const s={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,l.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,r.jsxs)(s.ul,{children:["\n",(0,r.jsxs)(s.li,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:(0,r.jsx)(s.code,{children:"BaseBlock"})}),"<",(0,r.jsx)(s.code,{children:"LocalEndOfContentValueBlock"}),">"]}),"\n",(0,r.jsxs)(s.p,{children:["\u21b3 ",(0,r.jsx)(s.strong,{children:(0,r.jsx)(s.code,{children:"EndOfContent"})})]}),"\n"]}),"\n"]}),"\n",(0,r.jsx)(s.h2,{id:"constructors",children:"Constructors"}),"\n",(0,r.jsx)(s.h3,{id:"constructor",children:"constructor"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"new EndOfContent"}),"(",(0,r.jsx)(s.code,{children:"parameters?"}),"): ",(0,r.jsx)(s.a,{href:"/docs/api/classes/EndOfContent",children:(0,r.jsx)(s.code,{children:"EndOfContent"})})]}),"\n",(0,r.jsx)(s.h4,{id:"parameters",children:"Parameters"}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,r.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{style:{textAlign:"left"},children:(0,r.jsx)(s.code,{children:"parameters"})}),(0,r.jsx)(s.td,{style:{textAlign:"left"},children:(0,r.jsx)(s.a,{href:"/docs/api/interfaces/BaseBlockParams",children:(0,r.jsx)(s.code,{children:"BaseBlockParams"})})})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"returns",children:"Returns"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"/docs/api/classes/EndOfContent",children:(0,r.jsx)(s.code,{children:"EndOfContent"})})}),"\n",(0,r.jsx)(s.h4,{id:"overrides",children:"Overrides"}),"\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,r.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#constructor",children:"constructor"})]}),"\n",(0,r.jsx)(s.h2,{id:"properties",children:"Properties"}),"\n",(0,r.jsx)(s.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"blockLength"}),": ",(0,r.jsx)(s.code,{children:"number"})]}),"\n",(0,r.jsx)(s.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,r.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#blocklength",children:"blockLength"})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"error",children:"error"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"error"}),": ",(0,r.jsx)(s.code,{children:"string"})]}),"\n",(0,r.jsx)(s.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,r.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#error",children:"error"})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"idblock",children:"idBlock"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"idBlock"}),": ",(0,r.jsx)(s.code,{children:"LocalIdentificationBlock"})]}),"\n",(0,r.jsx)(s.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,r.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#idblock",children:"idBlock"})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"lenBlock"}),": ",(0,r.jsx)(s.code,{children:"LocalLengthBlock"})]}),"\n",(0,r.jsx)(s.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,r.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#lenblock",children:"lenBlock"})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"name",children:"name"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"name"}),": ",(0,r.jsx)(s.code,{children:"string"})]}),"\n",(0,r.jsx)(s.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,r.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#name",children:"name"})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"optional",children:"optional"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"optional"}),": ",(0,r.jsx)(s.code,{children:"boolean"})]}),"\n",(0,r.jsx)(s.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,r.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#optional",children:"optional"})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.code,{children:"Optional"})," ",(0,r.jsx)(s.strong,{children:"primitiveSchema"}),": ",(0,r.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:(0,r.jsx)(s.code,{children:"BaseBlock"})}),"<",(0,r.jsx)(s.a,{href:"/docs/api/classes/ValueBlock",children:(0,r.jsx)(s.code,{children:"ValueBlock"})}),", ",(0,r.jsx)(s.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,r.jsx)(s.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,r.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#primitiveschema",children:"primitiveSchema"})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"valuebeforedecodeview",children:"valueBeforeDecodeView"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"valueBeforeDecodeView"}),": ",(0,r.jsx)(s.code,{children:"Uint8Array"})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:(0,r.jsx)(s.code,{children:"Since"})})}),"\n",(0,r.jsx)(s.p,{children:"3.0.0"}),"\n",(0,r.jsx)(s.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,r.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#valuebeforedecodeview",children:"valueBeforeDecodeView"})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"valueblock",children:"valueBlock"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"valueBlock"}),": ",(0,r.jsx)(s.code,{children:"LocalEndOfContentValueBlock"})]}),"\n",(0,r.jsx)(s.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,r.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#valueblock",children:"valueBlock"})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"warnings",children:"warnings"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"warnings"}),": ",(0,r.jsx)(s.code,{children:"string"}),"[]"]}),"\n",(0,r.jsx)(s.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,r.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#warnings",children:"warnings"})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"name-1",children:"NAME"}),"\n",(0,r.jsxs)(s.p,{children:["\u25aa ",(0,r.jsx)(s.code,{children:"Static"})," ",(0,r.jsx)(s.strong,{children:"NAME"}),": ",(0,r.jsx)(s.code,{children:"string"})," = ",(0,r.jsx)(s.code,{children:"END_OF_CONTENT_NAME"})]}),"\n",(0,r.jsx)(s.h4,{id:"overrides-1",children:"Overrides"}),"\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,r.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#name-1",children:"NAME"})]}),"\n",(0,r.jsx)(s.h2,{id:"accessors",children:"Accessors"}),"\n",(0,r.jsx)(s.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.code,{children:"get"})," ",(0,r.jsx)(s.strong,{children:"valueBeforeDecode"}),"(): ",(0,r.jsx)(s.code,{children:"ArrayBuffer"})]}),"\n",(0,r.jsx)(s.h4,{id:"returns-1",children:"Returns"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"ArrayBuffer"})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:(0,r.jsx)(s.code,{children:"Deprecated"})})}),"\n",(0,r.jsx)(s.p,{children:"since version 3.0.0"}),"\n",(0,r.jsx)(s.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,r.jsx)(s.p,{children:"BaseBlock.valueBeforeDecode"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.code,{children:"set"})," ",(0,r.jsx)(s.strong,{children:"valueBeforeDecode"}),"(",(0,r.jsx)(s.code,{children:"value"}),"): ",(0,r.jsx)(s.code,{children:"void"})]}),"\n",(0,r.jsx)(s.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,r.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{style:{textAlign:"left"},children:(0,r.jsx)(s.code,{children:"value"})}),(0,r.jsx)(s.td,{style:{textAlign:"left"},children:(0,r.jsx)(s.code,{children:"ArrayBuffer"})})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"returns-2",children:"Returns"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"void"})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:(0,r.jsx)(s.code,{children:"Deprecated"})})}),"\n",(0,r.jsx)(s.p,{children:"since version 3.0.0"}),"\n",(0,r.jsx)(s.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,r.jsx)(s.p,{children:"BaseBlock.valueBeforeDecode"}),"\n",(0,r.jsx)(s.h2,{id:"methods",children:"Methods"}),"\n",(0,r.jsx)(s.h3,{id:"fromber",children:"fromBER"}),"\n",(0,r.jsxs)(s.p,{children:["\u25b8 ",(0,r.jsx)(s.strong,{children:"fromBER"}),"(",(0,r.jsx)(s.code,{children:"inputBuffer"}),", ",(0,r.jsx)(s.code,{children:"inputOffset"}),", ",(0,r.jsx)(s.code,{children:"inputLength"}),"): ",(0,r.jsx)(s.code,{children:"number"})]}),"\n",(0,r.jsx)(s.p,{children:"Base function for converting block from BER encoded array of bytes"}),"\n",(0,r.jsx)(s.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,r.jsx)(s.th,{style:{textAlign:"left"},children:"Type"}),(0,r.jsx)(s.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{style:{textAlign:"left"},children:(0,r.jsx)(s.code,{children:"inputBuffer"})}),(0,r.jsxs)(s.td,{style:{textAlign:"left"},children:[(0,r.jsx)(s.code,{children:"Uint8Array"})," | ",(0,r.jsx)(s.code,{children:"ArrayBuffer"})]}),(0,r.jsx)(s.td,{style:{textAlign:"left"},children:"ASN.1 BER encoded array"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{style:{textAlign:"left"},children:(0,r.jsx)(s.code,{children:"inputOffset"})}),(0,r.jsx)(s.td,{style:{textAlign:"left"},children:(0,r.jsx)(s.code,{children:"number"})}),(0,r.jsx)(s.td,{style:{textAlign:"left"},children:"Offset in ASN.1 BER encoded array where decoding should be started"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{style:{textAlign:"left"},children:(0,r.jsx)(s.code,{children:"inputLength"})}),(0,r.jsx)(s.td,{style:{textAlign:"left"},children:(0,r.jsx)(s.code,{children:"number"})}),(0,r.jsx)(s.td,{style:{textAlign:"left"},children:"Maximum length of array of bytes which can be using in this function"})]})]})]}),"\n",(0,r.jsx)(s.h4,{id:"returns-3",children:"Returns"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"number"})}),"\n",(0,r.jsx)(s.p,{children:"Offset after least decoded byte"}),"\n",(0,r.jsx)(s.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,r.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#fromber",children:"fromBER"})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"isequal",children:"isEqual"}),"\n",(0,r.jsxs)(s.p,{children:["\u25b8 ",(0,r.jsx)(s.strong,{children:"isEqual"}),"(",(0,r.jsx)(s.code,{children:"other"}),"): other is EndOfContent"]}),"\n",(0,r.jsx)(s.p,{children:"Determines whether two object instances are equal"}),"\n",(0,r.jsx)(s.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,r.jsx)(s.th,{style:{textAlign:"left"},children:"Type"}),(0,r.jsx)(s.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{style:{textAlign:"left"},children:(0,r.jsx)(s.code,{children:"other"})}),(0,r.jsx)(s.td,{style:{textAlign:"left"},children:(0,r.jsx)(s.code,{children:"unknown"})}),(0,r.jsx)(s.td,{style:{textAlign:"left"},children:"Object to compare with the current object"})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"returns-4",children:"Returns"}),"\n",(0,r.jsx)(s.p,{children:"other is EndOfContent"}),"\n",(0,r.jsx)(s.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,r.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#isequal",children:"isEqual"})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"onasciiencoding",children:"onAsciiEncoding"}),"\n",(0,r.jsxs)(s.p,{children:["\u25b8 ",(0,r.jsx)(s.strong,{children:"onAsciiEncoding"}),"(): ",(0,r.jsx)(s.code,{children:"string"})]}),"\n",(0,r.jsx)(s.h4,{id:"returns-5",children:"Returns"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"string"})}),"\n",(0,r.jsx)(s.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,r.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#onasciiencoding",children:"onAsciiEncoding"})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"tober",children:"toBER"}),"\n",(0,r.jsxs)(s.p,{children:["\u25b8 ",(0,r.jsx)(s.strong,{children:"toBER"}),"(",(0,r.jsx)(s.code,{children:"sizeOnly?"}),", ",(0,r.jsx)(s.code,{children:"writer?"}),"): ",(0,r.jsx)(s.code,{children:"ArrayBuffer"})]}),"\n",(0,r.jsx)(s.p,{children:"Encoding of current ASN.1 block into ASN.1 encoded array (BER rules)"}),"\n",(0,r.jsx)(s.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,r.jsx)(s.th,{style:{textAlign:"left"},children:"Type"}),(0,r.jsx)(s.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{style:{textAlign:"left"},children:(0,r.jsx)(s.code,{children:"sizeOnly?"})}),(0,r.jsx)(s.td,{style:{textAlign:"left"},children:(0,r.jsx)(s.code,{children:"boolean"})}),(0,r.jsx)(s.td,{style:{textAlign:"left"},children:"Flag that we need only a size of encoding, not a real array of bytes"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{style:{textAlign:"left"},children:(0,r.jsx)(s.code,{children:"writer?"})}),(0,r.jsx)(s.td,{style:{textAlign:"left"},children:(0,r.jsx)(s.a,{href:"/docs/api/classes/ViewWriter",children:(0,r.jsx)(s.code,{children:"ViewWriter"})})}),(0,r.jsx)(s.td,{style:{textAlign:"left"},children:"-"})]})]})]}),"\n",(0,r.jsx)(s.h4,{id:"returns-6",children:"Returns"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"ArrayBuffer"})}),"\n",(0,r.jsx)(s.p,{children:"ASN.1 BER encoded array"}),"\n",(0,r.jsx)(s.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,r.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#tober",children:"toBER"})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"tojson",children:"toJSON"}),"\n",(0,r.jsxs)(s.p,{children:["\u25b8 ",(0,r.jsx)(s.strong,{children:"toJSON"}),"(): ",(0,r.jsx)(s.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,r.jsx)(s.code,{children:"BaseBlockJson"})}),"<",(0,r.jsx)(s.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,r.jsx)(s.h4,{id:"returns-7",children:"Returns"}),"\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,r.jsx)(s.code,{children:"BaseBlockJson"})}),"<",(0,r.jsx)(s.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,r.jsx)(s.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,r.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#tojson",children:"toJSON"})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"tostring",children:"toString"}),"\n",(0,r.jsxs)(s.p,{children:["\u25b8 ",(0,r.jsx)(s.strong,{children:"toString"}),"(",(0,r.jsx)(s.code,{children:"encoding?"}),"): ",(0,r.jsx)(s.code,{children:"string"})]}),"\n",(0,r.jsx)(s.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,r.jsx)(s.th,{style:{textAlign:"left"},children:"Type"}),(0,r.jsx)(s.th,{style:{textAlign:"left"},children:"Default value"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{style:{textAlign:"left"},children:(0,r.jsx)(s.code,{children:"encoding"})}),(0,r.jsx)(s.td,{style:{textAlign:"left"},children:(0,r.jsx)(s.a,{href:"../#stringencoding",children:(0,r.jsx)(s.code,{children:"StringEncoding"})})}),(0,r.jsx)(s.td,{style:{textAlign:"left"},children:(0,r.jsx)(s.code,{children:'"ascii"'})})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"returns-8",children:"Returns"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"string"})}),"\n",(0,r.jsx)(s.h4,{id:"inherited-from-17",children:"Inherited from"}),"\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,r.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#tostring",children:"toString"})]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"blockname",children:"blockName"}),"\n",(0,r.jsxs)(s.p,{children:["\u25b8 ",(0,r.jsx)(s.strong,{children:"blockName"}),"(): ",(0,r.jsx)(s.code,{children:"string"})]}),"\n",(0,r.jsx)(s.p,{children:"Aux function, need to get a block name. Need to have it here for inheritance"}),"\n",(0,r.jsx)(s.h4,{id:"returns-9",children:"Returns"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"string"})}),"\n",(0,r.jsx)(s.p,{children:"Returns name of the block"}),"\n",(0,r.jsx)(s.h4,{id:"inherited-from-18",children:"Inherited from"}),"\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,r.jsx)(s.a,{href:"/docs/api/classes/BaseBlock#blockname",children:"blockName"})]})]})}function a(e={}){const{wrapper:s}={...(0,l.a)(),...e.components};return s?(0,r.jsx)(s,{...e,children:(0,r.jsx)(o,{...e})}):o(e)}},1151:(e,s,n)=>{n.d(s,{Z:()=>c,a:()=>d});var r=n(7294);const l={},i=r.createContext(l);function d(e){const s=r.useContext(i);return r.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function c(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(l):e.components||l:d(e.components),r.createElement(i.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/c4e7b44f.36e7d951.js b/assets/js/c4e7b44f.36e7d951.js new file mode 100644 index 0000000..966daf3 --- /dev/null +++ b/assets/js/c4e7b44f.36e7d951.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4578],{1263:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>c,contentTitle:()=>s,default:()=>x,frontMatter:()=>d,metadata:()=>t,toc:()=>h});var i=n(5893),l=n(1151);const d={id:"NumericString",title:"Class: NumericString",sidebar_label:"NumericString",sidebar_position:0,custom_edit_url:null},s=void 0,t={id:"api/classes/NumericString",title:"Class: NumericString",description:"Hierarchy",source:"@site/docs/api/classes/NumericString.md",sourceDirName:"api/classes",slug:"/api/classes/NumericString",permalink:"/docs/api/classes/NumericString",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"NumericString",title:"Class: NumericString",sidebar_label:"NumericString",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"Null",permalink:"/docs/api/classes/Null"},next:{title:"ObjectIdentifier",permalink:"/docs/api/classes/ObjectIdentifier"}},c={},h=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Overrides",id:"overrides",level:4},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"valueBeforeDecodeView",id:"valuebeforedecodeview",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"valueBlock",id:"valueblock",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"NAME",id:"name-1",level:3},{value:"Overrides",id:"overrides-1",level:4},{value:"Accessors",id:"accessors",level:2},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Returns",id:"returns-1",level:4},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Methods",id:"methods",level:2},{value:"fromBER",id:"fromber",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"fromBuffer",id:"frombuffer",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-4",level:4},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"fromString",id:"fromstring",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-5",level:4},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"getValue",id:"getvalue",level:3},{value:"Returns",id:"returns-6",level:4},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"isEqual",id:"isequal",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-7",level:4},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"onAsciiEncoding",id:"onasciiencoding",level:3},{value:"Returns",id:"returns-8",level:4},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"setValue",id:"setvalue",level:3},{value:"Parameters",id:"parameters-6",level:4},{value:"Returns",id:"returns-9",level:4},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"toBER",id:"tober",level:3},{value:"Parameters",id:"parameters-7",level:4},{value:"Returns",id:"returns-10",level:4},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"toJSON",id:"tojson",level:3},{value:"Returns",id:"returns-11",level:4},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"toString",id:"tostring",level:3},{value:"Parameters",id:"parameters-8",level:4},{value:"Returns",id:"returns-12",level:4},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"blockName",id:"blockname",level:3},{value:"Returns",id:"returns-13",level:4},{value:"Inherited from",id:"inherited-from-22",level:4}];function o(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,l.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,i.jsxs)(r.ul,{children:["\n",(0,i.jsxs)(r.li,{children:["\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"LocalSimpleStringBlock"})}),"\n",(0,i.jsxs)(r.p,{children:["\u21b3 ",(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"NumericString"})})]}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(r.h2,{id:"constructors",children:"Constructors"}),"\n",(0,i.jsx)(r.h3,{id:"constructor",children:"constructor"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"new NumericString"}),"(",(0,i.jsx)(r.code,{children:"parameters?"}),"): ",(0,i.jsx)(r.a,{href:"/docs/api/classes/NumericString",children:(0,i.jsx)(r.code,{children:"NumericString"})})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"parameters"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"LocalSimpleStringBlockParams"})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.a,{href:"/docs/api/classes/NumericString",children:(0,i.jsx)(r.code,{children:"NumericString"})})}),"\n",(0,i.jsx)(r.h4,{id:"overrides",children:"Overrides"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.constructor"}),"\n",(0,i.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,i.jsx)(r.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"blockLength"}),": ",(0,i.jsx)(r.code,{children:"number"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.blockLength"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"error",children:"error"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"error"}),": ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.error"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"idblock",children:"idBlock"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"idBlock"}),": ",(0,i.jsx)(r.code,{children:"LocalIdentificationBlock"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.idBlock"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"lenBlock"}),": ",(0,i.jsx)(r.code,{children:"LocalLengthBlock"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.lenBlock"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"name",children:"name"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"name"}),": ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.name"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"optional",children:"optional"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"optional"}),": ",(0,i.jsx)(r.code,{children:"boolean"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.optional"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.code,{children:"Optional"})," ",(0,i.jsx)(r.strong,{children:"primitiveSchema"}),": ",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:(0,i.jsx)(r.code,{children:"BaseBlock"})}),"<",(0,i.jsx)(r.a,{href:"/docs/api/classes/ValueBlock",children:(0,i.jsx)(r.code,{children:"ValueBlock"})}),", ",(0,i.jsx)(r.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.primitiveSchema"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"valuebeforedecodeview",children:"valueBeforeDecodeView"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"valueBeforeDecodeView"}),": ",(0,i.jsx)(r.code,{children:"Uint8Array"})]}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Since"})})}),"\n",(0,i.jsx)(r.p,{children:"3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.valueBeforeDecodeView"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"valueblock",children:"valueBlock"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"valueBlock"}),": ",(0,i.jsx)(r.code,{children:"LocalSimpleStringValueBlock"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.valueBlock"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"warnings",children:"warnings"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"warnings"}),": ",(0,i.jsx)(r.code,{children:"string"}),"[]"]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.warnings"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"name-1",children:"NAME"}),"\n",(0,i.jsxs)(r.p,{children:["\u25aa ",(0,i.jsx)(r.code,{children:"Static"})," ",(0,i.jsx)(r.strong,{children:"NAME"}),": ",(0,i.jsx)(r.code,{children:"string"})," = ",(0,i.jsx)(r.code,{children:'"NumericString"'})]}),"\n",(0,i.jsx)(r.h4,{id:"overrides-1",children:"Overrides"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.NAME"}),"\n",(0,i.jsx)(r.h2,{id:"accessors",children:"Accessors"}),"\n",(0,i.jsx)(r.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.code,{children:"get"})," ",(0,i.jsx)(r.strong,{children:"valueBeforeDecode"}),"(): ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-1",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,i.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.valueBeforeDecode"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.code,{children:"set"})," ",(0,i.jsx)(r.strong,{children:"valueBeforeDecode"}),"(",(0,i.jsx)(r.code,{children:"value"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"value"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"ArrayBuffer"})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-2",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,i.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.valueBeforeDecode"}),"\n",(0,i.jsx)(r.h2,{id:"methods",children:"Methods"}),"\n",(0,i.jsx)(r.h3,{id:"fromber",children:"fromBER"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"fromBER"}),"(",(0,i.jsx)(r.code,{children:"inputBuffer"}),", ",(0,i.jsx)(r.code,{children:"inputOffset"}),", ",(0,i.jsx)(r.code,{children:"inputLength"}),"): ",(0,i.jsx)(r.code,{children:"number"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsxs)(r.tbody,{children:[(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputBuffer"})}),(0,i.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,i.jsx)(r.code,{children:"Uint8Array"})," | ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputOffset"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"number"})})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputLength"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"number"})})]})]})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-3",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"number"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.fromBER"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"frombuffer",children:"fromBuffer"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"fromBuffer"}),"(",(0,i.jsx)(r.code,{children:"inputBuffer"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputBuffer"})}),(0,i.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,i.jsx)(r.code,{children:"Uint8Array"})," | ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-4",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.fromBuffer"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"fromstring",children:"fromString"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"fromString"}),"(",(0,i.jsx)(r.code,{children:"inputString"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputString"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"string"})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-5",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.fromString"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"getvalue",children:"getValue"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"getValue"}),"(): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.p,{children:"String value"}),"\n",(0,i.jsx)(r.h4,{id:"returns-6",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Since"})})}),"\n",(0,i.jsx)(r.p,{children:"3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.getValue"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"isequal",children:"isEqual"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"isEqual"}),"(",(0,i.jsx)(r.code,{children:"other"}),"): other is NumericString"]}),"\n",(0,i.jsx)(r.p,{children:"Determines whether two object instances are equal"}),"\n",(0,i.jsx)(r.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"other"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"unknown"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:"Object to compare with the current object"})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-7",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:"other is NumericString"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.isEqual"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"onasciiencoding",children:"onAsciiEncoding"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"onAsciiEncoding"}),"(): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-8",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-17",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.onAsciiEncoding"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"setvalue",children:"setValue"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"setValue"}),"(",(0,i.jsx)(r.code,{children:"value"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.p,{children:"String value"}),"\n",(0,i.jsx)(r.h4,{id:"parameters-6",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"value"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"string"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:"String value"})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-9",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Since"})})}),"\n",(0,i.jsx)(r.p,{children:"3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-18",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.setValue"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"tober",children:"toBER"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"toBER"}),"(",(0,i.jsx)(r.code,{children:"sizeOnly?"}),", ",(0,i.jsx)(r.code,{children:"writer?"}),"): ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-7",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsxs)(r.tbody,{children:[(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"sizeOnly?"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"boolean"})})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"writer?"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.a,{href:"/docs/api/classes/ViewWriter",children:(0,i.jsx)(r.code,{children:"ViewWriter"})})})]})]})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-10",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-19",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.toBER"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"tojson",children:"toJSON"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"toJSON"}),"(): ",(0,i.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,i.jsx)(r.code,{children:"BaseBlockJson"})}),"<",(0,i.jsx)(r.code,{children:"LocalStringValueBlockJson"}),">"]}),"\n",(0,i.jsx)(r.h4,{id:"returns-11",children:"Returns"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,i.jsx)(r.code,{children:"BaseBlockJson"})}),"<",(0,i.jsx)(r.code,{children:"LocalStringValueBlockJson"}),">"]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-20",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.toJSON"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"tostring",children:"toString"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"toString"}),"(",(0,i.jsx)(r.code,{children:"encoding?"}),"): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-8",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Default value"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"encoding"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.a,{href:"../#stringencoding",children:(0,i.jsx)(r.code,{children:"StringEncoding"})})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:'"ascii"'})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-12",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-21",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.toString"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"blockname",children:"blockName"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"blockName"}),"(): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.p,{children:"Aux function, need to get a block name. Need to have it here for inheritance"}),"\n",(0,i.jsx)(r.h4,{id:"returns-13",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.p,{children:"Returns name of the block"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-22",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.blockName"})]})}function x(e={}){const{wrapper:r}={...(0,l.a)(),...e.components};return r?(0,i.jsx)(r,{...e,children:(0,i.jsx)(o,{...e})}):o(e)}},1151:(e,r,n)=>{n.d(r,{Z:()=>t,a:()=>s});var i=n(7294);const l={},d=i.createContext(l);function s(e){const r=i.useContext(d);return i.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function t(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(l):e.components||l:s(e.components),i.createElement(d.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/c708d43d.76331c0e.js b/assets/js/c708d43d.76331c0e.js new file mode 100644 index 0000000..8c6c078 --- /dev/null +++ b/assets/js/c708d43d.76331c0e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8286],{9315:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>c,contentTitle:()=>s,default:()=>x,frontMatter:()=>d,metadata:()=>t,toc:()=>h});var l=n(5893),i=n(1151);const d={id:"BmpString",title:"Class: BmpString",sidebar_label:"BmpString",sidebar_position:0,custom_edit_url:null},s=void 0,t={id:"api/classes/BmpString",title:"Class: BmpString",description:"Hierarchy",source:"@site/docs/api/classes/BmpString.md",sourceDirName:"api/classes",slug:"/api/classes/BmpString",permalink:"/docs/api/classes/BmpString",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"BmpString",title:"Class: BmpString",sidebar_label:"BmpString",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"BitString",permalink:"/docs/api/classes/BitString"},next:{title:"Boolean",permalink:"/docs/api/classes/Boolean"}},c={},h=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Overrides",id:"overrides",level:4},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"valueBeforeDecodeView",id:"valuebeforedecodeview",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"valueBlock",id:"valueblock",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"NAME",id:"name-1",level:3},{value:"Overrides",id:"overrides-1",level:4},{value:"Accessors",id:"accessors",level:2},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Returns",id:"returns-1",level:4},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Methods",id:"methods",level:2},{value:"fromBER",id:"fromber",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"fromBuffer",id:"frombuffer",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-4",level:4},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"fromString",id:"fromstring",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-5",level:4},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"getValue",id:"getvalue",level:3},{value:"Returns",id:"returns-6",level:4},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"isEqual",id:"isequal",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-7",level:4},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"onAsciiEncoding",id:"onasciiencoding",level:3},{value:"Returns",id:"returns-8",level:4},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"setValue",id:"setvalue",level:3},{value:"Parameters",id:"parameters-6",level:4},{value:"Returns",id:"returns-9",level:4},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"toBER",id:"tober",level:3},{value:"Parameters",id:"parameters-7",level:4},{value:"Returns",id:"returns-10",level:4},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"toJSON",id:"tojson",level:3},{value:"Returns",id:"returns-11",level:4},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"toString",id:"tostring",level:3},{value:"Parameters",id:"parameters-8",level:4},{value:"Returns",id:"returns-12",level:4},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"blockName",id:"blockname",level:3},{value:"Returns",id:"returns-13",level:4},{value:"Inherited from",id:"inherited-from-22",level:4}];function o(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.a)(),...e.components};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,l.jsxs)(r.ul,{children:["\n",(0,l.jsxs)(r.li,{children:["\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"LocalBmpStringValueBlock"})}),"\n",(0,l.jsxs)(r.p,{children:["\u21b3 ",(0,l.jsx)(r.strong,{children:(0,l.jsx)(r.code,{children:"BmpString"})})]}),"\n"]}),"\n"]}),"\n",(0,l.jsx)(r.h2,{id:"constructors",children:"Constructors"}),"\n",(0,l.jsx)(r.h3,{id:"constructor",children:"constructor"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"new BmpString"}),"(",(0,l.jsx)(r.code,{children:"\xabdestructured\xbb?"}),"): ",(0,l.jsx)(r.a,{href:"/docs/api/classes/BmpString",children:(0,l.jsx)(r.code,{children:"BmpString"})})]}),"\n",(0,l.jsx)(r.h4,{id:"parameters",children:"Parameters"}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,l.jsx)(r.tbody,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"\xabdestructured\xbb"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"LocalSimpleStringBlockParams"})})]})})]}),"\n",(0,l.jsx)(r.h4,{id:"returns",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.a,{href:"/docs/api/classes/BmpString",children:(0,l.jsx)(r.code,{children:"BmpString"})})}),"\n",(0,l.jsx)(r.h4,{id:"overrides",children:"Overrides"}),"\n",(0,l.jsx)(r.p,{children:"LocalBmpStringValueBlock.constructor"}),"\n",(0,l.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,l.jsx)(r.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"blockLength"}),": ",(0,l.jsx)(r.code,{children:"number"})]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalBmpStringValueBlock.blockLength"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"error",children:"error"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"error"}),": ",(0,l.jsx)(r.code,{children:"string"})]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalBmpStringValueBlock.error"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"idblock",children:"idBlock"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"idBlock"}),": ",(0,l.jsx)(r.code,{children:"LocalIdentificationBlock"})]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalBmpStringValueBlock.idBlock"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"lenBlock"}),": ",(0,l.jsx)(r.code,{children:"LocalLengthBlock"})]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalBmpStringValueBlock.lenBlock"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"name",children:"name"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"name"}),": ",(0,l.jsx)(r.code,{children:"string"})]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalBmpStringValueBlock.name"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"optional",children:"optional"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"optional"}),": ",(0,l.jsx)(r.code,{children:"boolean"})]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalBmpStringValueBlock.optional"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.code,{children:"Optional"})," ",(0,l.jsx)(r.strong,{children:"primitiveSchema"}),": ",(0,l.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:(0,l.jsx)(r.code,{children:"BaseBlock"})}),"<",(0,l.jsx)(r.a,{href:"/docs/api/classes/ValueBlock",children:(0,l.jsx)(r.code,{children:"ValueBlock"})}),", ",(0,l.jsx)(r.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalBmpStringValueBlock.primitiveSchema"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"valuebeforedecodeview",children:"valueBeforeDecodeView"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"valueBeforeDecodeView"}),": ",(0,l.jsx)(r.code,{children:"Uint8Array"})]}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.strong,{children:(0,l.jsx)(r.code,{children:"Since"})})}),"\n",(0,l.jsx)(r.p,{children:"3.0.0"}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalBmpStringValueBlock.valueBeforeDecodeView"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"valueblock",children:"valueBlock"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"valueBlock"}),": ",(0,l.jsx)(r.code,{children:"LocalSimpleStringValueBlock"})]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalBmpStringValueBlock.valueBlock"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"warnings",children:"warnings"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.strong,{children:"warnings"}),": ",(0,l.jsx)(r.code,{children:"string"}),"[]"]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalBmpStringValueBlock.warnings"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"name-1",children:"NAME"}),"\n",(0,l.jsxs)(r.p,{children:["\u25aa ",(0,l.jsx)(r.code,{children:"Static"})," ",(0,l.jsx)(r.strong,{children:"NAME"}),": ",(0,l.jsx)(r.code,{children:"string"})," = ",(0,l.jsx)(r.code,{children:'"BMPString"'})]}),"\n",(0,l.jsx)(r.h4,{id:"overrides-1",children:"Overrides"}),"\n",(0,l.jsx)(r.p,{children:"LocalBmpStringValueBlock.NAME"}),"\n",(0,l.jsx)(r.h2,{id:"accessors",children:"Accessors"}),"\n",(0,l.jsx)(r.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.code,{children:"get"})," ",(0,l.jsx)(r.strong,{children:"valueBeforeDecode"}),"(): ",(0,l.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-1",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.strong,{children:(0,l.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,l.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalBmpStringValueBlock.valueBeforeDecode"}),"\n",(0,l.jsxs)(r.p,{children:["\u2022 ",(0,l.jsx)(r.code,{children:"set"})," ",(0,l.jsx)(r.strong,{children:"valueBeforeDecode"}),"(",(0,l.jsx)(r.code,{children:"value"}),"): ",(0,l.jsx)(r.code,{children:"void"})]}),"\n",(0,l.jsx)(r.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,l.jsx)(r.tbody,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"value"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"ArrayBuffer"})})]})})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-2",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"void"})}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.strong,{children:(0,l.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,l.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalBmpStringValueBlock.valueBeforeDecode"}),"\n",(0,l.jsx)(r.h2,{id:"methods",children:"Methods"}),"\n",(0,l.jsx)(r.h3,{id:"fromber",children:"fromBER"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"fromBER"}),"(",(0,l.jsx)(r.code,{children:"inputBuffer"}),", ",(0,l.jsx)(r.code,{children:"inputOffset"}),", ",(0,l.jsx)(r.code,{children:"inputLength"}),"): ",(0,l.jsx)(r.code,{children:"number"})]}),"\n",(0,l.jsx)(r.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,l.jsxs)(r.tbody,{children:[(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"inputBuffer"})}),(0,l.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,l.jsx)(r.code,{children:"Uint8Array"})," | ",(0,l.jsx)(r.code,{children:"ArrayBuffer"})]})]}),(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"inputOffset"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"number"})})]}),(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"inputLength"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"number"})})]})]})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-3",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"number"})}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalBmpStringValueBlock.fromBER"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"frombuffer",children:"fromBuffer"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"fromBuffer"}),"(",(0,l.jsx)(r.code,{children:"inputBuffer"}),"): ",(0,l.jsx)(r.code,{children:"void"})]}),"\n",(0,l.jsx)(r.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,l.jsx)(r.tbody,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"inputBuffer"})}),(0,l.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,l.jsx)(r.code,{children:"Uint8Array"})," | ",(0,l.jsx)(r.code,{children:"ArrayBuffer"})]})]})})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-4",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"void"})}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalBmpStringValueBlock.fromBuffer"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"fromstring",children:"fromString"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"fromString"}),"(",(0,l.jsx)(r.code,{children:"inputString"}),"): ",(0,l.jsx)(r.code,{children:"void"})]}),"\n",(0,l.jsx)(r.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,l.jsx)(r.tbody,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"inputString"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"string"})})]})})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-5",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"void"})}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalBmpStringValueBlock.fromString"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"getvalue",children:"getValue"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"getValue"}),"(): ",(0,l.jsx)(r.code,{children:"string"})]}),"\n",(0,l.jsx)(r.p,{children:"String value"}),"\n",(0,l.jsx)(r.h4,{id:"returns-6",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"string"})}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.strong,{children:(0,l.jsx)(r.code,{children:"Since"})})}),"\n",(0,l.jsx)(r.p,{children:"3.0.0"}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalBmpStringValueBlock.getValue"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"isequal",children:"isEqual"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"isEqual"}),"(",(0,l.jsx)(r.code,{children:"other"}),"): other is BmpString"]}),"\n",(0,l.jsx)(r.p,{children:"Determines whether two object instances are equal"}),"\n",(0,l.jsx)(r.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,l.jsx)(r.tbody,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"other"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"unknown"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:"Object to compare with the current object"})]})})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-7",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:"other is BmpString"}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalBmpStringValueBlock.isEqual"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"onasciiencoding",children:"onAsciiEncoding"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"onAsciiEncoding"}),"(): ",(0,l.jsx)(r.code,{children:"string"})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-8",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"string"})}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-17",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalBmpStringValueBlock.onAsciiEncoding"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"setvalue",children:"setValue"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"setValue"}),"(",(0,l.jsx)(r.code,{children:"value"}),"): ",(0,l.jsx)(r.code,{children:"void"})]}),"\n",(0,l.jsx)(r.p,{children:"String value"}),"\n",(0,l.jsx)(r.h4,{id:"parameters-6",children:"Parameters"}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,l.jsx)(r.tbody,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"value"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"string"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:"String value"})]})})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-9",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"void"})}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.strong,{children:(0,l.jsx)(r.code,{children:"Since"})})}),"\n",(0,l.jsx)(r.p,{children:"3.0.0"}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-18",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalBmpStringValueBlock.setValue"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"tober",children:"toBER"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"toBER"}),"(",(0,l.jsx)(r.code,{children:"sizeOnly?"}),", ",(0,l.jsx)(r.code,{children:"writer?"}),"): ",(0,l.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,l.jsx)(r.h4,{id:"parameters-7",children:"Parameters"}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,l.jsxs)(r.tbody,{children:[(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"sizeOnly?"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"boolean"})})]}),(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"writer?"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.a,{href:"/docs/api/classes/ViewWriter",children:(0,l.jsx)(r.code,{children:"ViewWriter"})})})]})]})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-10",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-19",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalBmpStringValueBlock.toBER"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"tojson",children:"toJSON"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"toJSON"}),"(): ",(0,l.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,l.jsx)(r.code,{children:"BaseBlockJson"})}),"<",(0,l.jsx)(r.code,{children:"LocalStringValueBlockJson"}),">"]}),"\n",(0,l.jsx)(r.h4,{id:"returns-11",children:"Returns"}),"\n",(0,l.jsxs)(r.p,{children:[(0,l.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,l.jsx)(r.code,{children:"BaseBlockJson"})}),"<",(0,l.jsx)(r.code,{children:"LocalStringValueBlockJson"}),">"]}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-20",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalBmpStringValueBlock.toJSON"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"tostring",children:"toString"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"toString"}),"(",(0,l.jsx)(r.code,{children:"encoding?"}),"): ",(0,l.jsx)(r.code,{children:"string"})]}),"\n",(0,l.jsx)(r.h4,{id:"parameters-8",children:"Parameters"}),"\n",(0,l.jsxs)(r.table,{children:[(0,l.jsx)(r.thead,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,l.jsx)(r.th,{style:{textAlign:"left"},children:"Default value"})]})}),(0,l.jsx)(r.tbody,{children:(0,l.jsxs)(r.tr,{children:[(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:"encoding"})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.a,{href:"../#stringencoding",children:(0,l.jsx)(r.code,{children:"StringEncoding"})})}),(0,l.jsx)(r.td,{style:{textAlign:"left"},children:(0,l.jsx)(r.code,{children:'"ascii"'})})]})})]}),"\n",(0,l.jsx)(r.h4,{id:"returns-12",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"string"})}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-21",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalBmpStringValueBlock.toString"}),"\n",(0,l.jsx)(r.hr,{}),"\n",(0,l.jsx)(r.h3,{id:"blockname",children:"blockName"}),"\n",(0,l.jsxs)(r.p,{children:["\u25b8 ",(0,l.jsx)(r.strong,{children:"blockName"}),"(): ",(0,l.jsx)(r.code,{children:"string"})]}),"\n",(0,l.jsx)(r.p,{children:"Aux function, need to get a block name. Need to have it here for inheritance"}),"\n",(0,l.jsx)(r.h4,{id:"returns-13",children:"Returns"}),"\n",(0,l.jsx)(r.p,{children:(0,l.jsx)(r.code,{children:"string"})}),"\n",(0,l.jsx)(r.p,{children:"Returns name of the block"}),"\n",(0,l.jsx)(r.h4,{id:"inherited-from-22",children:"Inherited from"}),"\n",(0,l.jsx)(r.p,{children:"LocalBmpStringValueBlock.blockName"})]})}function x(e={}){const{wrapper:r}={...(0,i.a)(),...e.components};return r?(0,l.jsx)(r,{...e,children:(0,l.jsx)(o,{...e})}):o(e)}},1151:(e,r,n)=>{n.d(r,{Z:()=>t,a:()=>s});var l=n(7294);const i={},d=l.createContext(i);function s(e){const r=l.useContext(d);return l.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function t(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:s(e.components),l.createElement(d.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/c955d05a.e9e3b760.js b/assets/js/c955d05a.e9e3b760.js new file mode 100644 index 0000000..e491367 --- /dev/null +++ b/assets/js/c955d05a.e9e3b760.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[7815],{5749:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>c,contentTitle:()=>t,default:()=>a,frontMatter:()=>s,metadata:()=>d,toc:()=>o});var l=r(5893),i=r(1151);const s={id:"ValueBlock",title:"Class: ValueBlock",sidebar_label:"ValueBlock",sidebar_position:0,custom_edit_url:null},t=void 0,d={id:"api/classes/ValueBlock",title:"Class: ValueBlock",description:"Hierarchy",source:"@site/docs/api/classes/ValueBlock.md",sourceDirName:"api/classes",slug:"/api/classes/ValueBlock",permalink:"/docs/api/classes/ValueBlock",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"ValueBlock",title:"Class: ValueBlock",sidebar_label:"ValueBlock",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"Utf8String",permalink:"/docs/api/classes/Utf8String"},next:{title:"VideotexString",permalink:"/docs/api/classes/VideotexString"}},c={},o=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Implements",id:"implements",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Inherited from",id:"inherited-from",level:4},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Implementation of",id:"implementation-of",level:4},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"error",id:"error",level:3},{value:"Implementation of",id:"implementation-of-1",level:4},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"valueBeforeDecodeView",id:"valuebeforedecodeview",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"warnings",id:"warnings",level:3},{value:"Implementation of",id:"implementation-of-2",level:4},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"NAME",id:"name",level:3},{value:"Overrides",id:"overrides",level:4},{value:"Accessors",id:"accessors",level:2},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Returns",id:"returns-1",level:4},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"Methods",id:"methods",level:2},{value:"fromBER",id:"fromber",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Implementation of",id:"implementation-of-3",level:4},{value:"toBER",id:"tober",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-4",level:4},{value:"Implementation of",id:"implementation-of-4",level:4},{value:"toJSON",id:"tojson",level:3},{value:"Returns",id:"returns-5",level:4},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"blockName",id:"blockname",level:3},{value:"Returns",id:"returns-6",level:4},{value:"Inherited from",id:"inherited-from-8",level:4}];function h(e){const n={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.a)(),...e.components};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(n.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,l.jsxs)(n.ul,{children:["\n",(0,l.jsxs)(n.li,{children:["\n",(0,l.jsx)(n.p,{children:(0,l.jsx)(n.code,{children:"LocalBaseBlock"})}),"\n",(0,l.jsxs)(n.p,{children:["\u21b3 ",(0,l.jsx)(n.strong,{children:(0,l.jsx)(n.code,{children:"ValueBlock"})})]}),"\n"]}),"\n"]}),"\n",(0,l.jsx)(n.h2,{id:"implements",children:"Implements"}),"\n",(0,l.jsxs)(n.ul,{children:["\n",(0,l.jsx)(n.li,{children:(0,l.jsx)(n.a,{href:"../#ivalueblock",children:(0,l.jsx)(n.code,{children:"IValueBlock"})})}),"\n",(0,l.jsx)(n.li,{children:(0,l.jsx)(n.a,{href:"/docs/api/interfaces/IBerConvertible",children:(0,l.jsx)(n.code,{children:"IBerConvertible"})})}),"\n"]}),"\n",(0,l.jsx)(n.h2,{id:"constructors",children:"Constructors"}),"\n",(0,l.jsx)(n.h3,{id:"constructor",children:"constructor"}),"\n",(0,l.jsxs)(n.p,{children:["\u2022 ",(0,l.jsx)(n.strong,{children:"new ValueBlock"}),"(",(0,l.jsx)(n.code,{children:"param0?"}),"): ",(0,l.jsx)(n.a,{href:"/docs/api/classes/ValueBlock",children:(0,l.jsx)(n.code,{children:"ValueBlock"})})]}),"\n",(0,l.jsx)(n.p,{children:"Creates and initializes an object instance of that class"}),"\n",(0,l.jsx)(n.h4,{id:"parameters",children:"Parameters"}),"\n",(0,l.jsxs)(n.table,{children:[(0,l.jsx)(n.thead,{children:(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(n.th,{style:{textAlign:"left"},children:"Type"}),(0,l.jsx)(n.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,l.jsx)(n.tbody,{children:(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{style:{textAlign:"left"},children:(0,l.jsx)(n.code,{children:"param0"})}),(0,l.jsx)(n.td,{style:{textAlign:"left"},children:(0,l.jsx)(n.code,{children:"LocalBaseBlockParams"})}),(0,l.jsx)(n.td,{style:{textAlign:"left"},children:"Initialization parameters"})]})})]}),"\n",(0,l.jsx)(n.h4,{id:"returns",children:"Returns"}),"\n",(0,l.jsx)(n.p,{children:(0,l.jsx)(n.a,{href:"/docs/api/classes/ValueBlock",children:(0,l.jsx)(n.code,{children:"ValueBlock"})})}),"\n",(0,l.jsx)(n.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,l.jsx)(n.p,{children:"internals.LocalBaseBlock.constructor"}),"\n",(0,l.jsx)(n.h2,{id:"properties",children:"Properties"}),"\n",(0,l.jsx)(n.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,l.jsxs)(n.p,{children:["\u2022 ",(0,l.jsx)(n.strong,{children:"blockLength"}),": ",(0,l.jsx)(n.code,{children:"number"})]}),"\n",(0,l.jsx)(n.h4,{id:"implementation-of",children:"Implementation of"}),"\n",(0,l.jsx)(n.p,{children:"IValueBlock.blockLength"}),"\n",(0,l.jsx)(n.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,l.jsx)(n.p,{children:"internals.LocalBaseBlock.blockLength"}),"\n",(0,l.jsx)(n.hr,{}),"\n",(0,l.jsx)(n.h3,{id:"error",children:"error"}),"\n",(0,l.jsxs)(n.p,{children:["\u2022 ",(0,l.jsx)(n.strong,{children:"error"}),": ",(0,l.jsx)(n.code,{children:"string"})]}),"\n",(0,l.jsx)(n.h4,{id:"implementation-of-1",children:"Implementation of"}),"\n",(0,l.jsx)(n.p,{children:"IValueBlock.error"}),"\n",(0,l.jsx)(n.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,l.jsx)(n.p,{children:"internals.LocalBaseBlock.error"}),"\n",(0,l.jsx)(n.hr,{}),"\n",(0,l.jsx)(n.h3,{id:"valuebeforedecodeview",children:"valueBeforeDecodeView"}),"\n",(0,l.jsxs)(n.p,{children:["\u2022 ",(0,l.jsx)(n.strong,{children:"valueBeforeDecodeView"}),": ",(0,l.jsx)(n.code,{children:"Uint8Array"})]}),"\n",(0,l.jsx)(n.p,{children:(0,l.jsx)(n.strong,{children:(0,l.jsx)(n.code,{children:"Since"})})}),"\n",(0,l.jsx)(n.p,{children:"3.0.0"}),"\n",(0,l.jsx)(n.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,l.jsx)(n.p,{children:"internals.LocalBaseBlock.valueBeforeDecodeView"}),"\n",(0,l.jsx)(n.hr,{}),"\n",(0,l.jsx)(n.h3,{id:"warnings",children:"warnings"}),"\n",(0,l.jsxs)(n.p,{children:["\u2022 ",(0,l.jsx)(n.strong,{children:"warnings"}),": ",(0,l.jsx)(n.code,{children:"string"}),"[]"]}),"\n",(0,l.jsx)(n.h4,{id:"implementation-of-2",children:"Implementation of"}),"\n",(0,l.jsx)(n.p,{children:"IValueBlock.warnings"}),"\n",(0,l.jsx)(n.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,l.jsx)(n.p,{children:"internals.LocalBaseBlock.warnings"}),"\n",(0,l.jsx)(n.hr,{}),"\n",(0,l.jsx)(n.h3,{id:"name",children:"NAME"}),"\n",(0,l.jsxs)(n.p,{children:["\u25aa ",(0,l.jsx)(n.code,{children:"Static"})," ",(0,l.jsx)(n.strong,{children:"NAME"}),": ",(0,l.jsx)(n.code,{children:"string"})," = ",(0,l.jsx)(n.code,{children:'"valueBlock"'})]}),"\n",(0,l.jsx)(n.h4,{id:"overrides",children:"Overrides"}),"\n",(0,l.jsx)(n.p,{children:"internals.LocalBaseBlock.NAME"}),"\n",(0,l.jsx)(n.h2,{id:"accessors",children:"Accessors"}),"\n",(0,l.jsx)(n.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,l.jsxs)(n.p,{children:["\u2022 ",(0,l.jsx)(n.code,{children:"get"})," ",(0,l.jsx)(n.strong,{children:"valueBeforeDecode"}),"(): ",(0,l.jsx)(n.code,{children:"ArrayBuffer"})]}),"\n",(0,l.jsx)(n.h4,{id:"returns-1",children:"Returns"}),"\n",(0,l.jsx)(n.p,{children:(0,l.jsx)(n.code,{children:"ArrayBuffer"})}),"\n",(0,l.jsx)(n.p,{children:(0,l.jsx)(n.strong,{children:(0,l.jsx)(n.code,{children:"Deprecated"})})}),"\n",(0,l.jsx)(n.p,{children:"since version 3.0.0"}),"\n",(0,l.jsx)(n.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,l.jsx)(n.p,{children:"internals.LocalBaseBlock.valueBeforeDecode"}),"\n",(0,l.jsxs)(n.p,{children:["\u2022 ",(0,l.jsx)(n.code,{children:"set"})," ",(0,l.jsx)(n.strong,{children:"valueBeforeDecode"}),"(",(0,l.jsx)(n.code,{children:"value"}),"): ",(0,l.jsx)(n.code,{children:"void"})]}),"\n",(0,l.jsx)(n.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,l.jsxs)(n.table,{children:[(0,l.jsx)(n.thead,{children:(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(n.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,l.jsx)(n.tbody,{children:(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{style:{textAlign:"left"},children:(0,l.jsx)(n.code,{children:"value"})}),(0,l.jsx)(n.td,{style:{textAlign:"left"},children:(0,l.jsx)(n.code,{children:"ArrayBuffer"})})]})})]}),"\n",(0,l.jsx)(n.h4,{id:"returns-2",children:"Returns"}),"\n",(0,l.jsx)(n.p,{children:(0,l.jsx)(n.code,{children:"void"})}),"\n",(0,l.jsx)(n.p,{children:(0,l.jsx)(n.strong,{children:(0,l.jsx)(n.code,{children:"Deprecated"})})}),"\n",(0,l.jsx)(n.p,{children:"since version 3.0.0"}),"\n",(0,l.jsx)(n.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,l.jsx)(n.p,{children:"internals.LocalBaseBlock.valueBeforeDecode"}),"\n",(0,l.jsx)(n.h2,{id:"methods",children:"Methods"}),"\n",(0,l.jsx)(n.h3,{id:"fromber",children:"fromBER"}),"\n",(0,l.jsxs)(n.p,{children:["\u25b8 ",(0,l.jsx)(n.strong,{children:"fromBER"}),"(",(0,l.jsx)(n.code,{children:"inputBuffer"}),", ",(0,l.jsx)(n.code,{children:"inputOffset"}),", ",(0,l.jsx)(n.code,{children:"inputLength"}),"): ",(0,l.jsx)(n.code,{children:"number"})]}),"\n",(0,l.jsx)(n.p,{children:"Base function for converting block from BER encoded array of bytes"}),"\n",(0,l.jsx)(n.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,l.jsxs)(n.table,{children:[(0,l.jsx)(n.thead,{children:(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(n.th,{style:{textAlign:"left"},children:"Type"}),(0,l.jsx)(n.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,l.jsxs)(n.tbody,{children:[(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{style:{textAlign:"left"},children:(0,l.jsx)(n.code,{children:"inputBuffer"})}),(0,l.jsxs)(n.td,{style:{textAlign:"left"},children:[(0,l.jsx)(n.code,{children:"Uint8Array"})," | ",(0,l.jsx)(n.code,{children:"ArrayBuffer"})]}),(0,l.jsx)(n.td,{style:{textAlign:"left"},children:"ASN.1 BER encoded array"})]}),(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{style:{textAlign:"left"},children:(0,l.jsx)(n.code,{children:"inputOffset"})}),(0,l.jsx)(n.td,{style:{textAlign:"left"},children:(0,l.jsx)(n.code,{children:"number"})}),(0,l.jsx)(n.td,{style:{textAlign:"left"},children:"Offset in ASN.1 BER encoded array where decoding should be started"})]}),(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{style:{textAlign:"left"},children:(0,l.jsx)(n.code,{children:"inputLength"})}),(0,l.jsx)(n.td,{style:{textAlign:"left"},children:(0,l.jsx)(n.code,{children:"number"})}),(0,l.jsx)(n.td,{style:{textAlign:"left"},children:"Maximum length of array of bytes which can be using in this function"})]})]})]}),"\n",(0,l.jsx)(n.h4,{id:"returns-3",children:"Returns"}),"\n",(0,l.jsx)(n.p,{children:(0,l.jsx)(n.code,{children:"number"})}),"\n",(0,l.jsx)(n.p,{children:"Offset after least decoded byte"}),"\n",(0,l.jsx)(n.h4,{id:"implementation-of-3",children:"Implementation of"}),"\n",(0,l.jsxs)(n.p,{children:[(0,l.jsx)(n.a,{href:"/docs/api/interfaces/IBerConvertible",children:"IBerConvertible"}),".",(0,l.jsx)(n.a,{href:"/docs/api/interfaces/IBerConvertible#fromber",children:"fromBER"})]}),"\n",(0,l.jsx)(n.hr,{}),"\n",(0,l.jsx)(n.h3,{id:"tober",children:"toBER"}),"\n",(0,l.jsxs)(n.p,{children:["\u25b8 ",(0,l.jsx)(n.strong,{children:"toBER"}),"(",(0,l.jsx)(n.code,{children:"sizeOnly?"}),", ",(0,l.jsx)(n.code,{children:"writer?"}),"): ",(0,l.jsx)(n.code,{children:"ArrayBuffer"})]}),"\n",(0,l.jsx)(n.p,{children:"Encoding of current ASN.1 block into ASN.1 encoded array (BER rules)"}),"\n",(0,l.jsx)(n.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,l.jsxs)(n.table,{children:[(0,l.jsx)(n.thead,{children:(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.th,{style:{textAlign:"left"},children:"Name"}),(0,l.jsx)(n.th,{style:{textAlign:"left"},children:"Type"}),(0,l.jsx)(n.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,l.jsxs)(n.tbody,{children:[(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{style:{textAlign:"left"},children:(0,l.jsx)(n.code,{children:"sizeOnly?"})}),(0,l.jsx)(n.td,{style:{textAlign:"left"},children:(0,l.jsx)(n.code,{children:"boolean"})}),(0,l.jsx)(n.td,{style:{textAlign:"left"},children:"Flag that we need only a size of encoding, not a real array of bytes"})]}),(0,l.jsxs)(n.tr,{children:[(0,l.jsx)(n.td,{style:{textAlign:"left"},children:(0,l.jsx)(n.code,{children:"writer?"})}),(0,l.jsx)(n.td,{style:{textAlign:"left"},children:(0,l.jsx)(n.a,{href:"/docs/api/classes/ViewWriter",children:(0,l.jsx)(n.code,{children:"ViewWriter"})})}),(0,l.jsx)(n.td,{style:{textAlign:"left"},children:"-"})]})]})]}),"\n",(0,l.jsx)(n.h4,{id:"returns-4",children:"Returns"}),"\n",(0,l.jsx)(n.p,{children:(0,l.jsx)(n.code,{children:"ArrayBuffer"})}),"\n",(0,l.jsx)(n.p,{children:"ASN.1 BER encoded array"}),"\n",(0,l.jsx)(n.h4,{id:"implementation-of-4",children:"Implementation of"}),"\n",(0,l.jsxs)(n.p,{children:[(0,l.jsx)(n.a,{href:"/docs/api/interfaces/IBerConvertible",children:"IBerConvertible"}),".",(0,l.jsx)(n.a,{href:"/docs/api/interfaces/IBerConvertible#tober",children:"toBER"})]}),"\n",(0,l.jsx)(n.hr,{}),"\n",(0,l.jsx)(n.h3,{id:"tojson",children:"toJSON"}),"\n",(0,l.jsxs)(n.p,{children:["\u25b8 ",(0,l.jsx)(n.strong,{children:"toJSON"}),"(): ",(0,l.jsx)(n.code,{children:"LocalBaseBlockJson"})]}),"\n",(0,l.jsx)(n.p,{children:"Returns a JSON representation of an object"}),"\n",(0,l.jsx)(n.h4,{id:"returns-5",children:"Returns"}),"\n",(0,l.jsx)(n.p,{children:(0,l.jsx)(n.code,{children:"LocalBaseBlockJson"})}),"\n",(0,l.jsx)(n.p,{children:"JSON object"}),"\n",(0,l.jsx)(n.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,l.jsx)(n.p,{children:"internals.LocalBaseBlock.toJSON"}),"\n",(0,l.jsx)(n.hr,{}),"\n",(0,l.jsx)(n.h3,{id:"blockname",children:"blockName"}),"\n",(0,l.jsxs)(n.p,{children:["\u25b8 ",(0,l.jsx)(n.strong,{children:"blockName"}),"(): ",(0,l.jsx)(n.code,{children:"string"})]}),"\n",(0,l.jsx)(n.p,{children:"Aux function, need to get a block name. Need to have it here for inheritance"}),"\n",(0,l.jsx)(n.h4,{id:"returns-6",children:"Returns"}),"\n",(0,l.jsx)(n.p,{children:(0,l.jsx)(n.code,{children:"string"})}),"\n",(0,l.jsx)(n.p,{children:"Returns name of the block"}),"\n",(0,l.jsx)(n.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,l.jsx)(n.p,{children:"internals.LocalBaseBlock.blockName"})]})}function a(e={}){const{wrapper:n}={...(0,i.a)(),...e.components};return n?(0,l.jsx)(n,{...e,children:(0,l.jsx)(h,{...e})}):h(e)}},1151:(e,n,r)=>{r.d(n,{Z:()=>d,a:()=>t});var l=r(7294);const i={},s=l.createContext(i);function t(e){const n=l.useContext(s);return l.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function d(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:t(e.components),l.createElement(s.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/c9e84786.94e4e5c5.js b/assets/js/c9e84786.94e4e5c5.js new file mode 100644 index 0000000..d9083a5 --- /dev/null +++ b/assets/js/c9e84786.94e4e5c5.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4024],{8636:(e,r,t)=>{t.r(r),t.d(r,{assets:()=>c,contentTitle:()=>l,default:()=>h,frontMatter:()=>n,metadata:()=>d,toc:()=>o});var s=t(5893),i=t(1151);const n={id:"ViewWriter",title:"Class: ViewWriter",sidebar_label:"ViewWriter",sidebar_position:0,custom_edit_url:null},l=void 0,d={id:"api/classes/ViewWriter",title:"Class: ViewWriter",description:"Constructors",source:"@site/docs/api/classes/ViewWriter.md",sourceDirName:"api/classes",slug:"/api/classes/ViewWriter",permalink:"/docs/api/classes/ViewWriter",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"ViewWriter",title:"Class: ViewWriter",sidebar_label:"ViewWriter",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"VideotexString",permalink:"/docs/api/classes/VideotexString"},next:{title:"VisibleString",permalink:"/docs/api/classes/VisibleString"}},c={},o=[{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Returns",id:"returns",level:4},{value:"Properties",id:"properties",level:2},{value:"items",id:"items",level:3},{value:"Methods",id:"methods",level:2},{value:"final",id:"final",level:3},{value:"Returns",id:"returns-1",level:4},{value:"write",id:"write",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns-2",level:4}];function a(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,i.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.h2,{id:"constructors",children:"Constructors"}),"\n",(0,s.jsx)(r.h3,{id:"constructor",children:"constructor"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"new ViewWriter"}),"(): ",(0,s.jsx)(r.a,{href:"/docs/api/classes/ViewWriter",children:(0,s.jsx)(r.code,{children:"ViewWriter"})})]}),"\n",(0,s.jsx)(r.h4,{id:"returns",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"/docs/api/classes/ViewWriter",children:(0,s.jsx)(r.code,{children:"ViewWriter"})})}),"\n",(0,s.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,s.jsx)(r.h3,{id:"items",children:"items"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"items"}),": ",(0,s.jsx)(r.code,{children:"ArrayBuffer"}),"[] = ",(0,s.jsx)(r.code,{children:"[]"})]}),"\n",(0,s.jsx)(r.h2,{id:"methods",children:"Methods"}),"\n",(0,s.jsx)(r.h3,{id:"final",children:"final"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"final"}),"(): ",(0,s.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,s.jsx)(r.p,{children:"Concatenates all buffers"}),"\n",(0,s.jsx)(r.h4,{id:"returns-1",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,s.jsx)(r.p,{children:"Concatenated buffer"}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"write",children:"write"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"write"}),"(",(0,s.jsx)(r.code,{children:"buf"}),"): ",(0,s.jsx)(r.code,{children:"void"})]}),"\n",(0,s.jsx)(r.p,{children:"Writes buffer"}),"\n",(0,s.jsx)(r.h4,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,s.jsx)(r.tbody,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"buf"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"ArrayBuffer"})})]})})]}),"\n",(0,s.jsx)(r.h4,{id:"returns-2",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.code,{children:"void"})})]})}function h(e={}){const{wrapper:r}={...(0,i.a)(),...e.components};return r?(0,s.jsx)(r,{...e,children:(0,s.jsx)(a,{...e})}):a(e)}},1151:(e,r,t)=>{t.d(r,{Z:()=>d,a:()=>l});var s=t(7294);const i={},n=s.createContext(i);function l(e){const r=s.useContext(n);return s.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function d(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:l(e.components),s.createElement(n.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/cb5be62c.5d502d02.js b/assets/js/cb5be62c.5d502d02.js new file mode 100644 index 0000000..8cc298f --- /dev/null +++ b/assets/js/cb5be62c.5d502d02.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[694],{22:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>d,contentTitle:()=>a,default:()=>h,frontMatter:()=>s,metadata:()=>l,toc:()=>c});var r=i(5893),t=i(1151);const s={id:"IRepeated",title:"Interface: IRepeated",sidebar_label:"IRepeated",sidebar_position:0,custom_edit_url:null},a=void 0,l={id:"api/interfaces/IRepeated",title:"Interface: IRepeated",description:"Hierarchy",source:"@site/docs/api/interfaces/IRepeated.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/IRepeated",permalink:"/docs/api/interfaces/IRepeated",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"IRepeated",title:"Interface: IRepeated",sidebar_label:"IRepeated",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"IRawData",permalink:"/docs/api/interfaces/IRawData"},next:{title:"IStringConvertible",permalink:"/docs/api/interfaces/IStringConvertible"}},d={},c=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"local",id:"local",level:3},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"value",id:"value",level:3}];function o(e){const n={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,t.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"/docs/api/interfaces/IAny",children:(0,r.jsx)(n.code,{children:"IAny"})})}),"\n",(0,r.jsxs)(n.p,{children:["\u21b3 ",(0,r.jsx)(n.strong,{children:(0,r.jsx)(n.code,{children:"IRepeated"})})]}),"\n"]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"properties",children:"Properties"}),"\n",(0,r.jsx)(n.h3,{id:"local",children:"local"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"local"}),": ",(0,r.jsx)(n.code,{children:"boolean"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"name",children:"name"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"name"}),": ",(0,r.jsx)(n.code,{children:"string"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/IAny",children:"IAny"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/IAny#name",children:"name"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"optional",children:"optional"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"optional"}),": ",(0,r.jsx)(n.code,{children:"boolean"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/IAny",children:"IAny"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/IAny#optional",children:"optional"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"value",children:"value"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"value"}),": ",(0,r.jsx)(n.a,{href:"/docs/api/classes/Any",children:(0,r.jsx)(n.code,{children:"Any"})})]})]})}function h(e={}){const{wrapper:n}={...(0,t.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(o,{...e})}):o(e)}},1151:(e,n,i)=>{i.d(n,{Z:()=>l,a:()=>a});var r=i(7294);const t={},s=r.createContext(t);function a(e){const n=r.useContext(s);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:a(e.components),r.createElement(s.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/d612a68c.558f9b3f.js b/assets/js/d612a68c.558f9b3f.js new file mode 100644 index 0000000..2db6b04 --- /dev/null +++ b/assets/js/d612a68c.558f9b3f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[6453],{5632:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>d,contentTitle:()=>c,default:()=>h,frontMatter:()=>l,metadata:()=>o,toc:()=>a});var r=i(5893),s=i(1151);const l={id:"RelativeObjectIdentifierJson",title:"Interface: RelativeObjectIdentifierJson",sidebar_label:"RelativeObjectIdentifierJson",sidebar_position:0,custom_edit_url:null},c=void 0,o={id:"api/interfaces/RelativeObjectIdentifierJson",title:"Interface: RelativeObjectIdentifierJson",description:"Hierarchy",source:"@site/docs/api/interfaces/RelativeObjectIdentifierJson.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/RelativeObjectIdentifierJson",permalink:"/docs/api/interfaces/RelativeObjectIdentifierJson",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"RelativeObjectIdentifierJson",title:"Interface: RelativeObjectIdentifierJson",sidebar_label:"RelativeObjectIdentifierJson",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"PrimitiveParams",permalink:"/docs/api/interfaces/PrimitiveParams"},next:{title:"RelativeObjectIdentifierParams",permalink:"/docs/api/interfaces/RelativeObjectIdentifierParams"}},d={},a=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"blockName",id:"blockname",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"value",id:"value",level:3},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"valueBlock",id:"valueblock",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-10",level:4}];function t(e){const n={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,s.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,r.jsx)(n.code,{children:"BaseBlockJson"})}),"<",(0,r.jsx)(n.code,{children:"LocalRelativeObjectIdentifierValueBlockJson"}),">"]}),"\n",(0,r.jsxs)(n.p,{children:["\u21b3 ",(0,r.jsx)(n.strong,{children:(0,r.jsx)(n.code,{children:"RelativeObjectIdentifierJson"})})]}),"\n"]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"properties",children:"Properties"}),"\n",(0,r.jsx)(n.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"blockLength"}),": ",(0,r.jsx)(n.code,{children:"number"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson",children:"BaseBlockJson"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson#blocklength",children:"blockLength"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"blockname",children:"blockName"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"blockName"}),": ",(0,r.jsx)(n.code,{children:"string"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson",children:"BaseBlockJson"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson#blockname",children:"blockName"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"error",children:"error"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"error"}),": ",(0,r.jsx)(n.code,{children:"string"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson",children:"BaseBlockJson"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson#error",children:"error"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"idblock",children:"idBlock"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"idBlock"}),": ",(0,r.jsx)(n.code,{children:"LocalIdentificationBlockJson"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson",children:"BaseBlockJson"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson#idblock",children:"idBlock"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"lenBlock"}),": ",(0,r.jsx)(n.code,{children:"LocalLengthBlockJson"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson",children:"BaseBlockJson"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson#lenblock",children:"lenBlock"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"name",children:"name"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"name"}),": ",(0,r.jsx)(n.code,{children:"string"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson",children:"BaseBlockJson"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson#name",children:"name"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"optional",children:"optional"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"optional"}),": ",(0,r.jsx)(n.code,{children:"boolean"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson",children:"BaseBlockJson"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson#optional",children:"optional"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.code,{children:"Optional"})," ",(0,r.jsx)(n.strong,{children:"primitiveSchema"}),": ",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,r.jsx)(n.code,{children:"BaseBlockJson"})}),"<",(0,r.jsx)(n.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson",children:"BaseBlockJson"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson#primitiveschema",children:"primitiveSchema"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"value",children:"value"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"value"}),": ",(0,r.jsx)(n.code,{children:"string"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"valueBeforeDecode"}),": ",(0,r.jsx)(n.code,{children:"string"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson",children:"BaseBlockJson"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson#valuebeforedecode",children:"valueBeforeDecode"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"valueblock",children:"valueBlock"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"valueBlock"}),": ",(0,r.jsx)(n.code,{children:"LocalRelativeObjectIdentifierValueBlockJson"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson",children:"BaseBlockJson"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson#valueblock",children:"valueBlock"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"warnings",children:"warnings"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"warnings"}),": ",(0,r.jsx)(n.code,{children:"string"}),"[]"]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson",children:"BaseBlockJson"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson#warnings",children:"warnings"})]})]})}function h(e={}){const{wrapper:n}={...(0,s.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(t,{...e})}):t(e)}},1151:(e,n,i)=>{i.d(n,{Z:()=>o,a:()=>c});var r=i(7294);const s={},l=r.createContext(s);function c(e){const n=r.useContext(l);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:c(e.components),r.createElement(l.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/d85db04f.4a172987.js b/assets/js/d85db04f.4a172987.js new file mode 100644 index 0000000..56aeb75 --- /dev/null +++ b/assets/js/d85db04f.4a172987.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[7506],{9735:(e,s,i)=>{i.r(s),i.d(s,{assets:()=>o,contentTitle:()=>c,default:()=>h,frontMatter:()=>l,metadata:()=>t,toc:()=>d});var n=i(5893),r=i(1151);const l={id:"Choice",title:"Class: Choice",sidebar_label:"Choice",sidebar_position:0,custom_edit_url:null},c=void 0,t={id:"api/classes/Choice",title:"Class: Choice",description:"Hierarchy",source:"@site/docs/api/classes/Choice.md",sourceDirName:"api/classes",slug:"/api/classes/Choice",permalink:"/docs/api/classes/Choice",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"Choice",title:"Class: Choice",sidebar_label:"Choice",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"CharacterString",permalink:"/docs/api/classes/CharacterString"},next:{title:"Constructed",permalink:"/docs/api/classes/Constructed"}},o={},d=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Implements",id:"implements",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Overrides",id:"overrides",level:4},{value:"Properties",id:"properties",level:2},{value:"name",id:"name",level:3},{value:"Implementation of",id:"implementation-of",level:4},{value:"Inherited from",id:"inherited-from",level:4},{value:"optional",id:"optional",level:3},{value:"Implementation of",id:"implementation-of-1",level:4},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"value",id:"value",level:3},{value:"Implementation of",id:"implementation-of-2",level:4}];function a(e){const s={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,r.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsxs)(s.li,{children:["\n",(0,n.jsx)(s.p,{children:(0,n.jsx)(s.a,{href:"/docs/api/classes/Any",children:(0,n.jsx)(s.code,{children:"Any"})})}),"\n",(0,n.jsxs)(s.p,{children:["\u21b3 ",(0,n.jsx)(s.strong,{children:(0,n.jsx)(s.code,{children:"Choice"})})]}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(s.h2,{id:"implements",children:"Implements"}),"\n",(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsx)(s.li,{children:(0,n.jsx)(s.a,{href:"/docs/api/interfaces/IChoice",children:(0,n.jsx)(s.code,{children:"IChoice"})})}),"\n"]}),"\n",(0,n.jsx)(s.h2,{id:"constructors",children:"Constructors"}),"\n",(0,n.jsx)(s.h3,{id:"constructor",children:"constructor"}),"\n",(0,n.jsxs)(s.p,{children:["\u2022 ",(0,n.jsx)(s.strong,{children:"new Choice"}),"(",(0,n.jsx)(s.code,{children:"\xabdestructured\xbb?"}),"): ",(0,n.jsx)(s.a,{href:"/docs/api/classes/Choice",children:(0,n.jsx)(s.code,{children:"Choice"})})]}),"\n",(0,n.jsx)(s.h4,{id:"parameters",children:"Parameters"}),"\n",(0,n.jsxs)(s.table,{children:[(0,n.jsx)(s.thead,{children:(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(s.tbody,{children:(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{style:{textAlign:"left"},children:(0,n.jsx)(s.code,{children:"\xabdestructured\xbb"})}),(0,n.jsxs)(s.td,{style:{textAlign:"left"},children:[(0,n.jsx)(s.code,{children:"Partial"}),"<",(0,n.jsx)(s.a,{href:"/docs/api/interfaces/IChoice",children:(0,n.jsx)(s.code,{children:"IChoice"})}),">"]})]})})]}),"\n",(0,n.jsx)(s.h4,{id:"returns",children:"Returns"}),"\n",(0,n.jsx)(s.p,{children:(0,n.jsx)(s.a,{href:"/docs/api/classes/Choice",children:(0,n.jsx)(s.code,{children:"Choice"})})}),"\n",(0,n.jsx)(s.h4,{id:"overrides",children:"Overrides"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/classes/Any",children:"Any"}),".",(0,n.jsx)(s.a,{href:"/docs/api/classes/Any#constructor",children:"constructor"})]}),"\n",(0,n.jsx)(s.h2,{id:"properties",children:"Properties"}),"\n",(0,n.jsx)(s.h3,{id:"name",children:"name"}),"\n",(0,n.jsxs)(s.p,{children:["\u2022 ",(0,n.jsx)(s.strong,{children:"name"}),": ",(0,n.jsx)(s.code,{children:"string"})]}),"\n",(0,n.jsx)(s.h4,{id:"implementation-of",children:"Implementation of"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/interfaces/IChoice",children:"IChoice"}),".",(0,n.jsx)(s.a,{href:"/docs/api/interfaces/IChoice#name",children:"name"})]}),"\n",(0,n.jsx)(s.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/classes/Any",children:"Any"}),".",(0,n.jsx)(s.a,{href:"/docs/api/classes/Any#name",children:"name"})]}),"\n",(0,n.jsx)(s.hr,{}),"\n",(0,n.jsx)(s.h3,{id:"optional",children:"optional"}),"\n",(0,n.jsxs)(s.p,{children:["\u2022 ",(0,n.jsx)(s.strong,{children:"optional"}),": ",(0,n.jsx)(s.code,{children:"boolean"})]}),"\n",(0,n.jsx)(s.h4,{id:"implementation-of-1",children:"Implementation of"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/interfaces/IChoice",children:"IChoice"}),".",(0,n.jsx)(s.a,{href:"/docs/api/interfaces/IChoice#optional",children:"optional"})]}),"\n",(0,n.jsx)(s.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/classes/Any",children:"Any"}),".",(0,n.jsx)(s.a,{href:"/docs/api/classes/Any#optional",children:"optional"})]}),"\n",(0,n.jsx)(s.hr,{}),"\n",(0,n.jsx)(s.h3,{id:"value",children:"value"}),"\n",(0,n.jsxs)(s.p,{children:["\u2022 ",(0,n.jsx)(s.strong,{children:"value"}),": ",(0,n.jsx)(s.a,{href:"/docs/api/classes/BaseBlock",children:(0,n.jsx)(s.code,{children:"BaseBlock"})}),"<",(0,n.jsx)(s.a,{href:"/docs/api/classes/ValueBlock",children:(0,n.jsx)(s.code,{children:"ValueBlock"})}),", ",(0,n.jsx)(s.code,{children:"LocalBaseBlockJson"}),">[]"]}),"\n",(0,n.jsx)(s.h4,{id:"implementation-of-2",children:"Implementation of"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/api/interfaces/IChoice",children:"IChoice"}),".",(0,n.jsx)(s.a,{href:"/docs/api/interfaces/IChoice#value",children:"value"})]})]})}function h(e={}){const{wrapper:s}={...(0,r.a)(),...e.components};return s?(0,n.jsx)(s,{...e,children:(0,n.jsx)(a,{...e})}):a(e)}},1151:(e,s,i)=>{i.d(s,{Z:()=>t,a:()=>c});var n=i(7294);const r={},l=n.createContext(r);function c(e){const s=n.useContext(l);return n.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function t(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:c(e.components),n.createElement(l.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/d8ca53b9.5b818301.js b/assets/js/d8ca53b9.5b818301.js new file mode 100644 index 0000000..36f1082 --- /dev/null +++ b/assets/js/d8ca53b9.5b818301.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8564],{9944:(e,t,a)=>{a.r(t),a.d(t,{assets:()=>c,contentTitle:()=>s,default:()=>p,frontMatter:()=>i,metadata:()=>o,toc:()=>d});var n=a(5893),r=a(1151);const i={id:"IRawData",title:"Interface: IRawData",sidebar_label:"IRawData",sidebar_position:0,custom_edit_url:null},s=void 0,o={id:"api/interfaces/IRawData",title:"Interface: IRawData",description:"Properties",source:"@site/docs/api/interfaces/IRawData.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/IRawData",permalink:"/docs/api/interfaces/IRawData",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"IRawData",title:"Interface: IRawData",sidebar_label:"IRawData",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"IHexBlock",permalink:"/docs/api/interfaces/IHexBlock"},next:{title:"IRepeated",permalink:"/docs/api/interfaces/IRepeated"}},c={},d=[{value:"Properties",id:"properties",level:2},{value:"data",id:"data",level:3}];function l(e){const t={code:"code",h2:"h2",h3:"h3",p:"p",strong:"strong",...(0,r.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.h2,{id:"properties",children:"Properties"}),"\n",(0,n.jsx)(t.h3,{id:"data",children:"data"}),"\n",(0,n.jsxs)(t.p,{children:["\u2022 ",(0,n.jsx)(t.strong,{children:"data"}),": ",(0,n.jsx)(t.code,{children:"ArrayBuffer"})]})]})}function p(e={}){const{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(l,{...e})}):l(e)}},1151:(e,t,a)=>{a.d(t,{Z:()=>o,a:()=>s});var n=a(7294);const r={},i=n.createContext(r);function s(e){const t=n.useContext(i);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:s(e.components),n.createElement(i.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/dd1ee862.c7c3401a.js b/assets/js/dd1ee862.c7c3401a.js new file mode 100644 index 0000000..c77559d --- /dev/null +++ b/assets/js/dd1ee862.c7c3401a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[7588],{7809:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>c,contentTitle:()=>d,default:()=>a,frontMatter:()=>l,metadata:()=>t,toc:()=>h});var i=n(5893),s=n(1151);const l={id:"DateTime",title:"Class: DateTime",sidebar_label:"DateTime",sidebar_position:0,custom_edit_url:null},d=void 0,t={id:"api/classes/DateTime",title:"Class: DateTime",description:"Hierarchy",source:"@site/docs/api/classes/DateTime.md",sourceDirName:"api/classes",slug:"/api/classes/DateTime",permalink:"/docs/api/classes/DateTime",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"DateTime",title:"Class: DateTime",sidebar_label:"DateTime",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"DATE",permalink:"/docs/api/classes/DATE"},next:{title:"Duration",permalink:"/docs/api/classes/Duration"}},c={},h=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Overrides",id:"overrides",level:4},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"valueBeforeDecodeView",id:"valuebeforedecodeview",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"valueBlock",id:"valueblock",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"NAME",id:"name-1",level:3},{value:"Overrides",id:"overrides-1",level:4},{value:"Accessors",id:"accessors",level:2},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Returns",id:"returns-1",level:4},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Methods",id:"methods",level:2},{value:"fromBER",id:"fromber",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"fromBuffer",id:"frombuffer",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-4",level:4},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"fromString",id:"fromstring",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-5",level:4},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"getValue",id:"getvalue",level:3},{value:"Returns",id:"returns-6",level:4},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"isEqual",id:"isequal",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-7",level:4},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"onAsciiEncoding",id:"onasciiencoding",level:3},{value:"Returns",id:"returns-8",level:4},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"setValue",id:"setvalue",level:3},{value:"Parameters",id:"parameters-6",level:4},{value:"Returns",id:"returns-9",level:4},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"toBER",id:"tober",level:3},{value:"Parameters",id:"parameters-7",level:4},{value:"Returns",id:"returns-10",level:4},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"toJSON",id:"tojson",level:3},{value:"Returns",id:"returns-11",level:4},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"toString",id:"tostring",level:3},{value:"Parameters",id:"parameters-8",level:4},{value:"Returns",id:"returns-12",level:4},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"blockName",id:"blockname",level:3},{value:"Returns",id:"returns-13",level:4},{value:"Inherited from",id:"inherited-from-22",level:4}];function o(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,s.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,i.jsxs)(r.ul,{children:["\n",(0,i.jsxs)(r.li,{children:["\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:(0,i.jsx)(r.code,{children:"Utf8String"})})}),"\n",(0,i.jsxs)(r.p,{children:["\u21b3 ",(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"DateTime"})})]}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(r.h2,{id:"constructors",children:"Constructors"}),"\n",(0,i.jsx)(r.h3,{id:"constructor",children:"constructor"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"new DateTime"}),"(",(0,i.jsx)(r.code,{children:"parameters?"}),"): ",(0,i.jsx)(r.a,{href:"/docs/api/classes/DateTime",children:(0,i.jsx)(r.code,{children:"DateTime"})})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"parameters"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.a,{href:"/docs/api/interfaces/Utf8StringParams",children:(0,i.jsx)(r.code,{children:"Utf8StringParams"})})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.a,{href:"/docs/api/classes/DateTime",children:(0,i.jsx)(r.code,{children:"DateTime"})})}),"\n",(0,i.jsx)(r.h4,{id:"overrides",children:"Overrides"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#constructor",children:"constructor"})]}),"\n",(0,i.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,i.jsx)(r.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"blockLength"}),": ",(0,i.jsx)(r.code,{children:"number"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#blocklength",children:"blockLength"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"error",children:"error"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"error"}),": ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#error",children:"error"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"idblock",children:"idBlock"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"idBlock"}),": ",(0,i.jsx)(r.code,{children:"LocalIdentificationBlock"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#idblock",children:"idBlock"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"lenBlock"}),": ",(0,i.jsx)(r.code,{children:"LocalLengthBlock"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#lenblock",children:"lenBlock"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"name",children:"name"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"name"}),": ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#name",children:"name"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"optional",children:"optional"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"optional"}),": ",(0,i.jsx)(r.code,{children:"boolean"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#optional",children:"optional"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.code,{children:"Optional"})," ",(0,i.jsx)(r.strong,{children:"primitiveSchema"}),": ",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:(0,i.jsx)(r.code,{children:"BaseBlock"})}),"<",(0,i.jsx)(r.a,{href:"/docs/api/classes/ValueBlock",children:(0,i.jsx)(r.code,{children:"ValueBlock"})}),", ",(0,i.jsx)(r.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#primitiveschema",children:"primitiveSchema"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"valuebeforedecodeview",children:"valueBeforeDecodeView"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"valueBeforeDecodeView"}),": ",(0,i.jsx)(r.code,{children:"Uint8Array"})]}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Since"})})}),"\n",(0,i.jsx)(r.p,{children:"3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#valuebeforedecodeview",children:"valueBeforeDecodeView"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"valueblock",children:"valueBlock"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"valueBlock"}),": ",(0,i.jsx)(r.code,{children:"LocalSimpleStringValueBlock"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#valueblock",children:"valueBlock"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"warnings",children:"warnings"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"warnings"}),": ",(0,i.jsx)(r.code,{children:"string"}),"[]"]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#warnings",children:"warnings"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"name-1",children:"NAME"}),"\n",(0,i.jsxs)(r.p,{children:["\u25aa ",(0,i.jsx)(r.code,{children:"Static"})," ",(0,i.jsx)(r.strong,{children:"NAME"}),": ",(0,i.jsx)(r.code,{children:"string"})," = ",(0,i.jsx)(r.code,{children:'"DateTime"'})]}),"\n",(0,i.jsx)(r.h4,{id:"overrides-1",children:"Overrides"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#name-1",children:"NAME"})]}),"\n",(0,i.jsx)(r.h2,{id:"accessors",children:"Accessors"}),"\n",(0,i.jsx)(r.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.code,{children:"get"})," ",(0,i.jsx)(r.strong,{children:"valueBeforeDecode"}),"(): ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-1",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,i.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"Utf8String.valueBeforeDecode"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.code,{children:"set"})," ",(0,i.jsx)(r.strong,{children:"valueBeforeDecode"}),"(",(0,i.jsx)(r.code,{children:"value"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"value"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"ArrayBuffer"})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-2",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,i.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"Utf8String.valueBeforeDecode"}),"\n",(0,i.jsx)(r.h2,{id:"methods",children:"Methods"}),"\n",(0,i.jsx)(r.h3,{id:"fromber",children:"fromBER"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"fromBER"}),"(",(0,i.jsx)(r.code,{children:"inputBuffer"}),", ",(0,i.jsx)(r.code,{children:"inputOffset"}),", ",(0,i.jsx)(r.code,{children:"inputLength"}),"): ",(0,i.jsx)(r.code,{children:"number"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsxs)(r.tbody,{children:[(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputBuffer"})}),(0,i.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,i.jsx)(r.code,{children:"Uint8Array"})," | ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputOffset"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"number"})})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputLength"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"number"})})]})]})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-3",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"number"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#fromber",children:"fromBER"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"frombuffer",children:"fromBuffer"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"fromBuffer"}),"(",(0,i.jsx)(r.code,{children:"inputBuffer"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputBuffer"})}),(0,i.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,i.jsx)(r.code,{children:"Uint8Array"})," | ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-4",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#frombuffer",children:"fromBuffer"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"fromstring",children:"fromString"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"fromString"}),"(",(0,i.jsx)(r.code,{children:"inputString"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputString"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"string"})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-5",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#fromstring",children:"fromString"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"getvalue",children:"getValue"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"getValue"}),"(): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.p,{children:"String value"}),"\n",(0,i.jsx)(r.h4,{id:"returns-6",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Since"})})}),"\n",(0,i.jsx)(r.p,{children:"3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#getvalue",children:"getValue"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"isequal",children:"isEqual"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"isEqual"}),"(",(0,i.jsx)(r.code,{children:"other"}),"): other is DateTime"]}),"\n",(0,i.jsx)(r.p,{children:"Determines whether two object instances are equal"}),"\n",(0,i.jsx)(r.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"other"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"unknown"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:"Object to compare with the current object"})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-7",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:"other is DateTime"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#isequal",children:"isEqual"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"onasciiencoding",children:"onAsciiEncoding"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"onAsciiEncoding"}),"(): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-8",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-17",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#onasciiencoding",children:"onAsciiEncoding"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"setvalue",children:"setValue"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"setValue"}),"(",(0,i.jsx)(r.code,{children:"value"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.p,{children:"String value"}),"\n",(0,i.jsx)(r.h4,{id:"parameters-6",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"value"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"string"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:"String value"})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-9",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Since"})})}),"\n",(0,i.jsx)(r.p,{children:"3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-18",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#setvalue",children:"setValue"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"tober",children:"toBER"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"toBER"}),"(",(0,i.jsx)(r.code,{children:"sizeOnly?"}),", ",(0,i.jsx)(r.code,{children:"writer?"}),"): ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-7",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsxs)(r.tbody,{children:[(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"sizeOnly?"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"boolean"})})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"writer?"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.a,{href:"/docs/api/classes/ViewWriter",children:(0,i.jsx)(r.code,{children:"ViewWriter"})})})]})]})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-10",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-19",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#tober",children:"toBER"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"tojson",children:"toJSON"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"toJSON"}),"(): ",(0,i.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,i.jsx)(r.code,{children:"BaseBlockJson"})}),"<",(0,i.jsx)(r.code,{children:"LocalStringValueBlockJson"}),">"]}),"\n",(0,i.jsx)(r.h4,{id:"returns-11",children:"Returns"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,i.jsx)(r.code,{children:"BaseBlockJson"})}),"<",(0,i.jsx)(r.code,{children:"LocalStringValueBlockJson"}),">"]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-20",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#tojson",children:"toJSON"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"tostring",children:"toString"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"toString"}),"(",(0,i.jsx)(r.code,{children:"encoding?"}),"): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-8",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Default value"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"encoding"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.a,{href:"../#stringencoding",children:(0,i.jsx)(r.code,{children:"StringEncoding"})})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:'"ascii"'})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-12",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-21",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#tostring",children:"toString"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"blockname",children:"blockName"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"blockName"}),"(): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.p,{children:"Aux function, need to get a block name. Need to have it here for inheritance"}),"\n",(0,i.jsx)(r.h4,{id:"returns-13",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.p,{children:"Returns name of the block"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-22",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#blockname",children:"blockName"})]})]})}function a(e={}){const{wrapper:r}={...(0,s.a)(),...e.components};return r?(0,i.jsx)(r,{...e,children:(0,i.jsx)(o,{...e})}):o(e)}},1151:(e,r,n)=>{n.d(r,{Z:()=>t,a:()=>d});var i=n(7294);const s={},l=i.createContext(s);function d(e){const r=i.useContext(l);return i.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function t(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:d(e.components),i.createElement(l.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/dec0f600.8d87d858.js b/assets/js/dec0f600.8d87d858.js new file mode 100644 index 0000000..662b772 --- /dev/null +++ b/assets/js/dec0f600.8d87d858.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8858],{3146:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>s,default:()=>a,frontMatter:()=>i,metadata:()=>d,toc:()=>o});var r=n(5893),l=n(1151);const i={id:"IDerConvertible",title:"Interface: IDerConvertible",sidebar_label:"IDerConvertible",sidebar_position:0,custom_edit_url:null},s=void 0,d={id:"api/interfaces/IDerConvertible",title:"Interface: IDerConvertible",description:"Methods",source:"@site/docs/api/interfaces/IDerConvertible.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/IDerConvertible",permalink:"/docs/api/interfaces/IDerConvertible",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"IDerConvertible",title:"Interface: IDerConvertible",sidebar_label:"IDerConvertible",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"IDateConvertible",permalink:"/docs/api/interfaces/IDateConvertible"},next:{title:"IGeneralizedTime",permalink:"/docs/api/interfaces/IGeneralizedTime"}},c={},o=[{value:"Methods",id:"methods",level:2},{value:"fromDER",id:"fromder",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"toDER",id:"toder",level:3},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-1",level:4}];function h(e){const t={code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,l.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.h2,{id:"methods",children:"Methods"}),"\n",(0,r.jsx)(t.h3,{id:"fromder",children:"fromDER"}),"\n",(0,r.jsxs)(t.p,{children:["\u25b8 ",(0,r.jsx)(t.strong,{children:"fromDER"}),"(",(0,r.jsx)(t.code,{children:"inputBuffer"}),", ",(0,r.jsx)(t.code,{children:"inputOffset"}),", ",(0,r.jsx)(t.code,{children:"inputLength"}),", ",(0,r.jsx)(t.code,{children:"expectedLength?"}),"): ",(0,r.jsx)(t.code,{children:"number"})]}),"\n",(0,r.jsx)(t.p,{children:"Base function for converting block from DER encoded array of bytes"}),"\n",(0,r.jsx)(t.h4,{id:"parameters",children:"Parameters"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{style:{textAlign:"left"},children:"Name"}),(0,r.jsx)(t.th,{style:{textAlign:"left"},children:"Type"}),(0,r.jsx)(t.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,r.jsxs)(t.tbody,{children:[(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{style:{textAlign:"left"},children:(0,r.jsx)(t.code,{children:"inputBuffer"})}),(0,r.jsx)(t.td,{style:{textAlign:"left"},children:(0,r.jsx)(t.code,{children:"ArrayBuffer"})}),(0,r.jsx)(t.td,{style:{textAlign:"left"},children:"ASN.1 DER encoded array"})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{style:{textAlign:"left"},children:(0,r.jsx)(t.code,{children:"inputOffset"})}),(0,r.jsx)(t.td,{style:{textAlign:"left"},children:(0,r.jsx)(t.code,{children:"number"})}),(0,r.jsx)(t.td,{style:{textAlign:"left"},children:"Offset in ASN.1 DER encoded array where decoding should be started"})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{style:{textAlign:"left"},children:(0,r.jsx)(t.code,{children:"inputLength"})}),(0,r.jsx)(t.td,{style:{textAlign:"left"},children:(0,r.jsx)(t.code,{children:"number"})}),(0,r.jsx)(t.td,{style:{textAlign:"left"},children:"Maximum length of array of bytes which can be using in this function"})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{style:{textAlign:"left"},children:(0,r.jsx)(t.code,{children:"expectedLength?"})}),(0,r.jsx)(t.td,{style:{textAlign:"left"},children:(0,r.jsx)(t.code,{children:"number"})}),(0,r.jsx)(t.td,{style:{textAlign:"left"},children:"Expected length of converted VALUE_HEX buffer"})]})]})]}),"\n",(0,r.jsx)(t.h4,{id:"returns",children:"Returns"}),"\n",(0,r.jsx)(t.p,{children:(0,r.jsx)(t.code,{children:"number"})}),"\n",(0,r.jsx)(t.p,{children:"Offset after least decoded byte"}),"\n",(0,r.jsx)(t.hr,{}),"\n",(0,r.jsx)(t.h3,{id:"toder",children:"toDER"}),"\n",(0,r.jsxs)(t.p,{children:["\u25b8 ",(0,r.jsx)(t.strong,{children:"toDER"}),"(",(0,r.jsx)(t.code,{children:"sizeOnly?"}),"): ",(0,r.jsx)(t.code,{children:"ArrayBuffer"})]}),"\n",(0,r.jsx)(t.p,{children:"Encoding of current ASN.1 block into ASN.1 encoded array (DER rules)"}),"\n",(0,r.jsx)(t.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{style:{textAlign:"left"},children:"Name"}),(0,r.jsx)(t.th,{style:{textAlign:"left"},children:"Type"}),(0,r.jsx)(t.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,r.jsx)(t.tbody,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{style:{textAlign:"left"},children:(0,r.jsx)(t.code,{children:"sizeOnly?"})}),(0,r.jsx)(t.td,{style:{textAlign:"left"},children:(0,r.jsx)(t.code,{children:"boolean"})}),(0,r.jsx)(t.td,{style:{textAlign:"left"},children:"Flag that we need only a size of encoding, not a real array of bytes"})]})})]}),"\n",(0,r.jsx)(t.h4,{id:"returns-1",children:"Returns"}),"\n",(0,r.jsx)(t.p,{children:(0,r.jsx)(t.code,{children:"ArrayBuffer"})}),"\n",(0,r.jsx)(t.p,{children:"ASN.1 DER encoded array"})]})}function a(e={}){const{wrapper:t}={...(0,l.a)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(h,{...e})}):h(e)}},1151:(e,t,n)=>{n.d(t,{Z:()=>d,a:()=>s});var r=n(7294);const l={},i=r.createContext(l);function s(e){const t=r.useContext(i);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function d(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(l):e.components||l:s(e.components),r.createElement(i.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/e26d31f6.2c2b2a44.js b/assets/js/e26d31f6.2c2b2a44.js new file mode 100644 index 0000000..7657da5 --- /dev/null +++ b/assets/js/e26d31f6.2c2b2a44.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[1088],{4208:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>t,contentTitle:()=>l,default:()=>a,frontMatter:()=>d,metadata:()=>c,toc:()=>h});var s=n(5893),i=n(1151);const d={id:"Sequence",title:"Class: Sequence",sidebar_label:"Sequence",sidebar_position:0,custom_edit_url:null},l=void 0,c={id:"api/classes/Sequence",title:"Class: Sequence",description:"Hierarchy",source:"@site/docs/api/classes/Sequence.md",sourceDirName:"api/classes",slug:"/api/classes/Sequence",permalink:"/docs/api/classes/Sequence",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"Sequence",title:"Class: Sequence",sidebar_label:"Sequence",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"Repeated",permalink:"/docs/api/classes/Repeated"},next:{title:"Set",permalink:"/docs/api/classes/Set"}},t={},h=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Overrides",id:"overrides",level:4},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"valueBeforeDecodeView",id:"valuebeforedecodeview",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"valueBlock",id:"valueblock",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"NAME",id:"name-1",level:3},{value:"Overrides",id:"overrides-1",level:4},{value:"Accessors",id:"accessors",level:2},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Returns",id:"returns-1",level:4},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Methods",id:"methods",level:2},{value:"fromBER",id:"fromber",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"isEqual",id:"isequal",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-4",level:4},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"onAsciiEncoding",id:"onasciiencoding",level:3},{value:"Returns",id:"returns-5",level:4},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"toBER",id:"tober",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-6",level:4},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"toJSON",id:"tojson",level:3},{value:"Returns",id:"returns-7",level:4},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"toString",id:"tostring",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-8",level:4},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"blockName",id:"blockname",level:3},{value:"Returns",id:"returns-9",level:4},{value:"Inherited from",id:"inherited-from-18",level:4}];function o(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,s.jsxs)(r.ul,{children:["\n",(0,s.jsxs)(r.li,{children:["\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"/docs/api/classes/Constructed",children:(0,s.jsx)(r.code,{children:"Constructed"})})}),"\n",(0,s.jsxs)(r.p,{children:["\u21b3 ",(0,s.jsx)(r.strong,{children:(0,s.jsx)(r.code,{children:"Sequence"})})]}),"\n"]}),"\n"]}),"\n",(0,s.jsx)(r.h2,{id:"constructors",children:"Constructors"}),"\n",(0,s.jsx)(r.h3,{id:"constructor",children:"constructor"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"new Sequence"}),"(",(0,s.jsx)(r.code,{children:"parameters?"}),"): ",(0,s.jsx)(r.a,{href:"/docs/api/classes/Sequence",children:(0,s.jsx)(r.code,{children:"Sequence"})})]}),"\n",(0,s.jsx)(r.h4,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,s.jsx)(r.tbody,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"parameters"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.a,{href:"/docs/api/interfaces/ConstructedParams",children:(0,s.jsx)(r.code,{children:"ConstructedParams"})})})]})})]}),"\n",(0,s.jsx)(r.h4,{id:"returns",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"/docs/api/classes/Sequence",children:(0,s.jsx)(r.code,{children:"Sequence"})})}),"\n",(0,s.jsx)(r.h4,{id:"overrides",children:"Overrides"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/Constructed",children:"Constructed"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/Constructed#constructor",children:"constructor"})]}),"\n",(0,s.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,s.jsx)(r.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"blockLength"}),": ",(0,s.jsx)(r.code,{children:"number"})]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/Constructed",children:"Constructed"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/Constructed#blocklength",children:"blockLength"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"error",children:"error"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"error"}),": ",(0,s.jsx)(r.code,{children:"string"})]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/Constructed",children:"Constructed"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/Constructed#error",children:"error"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"idblock",children:"idBlock"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"idBlock"}),": ",(0,s.jsx)(r.code,{children:"LocalIdentificationBlock"})]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/Constructed",children:"Constructed"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/Constructed#idblock",children:"idBlock"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"lenBlock"}),": ",(0,s.jsx)(r.code,{children:"LocalLengthBlock"})]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/Constructed",children:"Constructed"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/Constructed#lenblock",children:"lenBlock"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"name",children:"name"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"name"}),": ",(0,s.jsx)(r.code,{children:"string"})]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/Constructed",children:"Constructed"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/Constructed#name",children:"name"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"optional",children:"optional"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"optional"}),": ",(0,s.jsx)(r.code,{children:"boolean"})]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/Constructed",children:"Constructed"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/Constructed#optional",children:"optional"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.code,{children:"Optional"})," ",(0,s.jsx)(r.strong,{children:"primitiveSchema"}),": ",(0,s.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:(0,s.jsx)(r.code,{children:"BaseBlock"})}),"<",(0,s.jsx)(r.a,{href:"/docs/api/classes/ValueBlock",children:(0,s.jsx)(r.code,{children:"ValueBlock"})}),", ",(0,s.jsx)(r.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/Constructed",children:"Constructed"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/Constructed#primitiveschema",children:"primitiveSchema"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"valuebeforedecodeview",children:"valueBeforeDecodeView"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"valueBeforeDecodeView"}),": ",(0,s.jsx)(r.code,{children:"Uint8Array"})]}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.strong,{children:(0,s.jsx)(r.code,{children:"Since"})})}),"\n",(0,s.jsx)(r.p,{children:"3.0.0"}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/Constructed",children:"Constructed"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/Constructed#valuebeforedecodeview",children:"valueBeforeDecodeView"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"valueblock",children:"valueBlock"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"valueBlock"}),": ",(0,s.jsx)(r.code,{children:"LocalConstructedValueBlock"})]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/Constructed",children:"Constructed"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/Constructed#valueblock",children:"valueBlock"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"warnings",children:"warnings"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"warnings"}),": ",(0,s.jsx)(r.code,{children:"string"}),"[]"]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/Constructed",children:"Constructed"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/Constructed#warnings",children:"warnings"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"name-1",children:"NAME"}),"\n",(0,s.jsxs)(r.p,{children:["\u25aa ",(0,s.jsx)(r.code,{children:"Static"})," ",(0,s.jsx)(r.strong,{children:"NAME"}),": ",(0,s.jsx)(r.code,{children:"string"})," = ",(0,s.jsx)(r.code,{children:'"SEQUENCE"'})]}),"\n",(0,s.jsx)(r.h4,{id:"overrides-1",children:"Overrides"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/Constructed",children:"Constructed"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/Constructed#name-1",children:"NAME"})]}),"\n",(0,s.jsx)(r.h2,{id:"accessors",children:"Accessors"}),"\n",(0,s.jsx)(r.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.code,{children:"get"})," ",(0,s.jsx)(r.strong,{children:"valueBeforeDecode"}),"(): ",(0,s.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,s.jsx)(r.h4,{id:"returns-1",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.strong,{children:(0,s.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,s.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,s.jsx)(r.p,{children:"Constructed.valueBeforeDecode"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.code,{children:"set"})," ",(0,s.jsx)(r.strong,{children:"valueBeforeDecode"}),"(",(0,s.jsx)(r.code,{children:"value"}),"): ",(0,s.jsx)(r.code,{children:"void"})]}),"\n",(0,s.jsx)(r.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,s.jsx)(r.tbody,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"value"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"ArrayBuffer"})})]})})]}),"\n",(0,s.jsx)(r.h4,{id:"returns-2",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.code,{children:"void"})}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.strong,{children:(0,s.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,s.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,s.jsx)(r.p,{children:"Constructed.valueBeforeDecode"}),"\n",(0,s.jsx)(r.h2,{id:"methods",children:"Methods"}),"\n",(0,s.jsx)(r.h3,{id:"fromber",children:"fromBER"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"fromBER"}),"(",(0,s.jsx)(r.code,{children:"inputBuffer"}),", ",(0,s.jsx)(r.code,{children:"inputOffset"}),", ",(0,s.jsx)(r.code,{children:"inputLength"}),"): ",(0,s.jsx)(r.code,{children:"number"})]}),"\n",(0,s.jsx)(r.p,{children:"Base function for converting block from BER encoded array of bytes"}),"\n",(0,s.jsx)(r.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,s.jsxs)(r.tbody,{children:[(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"inputBuffer"})}),(0,s.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,s.jsx)(r.code,{children:"Uint8Array"})," | ",(0,s.jsx)(r.code,{children:"ArrayBuffer"})]}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:"ASN.1 BER encoded array"})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"inputOffset"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"number"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:"Offset in ASN.1 BER encoded array where decoding should be started"})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"inputLength"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"number"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:"Maximum length of array of bytes which can be using in this function"})]})]})]}),"\n",(0,s.jsx)(r.h4,{id:"returns-3",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.code,{children:"number"})}),"\n",(0,s.jsx)(r.p,{children:"Offset after least decoded byte"}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/Constructed",children:"Constructed"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/Constructed#fromber",children:"fromBER"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"isequal",children:"isEqual"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"isEqual"}),"(",(0,s.jsx)(r.code,{children:"other"}),"): other is Sequence"]}),"\n",(0,s.jsx)(r.p,{children:"Determines whether two object instances are equal"}),"\n",(0,s.jsx)(r.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,s.jsx)(r.tbody,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"other"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"unknown"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:"Object to compare with the current object"})]})})]}),"\n",(0,s.jsx)(r.h4,{id:"returns-4",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:"other is Sequence"}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/Constructed",children:"Constructed"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/Constructed#isequal",children:"isEqual"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"onasciiencoding",children:"onAsciiEncoding"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"onAsciiEncoding"}),"(): ",(0,s.jsx)(r.code,{children:"string"})]}),"\n",(0,s.jsx)(r.h4,{id:"returns-5",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.code,{children:"string"})}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/Constructed",children:"Constructed"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/Constructed#onasciiencoding",children:"onAsciiEncoding"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"tober",children:"toBER"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"toBER"}),"(",(0,s.jsx)(r.code,{children:"sizeOnly?"}),", ",(0,s.jsx)(r.code,{children:"writer?"}),"): ",(0,s.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,s.jsx)(r.p,{children:"Encoding of current ASN.1 block into ASN.1 encoded array (BER rules)"}),"\n",(0,s.jsx)(r.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,s.jsxs)(r.tbody,{children:[(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"sizeOnly?"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"boolean"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:"Flag that we need only a size of encoding, not a real array of bytes"})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"writer?"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.a,{href:"/docs/api/classes/ViewWriter",children:(0,s.jsx)(r.code,{children:"ViewWriter"})})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:"-"})]})]})]}),"\n",(0,s.jsx)(r.h4,{id:"returns-6",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,s.jsx)(r.p,{children:"ASN.1 BER encoded array"}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/Constructed",children:"Constructed"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/Constructed#tober",children:"toBER"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"tojson",children:"toJSON"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"toJSON"}),"(): ",(0,s.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,s.jsx)(r.code,{children:"BaseBlockJson"})}),"<",(0,s.jsx)(r.code,{children:"LocalConstructedValueBlockJson"}),">"]}),"\n",(0,s.jsx)(r.h4,{id:"returns-7",children:"Returns"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,s.jsx)(r.code,{children:"BaseBlockJson"})}),"<",(0,s.jsx)(r.code,{children:"LocalConstructedValueBlockJson"}),">"]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/Constructed",children:"Constructed"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/Constructed#tojson",children:"toJSON"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"tostring",children:"toString"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"toString"}),"(",(0,s.jsx)(r.code,{children:"encoding?"}),"): ",(0,s.jsx)(r.code,{children:"string"})]}),"\n",(0,s.jsx)(r.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Default value"})]})}),(0,s.jsx)(r.tbody,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"encoding"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.a,{href:"../#stringencoding",children:(0,s.jsx)(r.code,{children:"StringEncoding"})})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:'"ascii"'})})]})})]}),"\n",(0,s.jsx)(r.h4,{id:"returns-8",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.code,{children:"string"})}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-17",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/Constructed",children:"Constructed"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/Constructed#tostring",children:"toString"})]}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"blockname",children:"blockName"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"blockName"}),"(): ",(0,s.jsx)(r.code,{children:"string"})]}),"\n",(0,s.jsx)(r.p,{children:"Aux function, need to get a block name. Need to have it here for inheritance"}),"\n",(0,s.jsx)(r.h4,{id:"returns-9",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.code,{children:"string"})}),"\n",(0,s.jsx)(r.p,{children:"Returns name of the block"}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-18",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/api/classes/Constructed",children:"Constructed"}),".",(0,s.jsx)(r.a,{href:"/docs/api/classes/Constructed#blockname",children:"blockName"})]})]})}function a(e={}){const{wrapper:r}={...(0,i.a)(),...e.components};return r?(0,s.jsx)(r,{...e,children:(0,s.jsx)(o,{...e})}):o(e)}},1151:(e,r,n)=>{n.d(r,{Z:()=>c,a:()=>l});var s=n(7294);const i={},d=s.createContext(i);function l(e){const r=s.useContext(d);return s.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function c(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:l(e.components),s.createElement(d.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/e3f2a5d8.d437201d.js b/assets/js/e3f2a5d8.d437201d.js new file mode 100644 index 0000000..b5380b9 --- /dev/null +++ b/assets/js/e3f2a5d8.d437201d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[1293],{692:(e,r,i)=>{i.r(r),i.d(r,{assets:()=>d,contentTitle:()=>a,default:()=>t,frontMatter:()=>l,metadata:()=>c,toc:()=>o});var n=i(5893),s=i(1151);const l={id:"IntegerParams",title:"Interface: IntegerParams",sidebar_label:"IntegerParams",sidebar_position:0,custom_edit_url:null},a=void 0,c={id:"api/interfaces/IntegerParams",title:"Interface: IntegerParams",description:"Hierarchy",source:"@site/docs/api/interfaces/IntegerParams.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/IntegerParams",permalink:"/docs/api/interfaces/IntegerParams",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"IntegerParams",title:"Interface: IntegerParams",sidebar_label:"IntegerParams",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"IUTCTime",permalink:"/docs/api/interfaces/IUTCTime"},next:{title:"ObjectIdentifierJson",permalink:"/docs/api/interfaces/ObjectIdentifierJson"}},d={},o=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"isHexOnly",id:"ishexonly",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"value",id:"value",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"valueHex",id:"valuehex",level:3},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-11",level:4}];function h(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,s.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,n.jsxs)(r.ul,{children:["\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:(0,n.jsx)(r.code,{children:"BaseBlockParams"})})}),"\n"]}),"\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"LocalIntegerValueBlockParams"})}),"\n",(0,n.jsxs)(r.p,{children:["\u21b3 ",(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"IntegerParams"})})]}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,n.jsx)(r.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"blockLength"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#blocklength",children:"blockLength"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"error",children:"error"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"error"}),": ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#error",children:"error"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"idblock",children:"idBlock"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"idBlock"}),": ",(0,n.jsx)(r.code,{children:"Partial"}),"<",(0,n.jsx)(r.code,{children:"ILocalIdentificationBlock"}),"> & ",(0,n.jsx)(r.code,{children:"Partial"}),"<",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/IHexBlock",children:(0,n.jsx)(r.code,{children:"IHexBlock"})}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#idblock",children:"idBlock"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"ishexonly",children:"isHexOnly"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"isHexOnly"}),": ",(0,n.jsx)(r.code,{children:"boolean"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"LocalIntegerValueBlockParams.isHexOnly"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"lenBlock"}),": ",(0,n.jsx)(r.code,{children:"Partial"}),"<",(0,n.jsx)(r.code,{children:"ILocalLengthBlock"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#lenblock",children:"lenBlock"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"name",children:"name"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"name"}),": ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#name",children:"name"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"optional",children:"optional"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"optional"}),": ",(0,n.jsx)(r.code,{children:"boolean"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#optional",children:"optional"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"primitiveSchema"}),": ",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:(0,n.jsx)(r.code,{children:"BaseBlock"})}),"<",(0,n.jsx)(r.a,{href:"/docs/api/classes/ValueBlock",children:(0,n.jsx)(r.code,{children:"ValueBlock"})}),", ",(0,n.jsx)(r.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#primitiveschema",children:"primitiveSchema"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"value",children:"value"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"value"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"LocalIntegerValueBlockParams.value"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"valueBeforeDecode"}),": ",(0,n.jsx)(r.code,{children:"BufferSource"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#valuebeforedecode",children:"valueBeforeDecode"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"valuehex",children:"valueHex"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"valueHex"}),": ",(0,n.jsx)(r.code,{children:"BufferSource"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"LocalIntegerValueBlockParams.valueHex"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"warnings",children:"warnings"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"warnings"}),": ",(0,n.jsx)(r.code,{children:"string"}),"[]"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#warnings",children:"warnings"})]})]})}function t(e={}){const{wrapper:r}={...(0,s.a)(),...e.components};return r?(0,n.jsx)(r,{...e,children:(0,n.jsx)(h,{...e})}):h(e)}},1151:(e,r,i)=>{i.d(r,{Z:()=>c,a:()=>a});var n=i(7294);const s={},l=n.createContext(s);function a(e){const r=n.useContext(l);return n.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function c(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:a(e.components),n.createElement(l.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/e6869291.969f38ee.js b/assets/js/e6869291.969f38ee.js new file mode 100644 index 0000000..073cfde --- /dev/null +++ b/assets/js/e6869291.969f38ee.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4808],{4074:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>o,contentTitle:()=>c,default:()=>h,frontMatter:()=>t,metadata:()=>l,toc:()=>a});var r=i(5893),s=i(1151);const t={id:"IAny",title:"Interface: IAny",sidebar_label:"IAny",sidebar_position:0,custom_edit_url:null},c=void 0,l={id:"api/interfaces/IAny",title:"Interface: IAny",description:"Hierarchy",source:"@site/docs/api/interfaces/IAny.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/IAny",permalink:"/docs/api/interfaces/IAny",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"IAny",title:"Interface: IAny",sidebar_label:"IAny",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"HexBlockJson",permalink:"/docs/api/interfaces/HexBlockJson"},next:{title:"IBaseBlock",permalink:"/docs/api/interfaces/IBaseBlock"}},o={},a=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Implemented by",id:"implemented-by",level:2},{value:"Properties",id:"properties",level:2},{value:"name",id:"name",level:3},{value:"optional",id:"optional",level:3}];function d(e){const n={a:"a",code:"code",h2:"h2",h3:"h3",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,s.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.strong,{children:(0,r.jsx)(n.code,{children:"IAny"})})}),"\n",(0,r.jsxs)(n.p,{children:["\u21b3 ",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/IChoice",children:(0,r.jsx)(n.code,{children:"IChoice"})})]}),"\n",(0,r.jsxs)(n.p,{children:["\u21b3 ",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/IRepeated",children:(0,r.jsx)(n.code,{children:"IRepeated"})})]}),"\n"]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"implemented-by",children:"Implemented by"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:(0,r.jsx)(n.a,{href:"/docs/api/classes/Any",children:(0,r.jsx)(n.code,{children:"Any"})})}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"properties",children:"Properties"}),"\n",(0,r.jsx)(n.h3,{id:"name",children:"name"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"name"}),": ",(0,r.jsx)(n.code,{children:"string"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"optional",children:"optional"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"optional"}),": ",(0,r.jsx)(n.code,{children:"boolean"})]})]})}function h(e={}){const{wrapper:n}={...(0,s.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(d,{...e})}):d(e)}},1151:(e,n,i)=>{i.d(n,{Z:()=>l,a:()=>c});var r=i(7294);const s={},t=r.createContext(s);function c(e){const n=r.useContext(t);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:c(e.components),r.createElement(t.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/e70d9cd9.83b31897.js b/assets/js/e70d9cd9.83b31897.js new file mode 100644 index 0000000..5ffa606 --- /dev/null +++ b/assets/js/e70d9cd9.83b31897.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2760],{21:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>c,contentTitle:()=>s,default:()=>a,frontMatter:()=>d,metadata:()=>t,toc:()=>h});var i=n(5893),l=n(1151);const d={id:"CharacterString",title:"Class: CharacterString",sidebar_label:"CharacterString",sidebar_position:0,custom_edit_url:null},s=void 0,t={id:"api/classes/CharacterString",title:"Class: CharacterString",description:"Hierarchy",source:"@site/docs/api/classes/CharacterString.md",sourceDirName:"api/classes",slug:"/api/classes/CharacterString",permalink:"/docs/api/classes/CharacterString",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"CharacterString",title:"Class: CharacterString",sidebar_label:"CharacterString",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"Boolean",permalink:"/docs/api/classes/Boolean"},next:{title:"Choice",permalink:"/docs/api/classes/Choice"}},c={},h=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Overrides",id:"overrides",level:4},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"valueBeforeDecodeView",id:"valuebeforedecodeview",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"valueBlock",id:"valueblock",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"NAME",id:"name-1",level:3},{value:"Overrides",id:"overrides-1",level:4},{value:"Accessors",id:"accessors",level:2},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Returns",id:"returns-1",level:4},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Methods",id:"methods",level:2},{value:"fromBER",id:"fromber",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"fromBuffer",id:"frombuffer",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-4",level:4},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"fromString",id:"fromstring",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-5",level:4},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"getValue",id:"getvalue",level:3},{value:"Returns",id:"returns-6",level:4},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"isEqual",id:"isequal",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-7",level:4},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"onAsciiEncoding",id:"onasciiencoding",level:3},{value:"Returns",id:"returns-8",level:4},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"setValue",id:"setvalue",level:3},{value:"Parameters",id:"parameters-6",level:4},{value:"Returns",id:"returns-9",level:4},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"toBER",id:"tober",level:3},{value:"Parameters",id:"parameters-7",level:4},{value:"Returns",id:"returns-10",level:4},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"toJSON",id:"tojson",level:3},{value:"Returns",id:"returns-11",level:4},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"toString",id:"tostring",level:3},{value:"Parameters",id:"parameters-8",level:4},{value:"Returns",id:"returns-12",level:4},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"blockName",id:"blockname",level:3},{value:"Returns",id:"returns-13",level:4},{value:"Inherited from",id:"inherited-from-22",level:4}];function o(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,l.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,i.jsxs)(r.ul,{children:["\n",(0,i.jsxs)(r.li,{children:["\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"LocalSimpleStringBlock"})}),"\n",(0,i.jsxs)(r.p,{children:["\u21b3 ",(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"CharacterString"})})]}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(r.h2,{id:"constructors",children:"Constructors"}),"\n",(0,i.jsx)(r.h3,{id:"constructor",children:"constructor"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"new CharacterString"}),"(",(0,i.jsx)(r.code,{children:"parameters?"}),"): ",(0,i.jsx)(r.a,{href:"/docs/api/classes/CharacterString",children:(0,i.jsx)(r.code,{children:"CharacterString"})})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"parameters"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"LocalSimpleStringBlockParams"})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.a,{href:"/docs/api/classes/CharacterString",children:(0,i.jsx)(r.code,{children:"CharacterString"})})}),"\n",(0,i.jsx)(r.h4,{id:"overrides",children:"Overrides"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.constructor"}),"\n",(0,i.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,i.jsx)(r.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"blockLength"}),": ",(0,i.jsx)(r.code,{children:"number"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.blockLength"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"error",children:"error"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"error"}),": ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.error"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"idblock",children:"idBlock"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"idBlock"}),": ",(0,i.jsx)(r.code,{children:"LocalIdentificationBlock"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.idBlock"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"lenBlock"}),": ",(0,i.jsx)(r.code,{children:"LocalLengthBlock"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.lenBlock"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"name",children:"name"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"name"}),": ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.name"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"optional",children:"optional"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"optional"}),": ",(0,i.jsx)(r.code,{children:"boolean"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.optional"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.code,{children:"Optional"})," ",(0,i.jsx)(r.strong,{children:"primitiveSchema"}),": ",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:(0,i.jsx)(r.code,{children:"BaseBlock"})}),"<",(0,i.jsx)(r.a,{href:"/docs/api/classes/ValueBlock",children:(0,i.jsx)(r.code,{children:"ValueBlock"})}),", ",(0,i.jsx)(r.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.primitiveSchema"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"valuebeforedecodeview",children:"valueBeforeDecodeView"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"valueBeforeDecodeView"}),": ",(0,i.jsx)(r.code,{children:"Uint8Array"})]}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Since"})})}),"\n",(0,i.jsx)(r.p,{children:"3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.valueBeforeDecodeView"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"valueblock",children:"valueBlock"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"valueBlock"}),": ",(0,i.jsx)(r.code,{children:"LocalSimpleStringValueBlock"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.valueBlock"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"warnings",children:"warnings"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"warnings"}),": ",(0,i.jsx)(r.code,{children:"string"}),"[]"]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.warnings"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"name-1",children:"NAME"}),"\n",(0,i.jsxs)(r.p,{children:["\u25aa ",(0,i.jsx)(r.code,{children:"Static"})," ",(0,i.jsx)(r.strong,{children:"NAME"}),": ",(0,i.jsx)(r.code,{children:"string"})," = ",(0,i.jsx)(r.code,{children:'"CharacterString"'})]}),"\n",(0,i.jsx)(r.h4,{id:"overrides-1",children:"Overrides"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.NAME"}),"\n",(0,i.jsx)(r.h2,{id:"accessors",children:"Accessors"}),"\n",(0,i.jsx)(r.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.code,{children:"get"})," ",(0,i.jsx)(r.strong,{children:"valueBeforeDecode"}),"(): ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-1",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,i.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.valueBeforeDecode"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.code,{children:"set"})," ",(0,i.jsx)(r.strong,{children:"valueBeforeDecode"}),"(",(0,i.jsx)(r.code,{children:"value"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"value"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"ArrayBuffer"})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-2",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,i.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.valueBeforeDecode"}),"\n",(0,i.jsx)(r.h2,{id:"methods",children:"Methods"}),"\n",(0,i.jsx)(r.h3,{id:"fromber",children:"fromBER"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"fromBER"}),"(",(0,i.jsx)(r.code,{children:"inputBuffer"}),", ",(0,i.jsx)(r.code,{children:"inputOffset"}),", ",(0,i.jsx)(r.code,{children:"inputLength"}),"): ",(0,i.jsx)(r.code,{children:"number"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsxs)(r.tbody,{children:[(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputBuffer"})}),(0,i.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,i.jsx)(r.code,{children:"Uint8Array"})," | ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputOffset"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"number"})})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputLength"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"number"})})]})]})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-3",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"number"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.fromBER"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"frombuffer",children:"fromBuffer"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"fromBuffer"}),"(",(0,i.jsx)(r.code,{children:"inputBuffer"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputBuffer"})}),(0,i.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,i.jsx)(r.code,{children:"Uint8Array"})," | ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-4",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.fromBuffer"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"fromstring",children:"fromString"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"fromString"}),"(",(0,i.jsx)(r.code,{children:"inputString"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputString"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"string"})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-5",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.fromString"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"getvalue",children:"getValue"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"getValue"}),"(): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.p,{children:"String value"}),"\n",(0,i.jsx)(r.h4,{id:"returns-6",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Since"})})}),"\n",(0,i.jsx)(r.p,{children:"3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.getValue"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"isequal",children:"isEqual"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"isEqual"}),"(",(0,i.jsx)(r.code,{children:"other"}),"): other is CharacterString"]}),"\n",(0,i.jsx)(r.p,{children:"Determines whether two object instances are equal"}),"\n",(0,i.jsx)(r.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"other"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"unknown"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:"Object to compare with the current object"})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-7",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:"other is CharacterString"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.isEqual"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"onasciiencoding",children:"onAsciiEncoding"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"onAsciiEncoding"}),"(): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-8",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-17",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.onAsciiEncoding"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"setvalue",children:"setValue"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"setValue"}),"(",(0,i.jsx)(r.code,{children:"value"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.p,{children:"String value"}),"\n",(0,i.jsx)(r.h4,{id:"parameters-6",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"value"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"string"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:"String value"})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-9",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Since"})})}),"\n",(0,i.jsx)(r.p,{children:"3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-18",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.setValue"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"tober",children:"toBER"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"toBER"}),"(",(0,i.jsx)(r.code,{children:"sizeOnly?"}),", ",(0,i.jsx)(r.code,{children:"writer?"}),"): ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-7",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsxs)(r.tbody,{children:[(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"sizeOnly?"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"boolean"})})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"writer?"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.a,{href:"/docs/api/classes/ViewWriter",children:(0,i.jsx)(r.code,{children:"ViewWriter"})})})]})]})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-10",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-19",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.toBER"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"tojson",children:"toJSON"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"toJSON"}),"(): ",(0,i.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,i.jsx)(r.code,{children:"BaseBlockJson"})}),"<",(0,i.jsx)(r.code,{children:"LocalStringValueBlockJson"}),">"]}),"\n",(0,i.jsx)(r.h4,{id:"returns-11",children:"Returns"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,i.jsx)(r.code,{children:"BaseBlockJson"})}),"<",(0,i.jsx)(r.code,{children:"LocalStringValueBlockJson"}),">"]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-20",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.toJSON"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"tostring",children:"toString"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"toString"}),"(",(0,i.jsx)(r.code,{children:"encoding?"}),"): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-8",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Default value"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"encoding"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.a,{href:"../#stringencoding",children:(0,i.jsx)(r.code,{children:"StringEncoding"})})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:'"ascii"'})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-12",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-21",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.toString"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"blockname",children:"blockName"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"blockName"}),"(): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.p,{children:"Aux function, need to get a block name. Need to have it here for inheritance"}),"\n",(0,i.jsx)(r.h4,{id:"returns-13",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.p,{children:"Returns name of the block"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-22",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"LocalSimpleStringBlock.blockName"})]})}function a(e={}){const{wrapper:r}={...(0,l.a)(),...e.components};return r?(0,i.jsx)(r,{...e,children:(0,i.jsx)(o,{...e})}):o(e)}},1151:(e,r,n)=>{n.d(r,{Z:()=>t,a:()=>s});var i=n(7294);const l={},d=i.createContext(l);function s(e){const r=i.useContext(d);return i.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function t(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(l):e.components||l:s(e.components),i.createElement(d.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/eb5a32c0.e35e2869.js b/assets/js/eb5a32c0.e35e2869.js new file mode 100644 index 0000000..88f3149 --- /dev/null +++ b/assets/js/eb5a32c0.e35e2869.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[1749],{6181:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>c,contentTitle:()=>d,default:()=>h,frontMatter:()=>t,metadata:()=>l,toc:()=>o});var r=i(5893),s=i(1151);const t={id:"IUTCTime",title:"Interface: IUTCTime",sidebar_label:"IUTCTime",sidebar_position:0,custom_edit_url:null},d=void 0,l={id:"api/interfaces/IUTCTime",title:"Interface: IUTCTime",description:"Hierarchy",source:"@site/docs/api/interfaces/IUTCTime.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/IUTCTime",permalink:"/docs/api/interfaces/IUTCTime",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"IUTCTime",title:"Interface: IUTCTime",sidebar_label:"IUTCTime",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"IStringConvertible",permalink:"/docs/api/interfaces/IStringConvertible"},next:{title:"IntegerParams",permalink:"/docs/api/interfaces/IntegerParams"}},c={},o=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Implemented by",id:"implemented-by",level:2},{value:"Properties",id:"properties",level:2},{value:"day",id:"day",level:3},{value:"hour",id:"hour",level:3},{value:"minute",id:"minute",level:3},{value:"month",id:"month",level:3},{value:"second",id:"second",level:3},{value:"year",id:"year",level:3}];function a(e){const n={a:"a",code:"code",h2:"h2",h3:"h3",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,s.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.strong,{children:(0,r.jsx)(n.code,{children:"IUTCTime"})})}),"\n",(0,r.jsxs)(n.p,{children:["\u21b3 ",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/UTCTimeJson",children:(0,r.jsx)(n.code,{children:"UTCTimeJson"})})]}),"\n",(0,r.jsxs)(n.p,{children:["\u21b3 ",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/IGeneralizedTime",children:(0,r.jsx)(n.code,{children:"IGeneralizedTime"})})]}),"\n"]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"implemented-by",children:"Implemented by"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:(0,r.jsx)(n.a,{href:"/docs/api/classes/UTCTime",children:(0,r.jsx)(n.code,{children:"UTCTime"})})}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"properties",children:"Properties"}),"\n",(0,r.jsx)(n.h3,{id:"day",children:"day"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"day"}),": ",(0,r.jsx)(n.code,{children:"number"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"hour",children:"hour"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"hour"}),": ",(0,r.jsx)(n.code,{children:"number"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"minute",children:"minute"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"minute"}),": ",(0,r.jsx)(n.code,{children:"number"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"month",children:"month"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"month"}),": ",(0,r.jsx)(n.code,{children:"number"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"second",children:"second"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"second"}),": ",(0,r.jsx)(n.code,{children:"number"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"year",children:"year"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"year"}),": ",(0,r.jsx)(n.code,{children:"number"})]})]})}function h(e={}){const{wrapper:n}={...(0,s.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(a,{...e})}):a(e)}},1151:(e,n,i)=>{i.d(n,{Z:()=>l,a:()=>d});var r=i(7294);const s={},t=r.createContext(s);function d(e){const n=r.useContext(t);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:d(e.components),r.createElement(t.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/f086b950.43b462c5.js b/assets/js/f086b950.43b462c5.js new file mode 100644 index 0000000..444b7a1 --- /dev/null +++ b/assets/js/f086b950.43b462c5.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4258],{8239:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>o,contentTitle:()=>l,default:()=>t,frontMatter:()=>d,metadata:()=>c,toc:()=>h});var r=i(5893),s=i(1151);const d={id:"UTCTimeJson",title:"Interface: UTCTimeJson",sidebar_label:"UTCTimeJson",sidebar_position:0,custom_edit_url:null},l=void 0,c={id:"api/interfaces/UTCTimeJson",title:"Interface: UTCTimeJson",description:"Hierarchy",source:"@site/docs/api/interfaces/UTCTimeJson.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/UTCTimeJson",permalink:"/docs/api/interfaces/UTCTimeJson",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"UTCTimeJson",title:"Interface: UTCTimeJson",sidebar_label:"UTCTimeJson",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"RelativeObjectIdentifierParams",permalink:"/docs/api/interfaces/RelativeObjectIdentifierParams"},next:{title:"UTCTimeParams",permalink:"/docs/api/interfaces/UTCTimeParams"}},o={},h=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"blockName",id:"blockname",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"day",id:"day",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"hour",id:"hour",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"minute",id:"minute",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"month",id:"month",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"second",id:"second",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"valueBlock",id:"valueblock",level:3},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"year",id:"year",level:3},{value:"Inherited from",id:"inherited-from-16",level:4}];function a(e){const n={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,s.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,r.jsx)(n.code,{children:"BaseBlockJson"})}),"<",(0,r.jsx)(n.code,{children:"LocalSimpleStringValueBlockJson"}),">"]}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"/docs/api/interfaces/IUTCTime",children:(0,r.jsx)(n.code,{children:"IUTCTime"})})}),"\n",(0,r.jsxs)(n.p,{children:["\u21b3 ",(0,r.jsx)(n.strong,{children:(0,r.jsx)(n.code,{children:"UTCTimeJson"})})]}),"\n",(0,r.jsxs)(n.p,{children:["\u21b3\u21b3 ",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/GeneralizedTimeJson",children:(0,r.jsx)(n.code,{children:"GeneralizedTimeJson"})})]}),"\n"]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"properties",children:"Properties"}),"\n",(0,r.jsx)(n.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"blockLength"}),": ",(0,r.jsx)(n.code,{children:"number"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson",children:"BaseBlockJson"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson#blocklength",children:"blockLength"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"blockname",children:"blockName"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"blockName"}),": ",(0,r.jsx)(n.code,{children:"string"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson",children:"BaseBlockJson"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson#blockname",children:"blockName"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"day",children:"day"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"day"}),": ",(0,r.jsx)(n.code,{children:"number"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/IUTCTime",children:"IUTCTime"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/IUTCTime#day",children:"day"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"error",children:"error"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"error"}),": ",(0,r.jsx)(n.code,{children:"string"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson",children:"BaseBlockJson"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson#error",children:"error"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"hour",children:"hour"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"hour"}),": ",(0,r.jsx)(n.code,{children:"number"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/IUTCTime",children:"IUTCTime"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/IUTCTime#hour",children:"hour"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"idblock",children:"idBlock"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"idBlock"}),": ",(0,r.jsx)(n.code,{children:"LocalIdentificationBlockJson"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson",children:"BaseBlockJson"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson#idblock",children:"idBlock"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"lenBlock"}),": ",(0,r.jsx)(n.code,{children:"LocalLengthBlockJson"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson",children:"BaseBlockJson"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson#lenblock",children:"lenBlock"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"minute",children:"minute"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"minute"}),": ",(0,r.jsx)(n.code,{children:"number"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/IUTCTime",children:"IUTCTime"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/IUTCTime#minute",children:"minute"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"month",children:"month"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"month"}),": ",(0,r.jsx)(n.code,{children:"number"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/IUTCTime",children:"IUTCTime"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/IUTCTime#month",children:"month"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"name",children:"name"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"name"}),": ",(0,r.jsx)(n.code,{children:"string"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson",children:"BaseBlockJson"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson#name",children:"name"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"optional",children:"optional"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"optional"}),": ",(0,r.jsx)(n.code,{children:"boolean"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson",children:"BaseBlockJson"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson#optional",children:"optional"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.code,{children:"Optional"})," ",(0,r.jsx)(n.strong,{children:"primitiveSchema"}),": ",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,r.jsx)(n.code,{children:"BaseBlockJson"})}),"<",(0,r.jsx)(n.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson",children:"BaseBlockJson"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson#primitiveschema",children:"primitiveSchema"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"second",children:"second"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"second"}),": ",(0,r.jsx)(n.code,{children:"number"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/IUTCTime",children:"IUTCTime"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/IUTCTime#second",children:"second"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"valueBeforeDecode"}),": ",(0,r.jsx)(n.code,{children:"string"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson",children:"BaseBlockJson"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson#valuebeforedecode",children:"valueBeforeDecode"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"valueblock",children:"valueBlock"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"valueBlock"}),": ",(0,r.jsx)(n.code,{children:"LocalStringValueBlockJson"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson",children:"BaseBlockJson"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson#valueblock",children:"valueBlock"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"warnings",children:"warnings"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"warnings"}),": ",(0,r.jsx)(n.code,{children:"string"}),"[]"]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson",children:"BaseBlockJson"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/BaseBlockJson#warnings",children:"warnings"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"year",children:"year"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"year"}),": ",(0,r.jsx)(n.code,{children:"number"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/IUTCTime",children:"IUTCTime"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/IUTCTime#year",children:"year"})]})]})}function t(e={}){const{wrapper:n}={...(0,s.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(a,{...e})}):a(e)}},1151:(e,n,i)=>{i.d(n,{Z:()=>c,a:()=>l});var r=i(7294);const s={},d=r.createContext(s);function l(e){const n=r.useContext(d);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:l(e.components),r.createElement(d.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/f4b374d8.e694db6b.js b/assets/js/f4b374d8.e694db6b.js new file mode 100644 index 0000000..a6dee5f --- /dev/null +++ b/assets/js/f4b374d8.e694db6b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[9871],{8188:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>c,contentTitle:()=>d,default:()=>a,frontMatter:()=>l,metadata:()=>t,toc:()=>h});var i=n(5893),s=n(1151);const l={id:"TIME",title:"Class: TIME",sidebar_label:"TIME",sidebar_position:0,custom_edit_url:null},d=void 0,t={id:"api/classes/TIME",title:"Class: TIME",description:"Hierarchy",source:"@site/docs/api/classes/TIME.md",sourceDirName:"api/classes",slug:"/api/classes/TIME",permalink:"/docs/api/classes/TIME",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TIME",title:"Class: TIME",sidebar_label:"TIME",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"Set",permalink:"/docs/api/classes/Set"},next:{title:"TeletexString",permalink:"/docs/api/classes/TeletexString"}},c={},h=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Overrides",id:"overrides",level:4},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"valueBeforeDecodeView",id:"valuebeforedecodeview",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"valueBlock",id:"valueblock",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"NAME",id:"name-1",level:3},{value:"Overrides",id:"overrides-1",level:4},{value:"Accessors",id:"accessors",level:2},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Returns",id:"returns-1",level:4},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Methods",id:"methods",level:2},{value:"fromBER",id:"fromber",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"fromBuffer",id:"frombuffer",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-4",level:4},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"fromString",id:"fromstring",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-5",level:4},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"getValue",id:"getvalue",level:3},{value:"Returns",id:"returns-6",level:4},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"isEqual",id:"isequal",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-7",level:4},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"onAsciiEncoding",id:"onasciiencoding",level:3},{value:"Returns",id:"returns-8",level:4},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"setValue",id:"setvalue",level:3},{value:"Parameters",id:"parameters-6",level:4},{value:"Returns",id:"returns-9",level:4},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"toBER",id:"tober",level:3},{value:"Parameters",id:"parameters-7",level:4},{value:"Returns",id:"returns-10",level:4},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"toJSON",id:"tojson",level:3},{value:"Returns",id:"returns-11",level:4},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"toString",id:"tostring",level:3},{value:"Parameters",id:"parameters-8",level:4},{value:"Returns",id:"returns-12",level:4},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"blockName",id:"blockname",level:3},{value:"Returns",id:"returns-13",level:4},{value:"Inherited from",id:"inherited-from-22",level:4}];function o(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,s.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,i.jsxs)(r.ul,{children:["\n",(0,i.jsxs)(r.li,{children:["\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:(0,i.jsx)(r.code,{children:"Utf8String"})})}),"\n",(0,i.jsxs)(r.p,{children:["\u21b3 ",(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"TIME"})})]}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(r.h2,{id:"constructors",children:"Constructors"}),"\n",(0,i.jsx)(r.h3,{id:"constructor",children:"constructor"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"new TIME"}),"(",(0,i.jsx)(r.code,{children:"parameters?"}),"): ",(0,i.jsx)(r.a,{href:"/docs/api/classes/TIME",children:(0,i.jsx)(r.code,{children:"TIME"})})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"parameters"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.a,{href:"/docs/api/interfaces/Utf8StringParams",children:(0,i.jsx)(r.code,{children:"Utf8StringParams"})})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.a,{href:"/docs/api/classes/TIME",children:(0,i.jsx)(r.code,{children:"TIME"})})}),"\n",(0,i.jsx)(r.h4,{id:"overrides",children:"Overrides"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#constructor",children:"constructor"})]}),"\n",(0,i.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,i.jsx)(r.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"blockLength"}),": ",(0,i.jsx)(r.code,{children:"number"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#blocklength",children:"blockLength"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"error",children:"error"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"error"}),": ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#error",children:"error"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"idblock",children:"idBlock"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"idBlock"}),": ",(0,i.jsx)(r.code,{children:"LocalIdentificationBlock"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#idblock",children:"idBlock"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"lenBlock"}),": ",(0,i.jsx)(r.code,{children:"LocalLengthBlock"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#lenblock",children:"lenBlock"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"name",children:"name"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"name"}),": ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#name",children:"name"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"optional",children:"optional"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"optional"}),": ",(0,i.jsx)(r.code,{children:"boolean"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#optional",children:"optional"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.code,{children:"Optional"})," ",(0,i.jsx)(r.strong,{children:"primitiveSchema"}),": ",(0,i.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:(0,i.jsx)(r.code,{children:"BaseBlock"})}),"<",(0,i.jsx)(r.a,{href:"/docs/api/classes/ValueBlock",children:(0,i.jsx)(r.code,{children:"ValueBlock"})}),", ",(0,i.jsx)(r.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#primitiveschema",children:"primitiveSchema"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"valuebeforedecodeview",children:"valueBeforeDecodeView"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"valueBeforeDecodeView"}),": ",(0,i.jsx)(r.code,{children:"Uint8Array"})]}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Since"})})}),"\n",(0,i.jsx)(r.p,{children:"3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#valuebeforedecodeview",children:"valueBeforeDecodeView"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"valueblock",children:"valueBlock"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"valueBlock"}),": ",(0,i.jsx)(r.code,{children:"LocalSimpleStringValueBlock"})]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#valueblock",children:"valueBlock"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"warnings",children:"warnings"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"warnings"}),": ",(0,i.jsx)(r.code,{children:"string"}),"[]"]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#warnings",children:"warnings"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"name-1",children:"NAME"}),"\n",(0,i.jsxs)(r.p,{children:["\u25aa ",(0,i.jsx)(r.code,{children:"Static"})," ",(0,i.jsx)(r.strong,{children:"NAME"}),": ",(0,i.jsx)(r.code,{children:"string"})," = ",(0,i.jsx)(r.code,{children:'"TIME"'})]}),"\n",(0,i.jsx)(r.h4,{id:"overrides-1",children:"Overrides"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#name-1",children:"NAME"})]}),"\n",(0,i.jsx)(r.h2,{id:"accessors",children:"Accessors"}),"\n",(0,i.jsx)(r.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.code,{children:"get"})," ",(0,i.jsx)(r.strong,{children:"valueBeforeDecode"}),"(): ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-1",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,i.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"Utf8String.valueBeforeDecode"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.code,{children:"set"})," ",(0,i.jsx)(r.strong,{children:"valueBeforeDecode"}),"(",(0,i.jsx)(r.code,{children:"value"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"value"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"ArrayBuffer"})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-2",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,i.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:"Utf8String.valueBeforeDecode"}),"\n",(0,i.jsx)(r.h2,{id:"methods",children:"Methods"}),"\n",(0,i.jsx)(r.h3,{id:"fromber",children:"fromBER"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"fromBER"}),"(",(0,i.jsx)(r.code,{children:"inputBuffer"}),", ",(0,i.jsx)(r.code,{children:"inputOffset"}),", ",(0,i.jsx)(r.code,{children:"inputLength"}),"): ",(0,i.jsx)(r.code,{children:"number"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsxs)(r.tbody,{children:[(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputBuffer"})}),(0,i.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,i.jsx)(r.code,{children:"Uint8Array"})," | ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputOffset"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"number"})})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputLength"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"number"})})]})]})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-3",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"number"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#fromber",children:"fromBER"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"frombuffer",children:"fromBuffer"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"fromBuffer"}),"(",(0,i.jsx)(r.code,{children:"inputBuffer"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputBuffer"})}),(0,i.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,i.jsx)(r.code,{children:"Uint8Array"})," | ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-4",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#frombuffer",children:"fromBuffer"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"fromstring",children:"fromString"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"fromString"}),"(",(0,i.jsx)(r.code,{children:"inputString"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"inputString"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"string"})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-5",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#fromstring",children:"fromString"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"getvalue",children:"getValue"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"getValue"}),"(): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.p,{children:"String value"}),"\n",(0,i.jsx)(r.h4,{id:"returns-6",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Since"})})}),"\n",(0,i.jsx)(r.p,{children:"3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#getvalue",children:"getValue"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"isequal",children:"isEqual"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"isEqual"}),"(",(0,i.jsx)(r.code,{children:"other"}),"): other is TIME"]}),"\n",(0,i.jsx)(r.p,{children:"Determines whether two object instances are equal"}),"\n",(0,i.jsx)(r.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"other"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"unknown"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:"Object to compare with the current object"})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-7",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:"other is TIME"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#isequal",children:"isEqual"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"onasciiencoding",children:"onAsciiEncoding"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"onAsciiEncoding"}),"(): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-8",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-17",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#onasciiencoding",children:"onAsciiEncoding"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"setvalue",children:"setValue"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"setValue"}),"(",(0,i.jsx)(r.code,{children:"value"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.p,{children:"String value"}),"\n",(0,i.jsx)(r.h4,{id:"parameters-6",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"value"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"string"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:"String value"})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-9",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Since"})})}),"\n",(0,i.jsx)(r.p,{children:"3.0.0"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-18",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#setvalue",children:"setValue"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"tober",children:"toBER"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"toBER"}),"(",(0,i.jsx)(r.code,{children:"sizeOnly?"}),", ",(0,i.jsx)(r.code,{children:"writer?"}),"): ",(0,i.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-7",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsxs)(r.tbody,{children:[(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"sizeOnly?"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"boolean"})})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"writer?"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.a,{href:"/docs/api/classes/ViewWriter",children:(0,i.jsx)(r.code,{children:"ViewWriter"})})})]})]})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-10",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-19",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#tober",children:"toBER"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"tojson",children:"toJSON"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"toJSON"}),"(): ",(0,i.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,i.jsx)(r.code,{children:"BaseBlockJson"})}),"<",(0,i.jsx)(r.code,{children:"LocalStringValueBlockJson"}),">"]}),"\n",(0,i.jsx)(r.h4,{id:"returns-11",children:"Returns"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockJson",children:(0,i.jsx)(r.code,{children:"BaseBlockJson"})}),"<",(0,i.jsx)(r.code,{children:"LocalStringValueBlockJson"}),">"]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-20",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#tojson",children:"toJSON"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"tostring",children:"toString"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"toString"}),"(",(0,i.jsx)(r.code,{children:"encoding?"}),"): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters-8",children:"Parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Default value"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"encoding"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.a,{href:"../#stringencoding",children:(0,i.jsx)(r.code,{children:"StringEncoding"})})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:'"ascii"'})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-12",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-21",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#tostring",children:"toString"})]}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"blockname",children:"blockName"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"blockName"}),"(): ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.p,{children:"Aux function, need to get a block name. Need to have it here for inheritance"}),"\n",(0,i.jsx)(r.h4,{id:"returns-13",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"string"})}),"\n",(0,i.jsx)(r.p,{children:"Returns name of the block"}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-22",children:"Inherited from"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String",children:"Utf8String"}),".",(0,i.jsx)(r.a,{href:"/docs/api/classes/Utf8String#blockname",children:"blockName"})]})]})}function a(e={}){const{wrapper:r}={...(0,s.a)(),...e.components};return r?(0,i.jsx)(r,{...e,children:(0,i.jsx)(o,{...e})}):o(e)}},1151:(e,r,n)=>{n.d(r,{Z:()=>t,a:()=>d});var i=n(7294);const s={},l=i.createContext(s);function d(e){const r=i.useContext(l);return i.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function t(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:d(e.components),i.createElement(l.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/f641567d.40ac5e98.js b/assets/js/f641567d.40ac5e98.js new file mode 100644 index 0000000..790edca --- /dev/null +++ b/assets/js/f641567d.40ac5e98.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8575],{1326:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>o,contentTitle:()=>i,default:()=>p,frontMatter:()=>c,metadata:()=>l,toc:()=>w});var r=t(5893),s=t(1151),a=t(9286);const u="import * as asn1js from 'asn1js';\n\nvar sequence = new asn1js.Sequence();\nsequence.valueBlock.value.push(new asn1js.Integer({ value: 1 }));\n\nvar sequence_buffer = sequence.toBER(false); // Encode current sequence to BER (in ArrayBuffer)\nvar current_size = sequence_buffer.byteLength;\n\nvar integer_data = new ArrayBuffer(8);\nvar integer_view = new Uint8Array(integer_data);\ninteger_view[0] = 0x01;\ninteger_view[1] = 0x01;\ninteger_view[2] = 0x01;\ninteger_view[3] = 0x01;\ninteger_view[4] = 0x01;\ninteger_view[5] = 0x01;\ninteger_view[6] = 0x01;\ninteger_view[7] = 0x01;\n\nsequence.valueBlock.value.push(new asn1js.Integer({\n isHexOnly: true,\n valueHex: integer_data,\n})); // Put too long for decoding Integer value\n\nsequence_buffer = sequence.toBER();\ncurrent_size = sequence_buffer.byteLength;\n",c={},i="Create new ASN.1 structures",l={id:"examples/create-new-asn-structures",title:"Create new ASN.1 structures",description:"",source:"@site/docs/examples/create-new-asn-structures.mdx",sourceDirName:"examples",slug:"/examples/create-new-asn-structures",permalink:"/docs/examples/create-new-asn-structures",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"examples",previous:{title:"Create new ASN.1 structures by calling constructors with parameters",permalink:"/docs/examples/create-new-asn-structures-by-calling-constructors-with-parameters"},next:{title:'Use "internal schemas" for primitively encoded data types',permalink:"/docs/examples/use-internal-schemas-for-primitively-encoded-data-types"}},o={},w=[];function d(e){const n={h1:"h1",...(0,s.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h1,{id:"create-new-asn1-structures",children:"Create new ASN.1 structures"}),"\n",(0,r.jsx)(a.Z,{language:"ts",children:u})]})}function p(e={}){const{wrapper:n}={...(0,s.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(d,{...e})}):d(e)}}}]); \ No newline at end of file diff --git a/assets/js/f79827ba.5414ade1.js b/assets/js/f79827ba.5414ade1.js new file mode 100644 index 0000000..ddf8a28 --- /dev/null +++ b/assets/js/f79827ba.5414ade1.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[397],{2071:(e,r,s)=>{s.r(r),s.d(r,{assets:()=>t,contentTitle:()=>d,default:()=>a,frontMatter:()=>l,metadata:()=>c,toc:()=>h});var n=s(5893),i=s(1151);const l={id:"ObjectIdentifier",title:"Class: ObjectIdentifier",sidebar_label:"ObjectIdentifier",sidebar_position:0,custom_edit_url:null},d=void 0,c={id:"api/classes/ObjectIdentifier",title:"Class: ObjectIdentifier",description:"Hierarchy",source:"@site/docs/api/classes/ObjectIdentifier.md",sourceDirName:"api/classes",slug:"/api/classes/ObjectIdentifier",permalink:"/docs/api/classes/ObjectIdentifier",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"ObjectIdentifier",title:"Class: ObjectIdentifier",sidebar_label:"ObjectIdentifier",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"NumericString",permalink:"/docs/api/classes/NumericString"},next:{title:"OctetString",permalink:"/docs/api/classes/OctetString"}},t={},h=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Overrides",id:"overrides",level:4},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"valueBeforeDecodeView",id:"valuebeforedecodeview",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"valueBlock",id:"valueblock",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"NAME",id:"name-1",level:3},{value:"Overrides",id:"overrides-1",level:4},{value:"Accessors",id:"accessors",level:2},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Returns",id:"returns-1",level:4},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Methods",id:"methods",level:2},{value:"fromBER",id:"fromber",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"getValue",id:"getvalue",level:3},{value:"Returns",id:"returns-4",level:4},{value:"isEqual",id:"isequal",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-5",level:4},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"onAsciiEncoding",id:"onasciiencoding",level:3},{value:"Returns",id:"returns-6",level:4},{value:"Overrides",id:"overrides-2",level:4},{value:"setValue",id:"setvalue",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-7",level:4},{value:"toBER",id:"tober",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-8",level:4},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"toJSON",id:"tojson",level:3},{value:"Returns",id:"returns-9",level:4},{value:"Overrides",id:"overrides-3",level:4},{value:"toString",id:"tostring",level:3},{value:"Parameters",id:"parameters-6",level:4},{value:"Returns",id:"returns-10",level:4},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"blockName",id:"blockname",level:3},{value:"Returns",id:"returns-11",level:4},{value:"Inherited from",id:"inherited-from-16",level:4}];function o(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,n.jsxs)(r.ul,{children:["\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:(0,n.jsx)(r.code,{children:"BaseBlock"})}),"<",(0,n.jsx)(r.code,{children:"LocalObjectIdentifierValueBlock"}),", ",(0,n.jsx)(r.code,{children:"LocalObjectIdentifierValueBlockJson"}),">"]}),"\n",(0,n.jsxs)(r.p,{children:["\u21b3 ",(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"ObjectIdentifier"})})]}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(r.h2,{id:"constructors",children:"Constructors"}),"\n",(0,n.jsx)(r.h3,{id:"constructor",children:"constructor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"new ObjectIdentifier"}),"(",(0,n.jsx)(r.code,{children:"parameters?"}),"): ",(0,n.jsx)(r.a,{href:"/docs/api/classes/ObjectIdentifier",children:(0,n.jsx)(r.code,{children:"ObjectIdentifier"})})]}),"\n",(0,n.jsx)(r.h4,{id:"parameters",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(r.tbody,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"parameters"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.a,{href:"/docs/api/interfaces/ObjectIdentifierParams",children:(0,n.jsx)(r.code,{children:"ObjectIdentifierParams"})})})]})})]}),"\n",(0,n.jsx)(r.h4,{id:"returns",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"/docs/api/classes/ObjectIdentifier",children:(0,n.jsx)(r.code,{children:"ObjectIdentifier"})})}),"\n",(0,n.jsx)(r.h4,{id:"overrides",children:"Overrides"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#constructor",children:"constructor"})]}),"\n",(0,n.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,n.jsx)(r.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"blockLength"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#blocklength",children:"blockLength"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"error",children:"error"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"error"}),": ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#error",children:"error"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"idblock",children:"idBlock"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"idBlock"}),": ",(0,n.jsx)(r.code,{children:"LocalIdentificationBlock"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#idblock",children:"idBlock"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"lenBlock"}),": ",(0,n.jsx)(r.code,{children:"LocalLengthBlock"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#lenblock",children:"lenBlock"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"name",children:"name"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"name"}),": ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#name",children:"name"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"optional",children:"optional"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"optional"}),": ",(0,n.jsx)(r.code,{children:"boolean"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#optional",children:"optional"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"primitiveSchema"}),": ",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:(0,n.jsx)(r.code,{children:"BaseBlock"})}),"<",(0,n.jsx)(r.a,{href:"/docs/api/classes/ValueBlock",children:(0,n.jsx)(r.code,{children:"ValueBlock"})}),", ",(0,n.jsx)(r.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#primitiveschema",children:"primitiveSchema"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"valuebeforedecodeview",children:"valueBeforeDecodeView"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"valueBeforeDecodeView"}),": ",(0,n.jsx)(r.code,{children:"Uint8Array"})]}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"Since"})})}),"\n",(0,n.jsx)(r.p,{children:"3.0.0"}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#valuebeforedecodeview",children:"valueBeforeDecodeView"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"valueblock",children:"valueBlock"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"valueBlock"}),": ",(0,n.jsx)(r.code,{children:"LocalObjectIdentifierValueBlock"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#valueblock",children:"valueBlock"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"warnings",children:"warnings"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"warnings"}),": ",(0,n.jsx)(r.code,{children:"string"}),"[]"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#warnings",children:"warnings"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"name-1",children:"NAME"}),"\n",(0,n.jsxs)(r.p,{children:["\u25aa ",(0,n.jsx)(r.code,{children:"Static"})," ",(0,n.jsx)(r.strong,{children:"NAME"}),": ",(0,n.jsx)(r.code,{children:"string"})," = ",(0,n.jsx)(r.code,{children:'"OBJECT IDENTIFIER"'})]}),"\n",(0,n.jsx)(r.h4,{id:"overrides-1",children:"Overrides"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#name-1",children:"NAME"})]}),"\n",(0,n.jsx)(r.h2,{id:"accessors",children:"Accessors"}),"\n",(0,n.jsx)(r.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"get"})," ",(0,n.jsx)(r.strong,{children:"valueBeforeDecode"}),"(): ",(0,n.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-1",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,n.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"BaseBlock.valueBeforeDecode"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"set"})," ",(0,n.jsx)(r.strong,{children:"valueBeforeDecode"}),"(",(0,n.jsx)(r.code,{children:"value"}),"): ",(0,n.jsx)(r.code,{children:"void"})]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(r.tbody,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"value"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"ArrayBuffer"})})]})})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-2",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"void"})}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,n.jsx)(r.p,{children:"since version 3.0.0"}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"BaseBlock.valueBeforeDecode"}),"\n",(0,n.jsx)(r.h2,{id:"methods",children:"Methods"}),"\n",(0,n.jsx)(r.h3,{id:"fromber",children:"fromBER"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"fromBER"}),"(",(0,n.jsx)(r.code,{children:"inputBuffer"}),", ",(0,n.jsx)(r.code,{children:"inputOffset"}),", ",(0,n.jsx)(r.code,{children:"inputLength"}),"): ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.p,{children:"Base function for converting block from BER encoded array of bytes"}),"\n",(0,n.jsx)(r.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"inputBuffer"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,n.jsx)(r.code,{children:"Uint8Array"})," | ",(0,n.jsx)(r.code,{children:"ArrayBuffer"})]}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:"ASN.1 BER encoded array"})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"inputOffset"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"number"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:"Offset in ASN.1 BER encoded array where decoding should be started"})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"inputLength"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"number"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:"Maximum length of array of bytes which can be using in this function"})]})]})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-3",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"number"})}),"\n",(0,n.jsx)(r.p,{children:"Offset after least decoded byte"}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#fromber",children:"fromBER"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"getvalue",children:"getValue"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"getValue"}),"(): ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.p,{children:"Gets string representation of Object Identifier"}),"\n",(0,n.jsx)(r.h4,{id:"returns-4",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"string"})}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"Since"})})}),"\n",(0,n.jsx)(r.p,{children:"3.0.0"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"isequal",children:"isEqual"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"isEqual"}),"(",(0,n.jsx)(r.code,{children:"other"}),"): other is ObjectIdentifier"]}),"\n",(0,n.jsx)(r.p,{children:"Determines whether two object instances are equal"}),"\n",(0,n.jsx)(r.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,n.jsx)(r.tbody,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"other"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"unknown"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:"Object to compare with the current object"})]})})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-5",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:"other is ObjectIdentifier"}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#isequal",children:"isEqual"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"onasciiencoding",children:"onAsciiEncoding"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"onAsciiEncoding"}),"(): ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-6",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"string"})}),"\n",(0,n.jsx)(r.h4,{id:"overrides-2",children:"Overrides"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#onasciiencoding",children:"onAsciiEncoding"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"setvalue",children:"setValue"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"setValue"}),"(",(0,n.jsx)(r.code,{children:"value"}),"): ",(0,n.jsx)(r.code,{children:"void"})]}),"\n",(0,n.jsx)(r.p,{children:"Sets Object Identifier value from string"}),"\n",(0,n.jsx)(r.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,n.jsx)(r.tbody,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"value"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"string"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:"String value"})]})})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-7",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"void"})}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"Since"})})}),"\n",(0,n.jsx)(r.p,{children:"3.0.0"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"tober",children:"toBER"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"toBER"}),"(",(0,n.jsx)(r.code,{children:"sizeOnly?"}),", ",(0,n.jsx)(r.code,{children:"writer?"}),"): ",(0,n.jsx)(r.code,{children:"ArrayBuffer"})]}),"\n",(0,n.jsx)(r.p,{children:"Encoding of current ASN.1 block into ASN.1 encoded array (BER rules)"}),"\n",(0,n.jsx)(r.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"sizeOnly?"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"boolean"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:"Flag that we need only a size of encoding, not a real array of bytes"})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"writer?"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.a,{href:"/docs/api/classes/ViewWriter",children:(0,n.jsx)(r.code,{children:"ViewWriter"})})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:"-"})]})]})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-8",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"ArrayBuffer"})}),"\n",(0,n.jsx)(r.p,{children:"ASN.1 BER encoded array"}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#tober",children:"toBER"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"tojson",children:"toJSON"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"toJSON"}),"(): ",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/ObjectIdentifierJson",children:(0,n.jsx)(r.code,{children:"ObjectIdentifierJson"})})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-9",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"/docs/api/interfaces/ObjectIdentifierJson",children:(0,n.jsx)(r.code,{children:"ObjectIdentifierJson"})})}),"\n",(0,n.jsx)(r.h4,{id:"overrides-3",children:"Overrides"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#tojson",children:"toJSON"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"tostring",children:"toString"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"toString"}),"(",(0,n.jsx)(r.code,{children:"encoding?"}),"): ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-6",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Default value"})]})}),(0,n.jsx)(r.tbody,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"encoding"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.a,{href:"../#stringencoding",children:(0,n.jsx)(r.code,{children:"StringEncoding"})})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:'"ascii"'})})]})})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-10",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"string"})}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#tostring",children:"toString"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"blockname",children:"blockName"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"blockName"}),"(): ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.p,{children:"Aux function, need to get a block name. Need to have it here for inheritance"}),"\n",(0,n.jsx)(r.h4,{id:"returns-11",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"string"})}),"\n",(0,n.jsx)(r.p,{children:"Returns name of the block"}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:"BaseBlock"}),".",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock#blockname",children:"blockName"})]})]})}function a(e={}){const{wrapper:r}={...(0,i.a)(),...e.components};return r?(0,n.jsx)(r,{...e,children:(0,n.jsx)(o,{...e})}):o(e)}},1151:(e,r,s)=>{s.d(r,{Z:()=>c,a:()=>d});var n=s(7294);const i={},l=n.createContext(i);function d(e){const r=n.useContext(l);return n.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function c(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:d(e.components),n.createElement(l.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/f7d69949.375f74ee.js b/assets/js/f7d69949.375f74ee.js new file mode 100644 index 0000000..4be5455 --- /dev/null +++ b/assets/js/f7d69949.375f74ee.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[95],{7498:(e,r,i)=>{i.r(r),i.d(r,{assets:()=>d,contentTitle:()=>c,default:()=>h,frontMatter:()=>l,metadata:()=>a,toc:()=>o});var n=i(5893),s=i(1151);const l={id:"OctetStringParams",title:"Interface: OctetStringParams",sidebar_label:"OctetStringParams",sidebar_position:0,custom_edit_url:null},c=void 0,a={id:"api/interfaces/OctetStringParams",title:"Interface: OctetStringParams",description:"Hierarchy",source:"@site/docs/api/interfaces/OctetStringParams.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/OctetStringParams",permalink:"/docs/api/interfaces/OctetStringParams",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"OctetStringParams",title:"Interface: OctetStringParams",sidebar_label:"OctetStringParams",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"ObjectIdentifierParams",permalink:"/docs/api/interfaces/ObjectIdentifierParams"},next:{title:"PrimitiveParams",permalink:"/docs/api/interfaces/PrimitiveParams"}},d={},o=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"blockLength",id:"blocklength",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"error",id:"error",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"idBlock",id:"idblock",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"isConstructed",id:"isconstructed",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"isHexOnly",id:"ishexonly",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"isIndefiniteForm",id:"isindefiniteform",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"lenBlock",id:"lenblock",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"primitiveSchema",id:"primitiveschema",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"value",id:"value",level:3},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"valueBeforeDecode",id:"valuebeforedecode",level:3},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"valueHex",id:"valuehex",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"warnings",id:"warnings",level:3},{value:"Inherited from",id:"inherited-from-13",level:4}];function t(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,s.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,n.jsxs)(r.ul,{children:["\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:(0,n.jsx)(r.code,{children:"BaseBlockParams"})})}),"\n"]}),"\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"LocalOctetStringValueBlockParams"})}),"\n",(0,n.jsxs)(r.p,{children:["\u21b3 ",(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"OctetStringParams"})})]}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,n.jsx)(r.h3,{id:"blocklength",children:"blockLength"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"blockLength"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#blocklength",children:"blockLength"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"error",children:"error"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"error"}),": ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#error",children:"error"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"idblock",children:"idBlock"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"idBlock"}),": ",(0,n.jsx)(r.code,{children:"Partial"}),"<",(0,n.jsx)(r.code,{children:"ILocalIdentificationBlock"}),"> & ",(0,n.jsx)(r.code,{children:"Partial"}),"<",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/IHexBlock",children:(0,n.jsx)(r.code,{children:"IHexBlock"})}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#idblock",children:"idBlock"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"isconstructed",children:"isConstructed"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"isConstructed"}),": ",(0,n.jsx)(r.code,{children:"boolean"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"LocalOctetStringValueBlockParams.isConstructed"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"ishexonly",children:"isHexOnly"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"isHexOnly"}),": ",(0,n.jsx)(r.code,{children:"boolean"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"LocalOctetStringValueBlockParams.isHexOnly"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"isindefiniteform",children:"isIndefiniteForm"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"isIndefiniteForm"}),": ",(0,n.jsx)(r.code,{children:"boolean"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"LocalOctetStringValueBlockParams.isIndefiniteForm"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"lenblock",children:"lenBlock"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"lenBlock"}),": ",(0,n.jsx)(r.code,{children:"Partial"}),"<",(0,n.jsx)(r.code,{children:"ILocalLengthBlock"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#lenblock",children:"lenBlock"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"name",children:"name"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"name"}),": ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#name",children:"name"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"optional",children:"optional"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"optional"}),": ",(0,n.jsx)(r.code,{children:"boolean"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#optional",children:"optional"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"primitiveschema",children:"primitiveSchema"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"primitiveSchema"}),": ",(0,n.jsx)(r.a,{href:"/docs/api/classes/BaseBlock",children:(0,n.jsx)(r.code,{children:"BaseBlock"})}),"<",(0,n.jsx)(r.a,{href:"/docs/api/classes/ValueBlock",children:(0,n.jsx)(r.code,{children:"ValueBlock"})}),", ",(0,n.jsx)(r.code,{children:"LocalBaseBlockJson"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#primitiveschema",children:"primitiveSchema"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"value",children:"value"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"value"}),": ",(0,n.jsx)(r.a,{href:"/docs/api/classes/OctetString",children:(0,n.jsx)(r.code,{children:"OctetString"})}),"[]"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"LocalOctetStringValueBlockParams.value"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"valuebeforedecode",children:"valueBeforeDecode"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"valueBeforeDecode"}),": ",(0,n.jsx)(r.code,{children:"BufferSource"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#valuebeforedecode",children:"valueBeforeDecode"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"valuehex",children:"valueHex"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"valueHex"}),": ",(0,n.jsx)(r.code,{children:"BufferSource"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"LocalOctetStringValueBlockParams.valueHex"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"warnings",children:"warnings"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"warnings"}),": ",(0,n.jsx)(r.code,{children:"string"}),"[]"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams",children:"BaseBlockParams"}),".",(0,n.jsx)(r.a,{href:"/docs/api/interfaces/BaseBlockParams#warnings",children:"warnings"})]})]})}function h(e={}){const{wrapper:r}={...(0,s.a)(),...e.components};return r?(0,n.jsx)(r,{...e,children:(0,n.jsx)(t,{...e})}):t(e)}},1151:(e,r,i)=>{i.d(r,{Z:()=>a,a:()=>c});var n=i(7294);const s={},l=n.createContext(s);function c(e){const r=n.useContext(l);return n.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function a(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:c(e.components),n.createElement(l.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/fab20cb6.c98bc9cf.js b/assets/js/fab20cb6.c98bc9cf.js new file mode 100644 index 0000000..a10ba9f --- /dev/null +++ b/assets/js/fab20cb6.c98bc9cf.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[5292],{2638:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>t,contentTitle:()=>l,default:()=>h,frontMatter:()=>c,metadata:()=>o,toc:()=>a});var r=i(5893),s=i(1151);const c={id:"IChoice",title:"Interface: IChoice",sidebar_label:"IChoice",sidebar_position:0,custom_edit_url:null},l=void 0,o={id:"api/interfaces/IChoice",title:"Interface: IChoice",description:"Hierarchy",source:"@site/docs/api/interfaces/IChoice.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/IChoice",permalink:"/docs/api/interfaces/IChoice",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"IChoice",title:"Interface: IChoice",sidebar_label:"IChoice",sidebar_position:0,custom_edit_url:null},sidebar:"docs",previous:{title:"IBerConvertible",permalink:"/docs/api/interfaces/IBerConvertible"},next:{title:"IDateConvertible",permalink:"/docs/api/interfaces/IDateConvertible"}},t={},a=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Implemented by",id:"implemented-by",level:2},{value:"Properties",id:"properties",level:2},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"optional",id:"optional",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"value",id:"value",level:3}];function d(e){const n={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,s.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"/docs/api/interfaces/IAny",children:(0,r.jsx)(n.code,{children:"IAny"})})}),"\n",(0,r.jsxs)(n.p,{children:["\u21b3 ",(0,r.jsx)(n.strong,{children:(0,r.jsx)(n.code,{children:"IChoice"})})]}),"\n"]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"implemented-by",children:"Implemented by"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:(0,r.jsx)(n.a,{href:"/docs/api/classes/Choice",children:(0,r.jsx)(n.code,{children:"Choice"})})}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"properties",children:"Properties"}),"\n",(0,r.jsx)(n.h3,{id:"name",children:"name"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"name"}),": ",(0,r.jsx)(n.code,{children:"string"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/IAny",children:"IAny"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/IAny#name",children:"name"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"optional",children:"optional"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"optional"}),": ",(0,r.jsx)(n.code,{children:"boolean"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/IAny",children:"IAny"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/IAny#optional",children:"optional"})]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"value",children:"value"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"value"}),": ",(0,r.jsx)(n.a,{href:"/docs/api/classes/BaseBlock",children:(0,r.jsx)(n.code,{children:"BaseBlock"})}),"<",(0,r.jsx)(n.a,{href:"/docs/api/classes/ValueBlock",children:(0,r.jsx)(n.code,{children:"ValueBlock"})}),", ",(0,r.jsx)(n.code,{children:"LocalBaseBlockJson"}),">[]"]})]})}function h(e={}){const{wrapper:n}={...(0,s.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(d,{...e})}):d(e)}},1151:(e,n,i)=>{i.d(n,{Z:()=>o,a:()=>l});var r=i(7294);const s={},c=r.createContext(s);function l(e){const n=r.useContext(c);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:l(e.components),r.createElement(c.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/fb457659.fed5eb68.js b/assets/js/fb457659.fed5eb68.js new file mode 100644 index 0000000..645d635 --- /dev/null +++ b/assets/js/fb457659.fed5eb68.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[9345],{6898:(e,a,n)=>{n.r(a),n.d(a,{assets:()=>o,contentTitle:()=>c,default:()=>h,frontMatter:()=>d,metadata:()=>l,toc:()=>m});var s=n(5893),i=n(1151),t=n(9286);const r='import * as asn1js from \'asn1js\';\n\nvar asn1_schema = new asn1js.Sequence({\n name: "block1",\n value: [\n new asn1js.Null({\n name: "block2"\n }),\n new asn1js.Integer({\n name: "block3",\n optional: true // This block is absent inside data, but it\'s "optional". Hence verification against the schema will be passed.\n })\n ]\n});\n\nvar variant1 = org.pkijs.verifySchema(encoded_sequence, asn1_schema); // Verify schema together with decoding of raw data\nvar variant1_verified = variant1.verified;\nvar variant1_result = variant1.result; // Verified decoded data with all block names inside\n',d={},c="Validate ASN.1 against pre-defined schema",l={id:"examples/validate-asn-against-pre-defined-schema",title:"Validate ASN.1 against pre-defined schema",description:"",source:"@site/docs/examples/validate-asn-against-pre-defined-schema.mdx",sourceDirName:"examples",slug:"/examples/validate-asn-against-pre-defined-schema",permalink:"/docs/examples/validate-asn-against-pre-defined-schema",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"examples",previous:{title:'Use "internal schemas" for primitively encoded data types',permalink:"/docs/examples/use-internal-schemas-for-primitively-encoded-data-types"}},o={},m=[];function p(e){const a={h1:"h1",...(0,i.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(a.h1,{id:"validate-asn1-against-pre-defined-schema",children:"Validate ASN.1 against pre-defined schema"}),"\n",(0,s.jsx)(t.Z,{language:"ts",children:r})]})}function h(e={}){const{wrapper:a}={...(0,i.a)(),...e.components};return a?(0,s.jsx)(a,{...e,children:(0,s.jsx)(p,{...e})}):p(e)}}}]); \ No newline at end of file diff --git a/assets/js/main.8b95885d.js b/assets/js/main.8b95885d.js new file mode 100644 index 0000000..d83cb35 --- /dev/null +++ b/assets/js/main.8b95885d.js @@ -0,0 +1,2 @@ +/*! For license information please see main.8b95885d.js.LICENSE.txt */ +(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[179],{723:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});n(7294);var r=n(8356),a=n.n(r),o=n(6887);const i={"00675d3b":[()=>n.e(557).then(n.bind(n,8076)),"@site/docs/api/interfaces/ConstructedParams.md",8076],"026391f0":[()=>n.e(4417).then(n.bind(n,550)),"@site/docs/api/classes/PrintableString.md",550],"03bd3e3d":[()=>n.e(5903).then(n.bind(n,3563)),"@site/docs/api/classes/RawData.md",3563],"0c4223ed":[()=>n.e(9370).then(n.bind(n,2447)),"@site/docs/api/interfaces/ValueBlockConstructor.md",2447],"0f29e150":[()=>n.e(4033).then(n.bind(n,8552)),"@site/docs/api/interfaces/IGeneralizedTime.md",8552],"12c2209e":[()=>n.e(4767).then(n.bind(n,1417)),"@site/docs/api/interfaces/IHexBlock.md",1417],"13f75f52":[()=>n.e(4079).then(n.bind(n,6769)),"@site/docs/api/interfaces/IDateConvertible.md",6769],"16465fe8":[()=>n.e(8907).then(n.bind(n,6438)),"@site/docs/api/classes/Constructed.md",6438],17896441:[()=>Promise.all([n.e(532),n.e(2312),n.e(7918)]).then(n.bind(n,8077)),"@theme/DocItem",8077],"1d77307c":[()=>n.e(4081).then(n.bind(n,3252)),"@site/docs/api/interfaces/PrimitiveParams.md",3252],"1df93b7f":[()=>Promise.all([n.e(532),n.e(3237)]).then(n.bind(n,8478)),"@site/src/pages/index.tsx",8478],"1e333d5e":[()=>n.e(2521).then(n.bind(n,7920)),"@site/docs/api/classes/OctetString.md",7920],20190980:[()=>n.e(3627).then(n.bind(n,2863)),"@site/docs/api/interfaces/BitStringParams.md",2863],"278d5f50":[()=>n.e(5689).then(n.bind(n,2357)),"@site/docs/api/interfaces/IBerConvertible.md",2357],"2c629d30":[()=>n.e(299).then(n.bind(n,6795)),"@site/docs/api/interfaces/IBaseBlock.md",6795],"30dc882d":[()=>n.e(5352).then(n.t.bind(n,5745,19)),"/home/runner/work/ASN1.js/ASN1.js/website/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json",5745],"30edd11b":[()=>n.e(1080).then(n.bind(n,947)),"@site/docs/api/classes/VideotexString.md",947],"3926a858":[()=>n.e(1686).then(n.bind(n,4700)),"@site/docs/api/classes/Integer.md",4700],"394c73fc":[()=>n.e(8067).then(n.bind(n,6969)),"@site/docs/api/interfaces/CompareSchemaSuccess.md",6969],"3b8c55ea":[()=>n.e(3217).then(n.bind(n,6995)),"@site/docs/installation.md",6995],"3d5a6bf6":[()=>n.e(302).then(n.bind(n,2329)),"@site/docs/api/classes/GeneralizedTime.md",2329],"44975b2a":[()=>Promise.all([n.e(532),n.e(2312),n.e(5831)]).then(n.bind(n,994)),"@site/docs/examples/create-new-asn-structures-by-calling-constructors-with-parameters.mdx",994],"44cf8793":[()=>n.e(2807).then(n.bind(n,6518)),"@site/docs/api/classes/Null.md",6518],"4691bf8d":[()=>n.e(3333).then(n.bind(n,4071)),"@site/docs/api/interfaces/BooleanParams.md",4071],"4ba0dc1c":[()=>n.e(8370).then(n.bind(n,7972)),"@site/docs/api/classes/GraphicString.md",7972],"4c16353d":[()=>n.e(8547).then(n.bind(n,1023)),"@site/docs/api/classes/Enumerated.md",1023],"4d00faf8":[()=>n.e(4770).then(n.t.bind(n,3769,19)),"/home/runner/work/ASN1.js/ASN1.js/website/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json",3769],"51825ba5":[()=>n.e(7737).then(n.bind(n,9108)),"@site/docs/api/classes/Any.md",9108],"576f065d":[()=>n.e(6896).then(n.bind(n,3905)),"@site/docs/api/classes/DATE.md",3905],"59a44bca":[()=>n.e(2780).then(n.bind(n,236)),"@site/docs/api/classes/BaseStringBlock.md",236],"59cc6c35":[()=>n.e(2591).then(n.bind(n,981)),"@site/docs/api/classes/VisibleString.md",981],"5acba2f0":[()=>n.e(6494).then(n.bind(n,7422)),"@site/docs/api/classes/UniversalString.md",7422],"5b192a6a":[()=>n.e(8271).then(n.bind(n,5154)),"@site/docs/api/classes/BaseBlock.md",5154],"5bfd37b4":[()=>n.e(9936).then(n.bind(n,8527)),"@site/docs/api/classes/UTCTime.md",8527],"5e73ccd4":[()=>n.e(6871).then(n.bind(n,6967)),"@site/docs/api/interfaces/ObjectIdentifierJson.md",6967],"5e8c322a":[()=>n.e(7597).then(n.bind(n,1235)),"@site/docs/api/index.md",1235],"5e95c892":[()=>n.e(9661).then(n.bind(n,1892)),"@theme/DocsRoot",1892],"5e9f5e1a":[()=>Promise.resolve().then(n.bind(n,6809)),"@generated/docusaurus.config",6809],"65e69e3f":[()=>n.e(1795).then(n.bind(n,3648)),"@site/docs/api/classes/RelativeObjectIdentifier.md",3648],"713f63a6":[()=>n.e(5200).then(n.bind(n,7187)),"@site/docs/api/interfaces/GeneralizedTimeJson.md",7187],"74b950b8":[()=>n.e(1154).then(n.bind(n,7703)),"@site/docs/api/interfaces/ObjectIdentifierParams.md",7703],"7b30025a":[()=>n.e(7699).then(n.bind(n,4454)),"@site/docs/api/interfaces/Utf8StringParams.md",4454],"7b53a246":[()=>n.e(4936).then(n.bind(n,626)),"@site/docs/api/classes/Utf8String.md",626],"7e6180b7":[()=>n.e(4914).then(n.bind(n,5185)),"@site/docs/api/interfaces/UTCTimeParams.md",5185],84852306:[()=>n.e(1050).then(n.bind(n,7209)),"@site/docs/api/interfaces/FromBerResult.md",7209],"869c68c6":[()=>n.e(590).then(n.bind(n,531)),"@site/docs/api/interfaces/RelativeObjectIdentifierParams.md",531],"8c440dac":[()=>n.e(8229).then(n.bind(n,1779)),"@site/docs/api/classes/Repeated.md",1779],"935f2afb":[()=>n.e(53).then(n.t.bind(n,1109,19)),"~docs/default/version-current-metadata-prop-751.json",1109],"98a64537":[()=>n.e(2113).then(n.bind(n,7980)),"@site/docs/api/classes/Boolean.md",7980],"9fb4cf70":[()=>Promise.all([n.e(532),n.e(2312),n.e(3640)]).then(n.bind(n,3162)),"@site/docs/examples/use-internal-schemas-for-primitively-encoded-data-types.mdx",3162],a1dc7e8a:[()=>n.e(6355).then(n.bind(n,6089)),"@site/docs/api/interfaces/CompareSchemaFail.md",6089],a7bd4aaa:[()=>n.e(8518).then(n.bind(n,8564)),"@theme/DocVersionRoot",8564],a8b24391:[()=>n.e(7802).then(n.bind(n,1695)),"@site/docs/api/classes/BitString.md",1695],a9257c3b:[()=>n.e(5705).then(n.bind(n,588)),"@site/docs/api/interfaces/BaseStringBlockParams.md",588],a94703ab:[()=>Promise.all([n.e(532),n.e(4368)]).then(n.bind(n,2674)),"@theme/DocRoot",2674],aa339c64:[()=>n.e(5156).then(n.bind(n,482)),"@site/docs/api/interfaces/BaseBlockJson.md",482],adc29927:[()=>n.e(8020).then(n.bind(n,7027)),"@site/docs/api/classes/Primitive.md",7027],b1119fb3:[()=>n.e(3963).then(n.bind(n,2431)),"@site/docs/api/classes/TimeOfDay.md",2431],b11e0698:[()=>n.e(8967).then(n.bind(n,2403)),"@site/docs/api/classes/TeletexString.md",2403],b2471d4f:[()=>n.e(682).then(n.bind(n,8247)),"@site/docs/api/interfaces/BaseBlockParams.md",8247],b31edc1e:[()=>n.e(2526).then(n.bind(n,6029)),"@site/docs/api/classes/IA5String.md",6029],b36e3652:[()=>n.e(9669).then(n.bind(n,4712)),"@site/docs/api/classes/GeneralString.md",4712],b3870161:[()=>n.e(9131).then(n.bind(n,6347)),"@site/docs/api/interfaces/HexBlockJson.md",6347],b4057b68:[()=>n.e(5204).then(n.bind(n,5550)),"@site/docs/api/interfaces/IStringConvertible.md",5550],b4213769:[()=>n.e(6628).then(n.bind(n,5716)),"@site/docs/api/classes/Duration.md",5716],ba90fb9a:[()=>n.e(6815).then(n.bind(n,2197)),"@site/docs/api/classes/Set.md",2197],bc871e21:[()=>n.e(5055).then(n.bind(n,7392)),"@site/docs/api/classes/EndOfContent.md",7392],c4e7b44f:[()=>n.e(4578).then(n.bind(n,1263)),"@site/docs/api/classes/NumericString.md",1263],c708d43d:[()=>n.e(8286).then(n.bind(n,9315)),"@site/docs/api/classes/BmpString.md",9315],c955d05a:[()=>n.e(7815).then(n.bind(n,5749)),"@site/docs/api/classes/ValueBlock.md",5749],c9e84786:[()=>n.e(4024).then(n.bind(n,8636)),"@site/docs/api/classes/ViewWriter.md",8636],cb5be62c:[()=>n.e(694).then(n.bind(n,22)),"@site/docs/api/interfaces/IRepeated.md",22],d612a68c:[()=>n.e(6453).then(n.bind(n,5632)),"@site/docs/api/interfaces/RelativeObjectIdentifierJson.md",5632],d85db04f:[()=>n.e(7506).then(n.bind(n,9735)),"@site/docs/api/classes/Choice.md",9735],d8ca53b9:[()=>n.e(8564).then(n.bind(n,9944)),"@site/docs/api/interfaces/IRawData.md",9944],dd1ee862:[()=>n.e(7588).then(n.bind(n,7809)),"@site/docs/api/classes/DateTime.md",7809],dec0f600:[()=>n.e(8858).then(n.bind(n,3146)),"@site/docs/api/interfaces/IDerConvertible.md",3146],e26d31f6:[()=>n.e(1088).then(n.bind(n,4208)),"@site/docs/api/classes/Sequence.md",4208],e3f2a5d8:[()=>n.e(1293).then(n.bind(n,692)),"@site/docs/api/interfaces/IntegerParams.md",692],e6869291:[()=>n.e(4808).then(n.bind(n,4074)),"@site/docs/api/interfaces/IAny.md",4074],e70d9cd9:[()=>n.e(2760).then(n.bind(n,21)),"@site/docs/api/classes/CharacterString.md",21],eb5a32c0:[()=>n.e(1749).then(n.bind(n,6181)),"@site/docs/api/interfaces/IUTCTime.md",6181],f086b950:[()=>n.e(4258).then(n.bind(n,8239)),"@site/docs/api/interfaces/UTCTimeJson.md",8239],f4b374d8:[()=>n.e(9871).then(n.bind(n,8188)),"@site/docs/api/classes/TIME.md",8188],f641567d:[()=>Promise.all([n.e(532),n.e(2312),n.e(8575)]).then(n.bind(n,1326)),"@site/docs/examples/create-new-asn-structures.mdx",1326],f79827ba:[()=>n.e(397).then(n.bind(n,2071)),"@site/docs/api/classes/ObjectIdentifier.md",2071],f7d69949:[()=>n.e(95).then(n.bind(n,7498)),"@site/docs/api/interfaces/OctetStringParams.md",7498],fab20cb6:[()=>n.e(5292).then(n.bind(n,2638)),"@site/docs/api/interfaces/IChoice.md",2638],fb457659:[()=>Promise.all([n.e(532),n.e(2312),n.e(9345)]).then(n.bind(n,6898)),"@site/docs/examples/validate-asn-against-pre-defined-schema.mdx",6898]};var s=n(5893);function l(e){let{error:t,retry:n,pastDelay:r}=e;return t?(0,s.jsxs)("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"},children:[(0,s.jsx)("p",{children:String(t)}),(0,s.jsx)("div",{children:(0,s.jsx)("button",{type:"button",onClick:n,children:"Retry"})})]}):r?(0,s.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,s.jsx)("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb",children:(0,s.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2",children:[(0,s.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,s.jsx)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,s.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,s.jsx)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,s.jsx)("circle",{cx:"22",cy:"22",r:"8",children:(0,s.jsx)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})})]})})}):null}var c=n(9670),u=n(226);function d(e,t){if("*"===e)return a()({loading:l,loader:()=>n.e(1772).then(n.bind(n,1772)),modules:["@theme/NotFound"],webpack:()=>[1772],render(e,t){const n=e.default;return(0,s.jsx)(u.z,{value:{plugin:{name:"native",id:"default"}},children:(0,s.jsx)(n,{...t})})}});const r=o[`${e}-${t}`],d={},p=[],f=[],m=(0,c.Z)(r);return Object.entries(m).forEach((e=>{let[t,n]=e;const r=i[n];r&&(d[t]=r[0],p.push(r[1]),f.push(r[2]))})),a().Map({loading:l,loader:d,modules:p,webpack:()=>f,render(t,n){const a=JSON.parse(JSON.stringify(r));Object.entries(t).forEach((t=>{let[n,r]=t;const o=r.default;if(!o)throw new Error(`The page component at ${e} doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.`);"object"!=typeof o&&"function"!=typeof o||Object.keys(r).filter((e=>"default"!==e)).forEach((e=>{o[e]=r[e]}));let i=a;const s=n.split(".");s.slice(0,-1).forEach((e=>{i=i[e]})),i[s[s.length-1]]=o}));const o=a.__comp;delete a.__comp;const i=a.__context;return delete a.__context,(0,s.jsx)(u.z,{value:i,children:(0,s.jsx)(o,{...a,...n})})}})}const p=[{path:"/docs",component:d("/docs","8b4"),routes:[{path:"/docs",component:d("/docs","af9"),routes:[{path:"/docs",component:d("/docs","153"),routes:[{path:"/docs/api/",component:d("/docs/api/","8cc"),exact:!0,sidebar:"docs"},{path:"/docs/api/classes/Any",component:d("/docs/api/classes/Any","222"),exact:!0,sidebar:"docs"},{path:"/docs/api/classes/BaseBlock",component:d("/docs/api/classes/BaseBlock","0fa"),exact:!0,sidebar:"docs"},{path:"/docs/api/classes/BaseStringBlock",component:d("/docs/api/classes/BaseStringBlock","ede"),exact:!0,sidebar:"docs"},{path:"/docs/api/classes/BitString",component:d("/docs/api/classes/BitString","174"),exact:!0,sidebar:"docs"},{path:"/docs/api/classes/BmpString",component:d("/docs/api/classes/BmpString","650"),exact:!0,sidebar:"docs"},{path:"/docs/api/classes/Boolean",component:d("/docs/api/classes/Boolean","985"),exact:!0,sidebar:"docs"},{path:"/docs/api/classes/CharacterString",component:d("/docs/api/classes/CharacterString","d57"),exact:!0,sidebar:"docs"},{path:"/docs/api/classes/Choice",component:d("/docs/api/classes/Choice","7cd"),exact:!0,sidebar:"docs"},{path:"/docs/api/classes/Constructed",component:d("/docs/api/classes/Constructed","1cd"),exact:!0,sidebar:"docs"},{path:"/docs/api/classes/DATE",component:d("/docs/api/classes/DATE","b69"),exact:!0,sidebar:"docs"},{path:"/docs/api/classes/DateTime",component:d("/docs/api/classes/DateTime","d7a"),exact:!0,sidebar:"docs"},{path:"/docs/api/classes/Duration",component:d("/docs/api/classes/Duration","bd3"),exact:!0,sidebar:"docs"},{path:"/docs/api/classes/EndOfContent",component:d("/docs/api/classes/EndOfContent","5e9"),exact:!0,sidebar:"docs"},{path:"/docs/api/classes/Enumerated",component:d("/docs/api/classes/Enumerated","16a"),exact:!0,sidebar:"docs"},{path:"/docs/api/classes/GeneralizedTime",component:d("/docs/api/classes/GeneralizedTime","f51"),exact:!0,sidebar:"docs"},{path:"/docs/api/classes/GeneralString",component:d("/docs/api/classes/GeneralString","85e"),exact:!0,sidebar:"docs"},{path:"/docs/api/classes/GraphicString",component:d("/docs/api/classes/GraphicString","00d"),exact:!0,sidebar:"docs"},{path:"/docs/api/classes/IA5String",component:d("/docs/api/classes/IA5String","da1"),exact:!0,sidebar:"docs"},{path:"/docs/api/classes/Integer",component:d("/docs/api/classes/Integer","fb8"),exact:!0,sidebar:"docs"},{path:"/docs/api/classes/Null",component:d("/docs/api/classes/Null","0e6"),exact:!0,sidebar:"docs"},{path:"/docs/api/classes/NumericString",component:d("/docs/api/classes/NumericString","cf6"),exact:!0,sidebar:"docs"},{path:"/docs/api/classes/ObjectIdentifier",component:d("/docs/api/classes/ObjectIdentifier","c2d"),exact:!0,sidebar:"docs"},{path:"/docs/api/classes/OctetString",component:d("/docs/api/classes/OctetString","c37"),exact:!0,sidebar:"docs"},{path:"/docs/api/classes/Primitive",component:d("/docs/api/classes/Primitive","23e"),exact:!0,sidebar:"docs"},{path:"/docs/api/classes/PrintableString",component:d("/docs/api/classes/PrintableString","daa"),exact:!0,sidebar:"docs"},{path:"/docs/api/classes/RawData",component:d("/docs/api/classes/RawData","987"),exact:!0,sidebar:"docs"},{path:"/docs/api/classes/RelativeObjectIdentifier",component:d("/docs/api/classes/RelativeObjectIdentifier","bd6"),exact:!0,sidebar:"docs"},{path:"/docs/api/classes/Repeated",component:d("/docs/api/classes/Repeated","fb7"),exact:!0,sidebar:"docs"},{path:"/docs/api/classes/Sequence",component:d("/docs/api/classes/Sequence","460"),exact:!0,sidebar:"docs"},{path:"/docs/api/classes/Set",component:d("/docs/api/classes/Set","181"),exact:!0,sidebar:"docs"},{path:"/docs/api/classes/TeletexString",component:d("/docs/api/classes/TeletexString","137"),exact:!0,sidebar:"docs"},{path:"/docs/api/classes/TIME",component:d("/docs/api/classes/TIME","a04"),exact:!0,sidebar:"docs"},{path:"/docs/api/classes/TimeOfDay",component:d("/docs/api/classes/TimeOfDay","99c"),exact:!0,sidebar:"docs"},{path:"/docs/api/classes/UniversalString",component:d("/docs/api/classes/UniversalString","db3"),exact:!0,sidebar:"docs"},{path:"/docs/api/classes/UTCTime",component:d("/docs/api/classes/UTCTime","46b"),exact:!0,sidebar:"docs"},{path:"/docs/api/classes/Utf8String",component:d("/docs/api/classes/Utf8String","d2f"),exact:!0,sidebar:"docs"},{path:"/docs/api/classes/ValueBlock",component:d("/docs/api/classes/ValueBlock","253"),exact:!0,sidebar:"docs"},{path:"/docs/api/classes/VideotexString",component:d("/docs/api/classes/VideotexString","d0d"),exact:!0,sidebar:"docs"},{path:"/docs/api/classes/ViewWriter",component:d("/docs/api/classes/ViewWriter","4fa"),exact:!0,sidebar:"docs"},{path:"/docs/api/classes/VisibleString",component:d("/docs/api/classes/VisibleString","4d0"),exact:!0,sidebar:"docs"},{path:"/docs/api/interfaces/BaseBlockJson",component:d("/docs/api/interfaces/BaseBlockJson","7ef"),exact:!0,sidebar:"docs"},{path:"/docs/api/interfaces/BaseBlockParams",component:d("/docs/api/interfaces/BaseBlockParams","971"),exact:!0,sidebar:"docs"},{path:"/docs/api/interfaces/BaseStringBlockParams",component:d("/docs/api/interfaces/BaseStringBlockParams","267"),exact:!0,sidebar:"docs"},{path:"/docs/api/interfaces/BitStringParams",component:d("/docs/api/interfaces/BitStringParams","b7c"),exact:!0,sidebar:"docs"},{path:"/docs/api/interfaces/BooleanParams",component:d("/docs/api/interfaces/BooleanParams","2ae"),exact:!0,sidebar:"docs"},{path:"/docs/api/interfaces/CompareSchemaFail",component:d("/docs/api/interfaces/CompareSchemaFail","7b6"),exact:!0,sidebar:"docs"},{path:"/docs/api/interfaces/CompareSchemaSuccess",component:d("/docs/api/interfaces/CompareSchemaSuccess","541"),exact:!0,sidebar:"docs"},{path:"/docs/api/interfaces/ConstructedParams",component:d("/docs/api/interfaces/ConstructedParams","91f"),exact:!0,sidebar:"docs"},{path:"/docs/api/interfaces/FromBerResult",component:d("/docs/api/interfaces/FromBerResult","14f"),exact:!0,sidebar:"docs"},{path:"/docs/api/interfaces/GeneralizedTimeJson",component:d("/docs/api/interfaces/GeneralizedTimeJson","807"),exact:!0,sidebar:"docs"},{path:"/docs/api/interfaces/HexBlockJson",component:d("/docs/api/interfaces/HexBlockJson","3f0"),exact:!0,sidebar:"docs"},{path:"/docs/api/interfaces/IAny",component:d("/docs/api/interfaces/IAny","c90"),exact:!0,sidebar:"docs"},{path:"/docs/api/interfaces/IBaseBlock",component:d("/docs/api/interfaces/IBaseBlock","59c"),exact:!0,sidebar:"docs"},{path:"/docs/api/interfaces/IBerConvertible",component:d("/docs/api/interfaces/IBerConvertible","8ba"),exact:!0,sidebar:"docs"},{path:"/docs/api/interfaces/IChoice",component:d("/docs/api/interfaces/IChoice","644"),exact:!0,sidebar:"docs"},{path:"/docs/api/interfaces/IDateConvertible",component:d("/docs/api/interfaces/IDateConvertible","8ca"),exact:!0,sidebar:"docs"},{path:"/docs/api/interfaces/IDerConvertible",component:d("/docs/api/interfaces/IDerConvertible","090"),exact:!0,sidebar:"docs"},{path:"/docs/api/interfaces/IGeneralizedTime",component:d("/docs/api/interfaces/IGeneralizedTime","850"),exact:!0,sidebar:"docs"},{path:"/docs/api/interfaces/IHexBlock",component:d("/docs/api/interfaces/IHexBlock","6e0"),exact:!0,sidebar:"docs"},{path:"/docs/api/interfaces/IntegerParams",component:d("/docs/api/interfaces/IntegerParams","4f7"),exact:!0,sidebar:"docs"},{path:"/docs/api/interfaces/IRawData",component:d("/docs/api/interfaces/IRawData","ac5"),exact:!0,sidebar:"docs"},{path:"/docs/api/interfaces/IRepeated",component:d("/docs/api/interfaces/IRepeated","e00"),exact:!0,sidebar:"docs"},{path:"/docs/api/interfaces/IStringConvertible",component:d("/docs/api/interfaces/IStringConvertible","1d9"),exact:!0,sidebar:"docs"},{path:"/docs/api/interfaces/IUTCTime",component:d("/docs/api/interfaces/IUTCTime","550"),exact:!0,sidebar:"docs"},{path:"/docs/api/interfaces/ObjectIdentifierJson",component:d("/docs/api/interfaces/ObjectIdentifierJson","4d6"),exact:!0,sidebar:"docs"},{path:"/docs/api/interfaces/ObjectIdentifierParams",component:d("/docs/api/interfaces/ObjectIdentifierParams","4d0"),exact:!0,sidebar:"docs"},{path:"/docs/api/interfaces/OctetStringParams",component:d("/docs/api/interfaces/OctetStringParams","1d1"),exact:!0,sidebar:"docs"},{path:"/docs/api/interfaces/PrimitiveParams",component:d("/docs/api/interfaces/PrimitiveParams","fe0"),exact:!0,sidebar:"docs"},{path:"/docs/api/interfaces/RelativeObjectIdentifierJson",component:d("/docs/api/interfaces/RelativeObjectIdentifierJson","2a1"),exact:!0,sidebar:"docs"},{path:"/docs/api/interfaces/RelativeObjectIdentifierParams",component:d("/docs/api/interfaces/RelativeObjectIdentifierParams","e77"),exact:!0,sidebar:"docs"},{path:"/docs/api/interfaces/UTCTimeJson",component:d("/docs/api/interfaces/UTCTimeJson","b69"),exact:!0,sidebar:"docs"},{path:"/docs/api/interfaces/UTCTimeParams",component:d("/docs/api/interfaces/UTCTimeParams","465"),exact:!0,sidebar:"docs"},{path:"/docs/api/interfaces/Utf8StringParams",component:d("/docs/api/interfaces/Utf8StringParams","16e"),exact:!0,sidebar:"docs"},{path:"/docs/api/interfaces/ValueBlockConstructor",component:d("/docs/api/interfaces/ValueBlockConstructor","00a"),exact:!0,sidebar:"docs"},{path:"/docs/examples/create-new-asn-structures",component:d("/docs/examples/create-new-asn-structures","39e"),exact:!0,sidebar:"examples"},{path:"/docs/examples/create-new-asn-structures-by-calling-constructors-with-parameters",component:d("/docs/examples/create-new-asn-structures-by-calling-constructors-with-parameters","0eb"),exact:!0,sidebar:"examples"},{path:"/docs/examples/use-internal-schemas-for-primitively-encoded-data-types",component:d("/docs/examples/use-internal-schemas-for-primitively-encoded-data-types","bbf"),exact:!0,sidebar:"examples"},{path:"/docs/examples/validate-asn-against-pre-defined-schema",component:d("/docs/examples/validate-asn-against-pre-defined-schema","d38"),exact:!0,sidebar:"examples"},{path:"/docs/installation",component:d("/docs/installation","4f3"),exact:!0,sidebar:"docs"}]}]}]},{path:"/",component:d("/","92c"),exact:!0},{path:"*",component:d("*")}]},8934:(e,t,n)=>{"use strict";n.d(t,{_:()=>o,t:()=>i});var r=n(7294),a=n(5893);const o=r.createContext(!1);function i(e){let{children:t}=e;const[n,i]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{i(!0)}),[]),(0,a.jsx)(o.Provider,{value:n,children:t})}},7221:(e,t,n)=>{"use strict";var r=n(7294),a=n(745),o=n(3727),i=n(405),s=n(412);const l=[n(2497),n(3310),n(8320),n(2295)];var c=n(723),u=n(6550),d=n(8790),p=n(5893);function f(e){let{children:t}=e;return(0,p.jsx)(p.Fragment,{children:t})}var m=n(5742),h=n(2263),g=n(4996),b=n(6668),y=n(1944),v=n(4711),w=n(9727),k=n(3320),x=n(8780),S=n(197);function E(){const{i18n:{currentLocale:e,defaultLocale:t,localeConfigs:n}}=(0,h.Z)(),r=(0,v.l)(),a=n[e].htmlLang,o=e=>e.replace("-","_");return(0,p.jsxs)(m.Z,{children:[Object.entries(n).map((e=>{let[t,{htmlLang:n}]=e;return(0,p.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:n},t)})),(0,p.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:"x-default"}),(0,p.jsx)("meta",{property:"og:locale",content:o(a)}),Object.values(n).filter((e=>a!==e.htmlLang)).map((e=>(0,p.jsx)("meta",{property:"og:locale:alternate",content:o(e.htmlLang)},`meta-og-${e.htmlLang}`)))]})}function C(e){let{permalink:t}=e;const{siteConfig:{url:n}}=(0,h.Z)(),r=function(){const{siteConfig:{url:e,baseUrl:t,trailingSlash:n}}=(0,h.Z)(),{pathname:r}=(0,u.TH)();return e+(0,x.applyTrailingSlash)((0,g.Z)(r),{trailingSlash:n,baseUrl:t})}(),a=t?`${n}${t}`:r;return(0,p.jsxs)(m.Z,{children:[(0,p.jsx)("meta",{property:"og:url",content:a}),(0,p.jsx)("link",{rel:"canonical",href:a})]})}function _(){const{i18n:{currentLocale:e}}=(0,h.Z)(),{metadata:t,image:n}=(0,b.L)();return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsxs)(m.Z,{children:[(0,p.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,p.jsx)("body",{className:w.h})]}),n&&(0,p.jsx)(y.d,{image:n}),(0,p.jsx)(C,{}),(0,p.jsx)(E,{}),(0,p.jsx)(S.Z,{tag:k.HX,locale:e}),(0,p.jsx)(m.Z,{children:t.map(((e,t)=>(0,p.jsx)("meta",{...e},t)))})]})}const T=new Map;function j(e){if(T.has(e.pathname))return{...e,pathname:T.get(e.pathname)};if((0,d.f)(c.Z,e.pathname).some((e=>{let{route:t}=e;return!0===t.exact})))return T.set(e.pathname,e.pathname),e;const t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return T.set(e.pathname,t),{...e,pathname:t}}var P=n(8934),A=n(8940),R=n(469);function N(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];const a=l.map((t=>{const r=t.default?.[e]??t[e];return r?.(...n)}));return()=>a.forEach((e=>e?.()))}const L=function(e){let{children:t,location:n,previousLocation:r}=e;return(0,R.Z)((()=>{r!==n&&(!function(e){let{location:t,previousLocation:n}=e;if(!n)return;const r=t.pathname===n.pathname,a=t.hash===n.hash,o=t.search===n.search;if(r&&a&&!o)return;const{hash:i}=t;if(i){const e=decodeURIComponent(i.substring(1)),t=document.getElementById(e);t?.scrollIntoView()}else window.scrollTo(0,0)}({location:n,previousLocation:r}),N("onRouteDidUpdate",{previousLocation:r,location:n}))}),[r,n]),t};function I(e){const t=Array.from(new Set([e,decodeURI(e)])).map((e=>(0,d.f)(c.Z,e))).flat();return Promise.all(t.map((e=>e.route.component.preload?.())))}class O extends r.Component{previousLocation;routeUpdateCleanupCb;constructor(e){super(e),this.previousLocation=null,this.routeUpdateCleanupCb=s.Z.canUseDOM?N("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,t){if(e.location===this.props.location)return t.nextRouteHasLoaded;const n=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=N("onRouteUpdate",{previousLocation:this.previousLocation,location:n}),I(n.pathname).then((()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})})).catch((e=>{console.warn(e),window.location.reload()})),!1}render(){const{children:e,location:t}=this.props;return(0,p.jsx)(L,{previousLocation:this.previousLocation,location:t,children:(0,p.jsx)(u.AW,{location:t,render:()=>e})})}}const D=O,F="__docusaurus-base-url-issue-banner-container",B="__docusaurus-base-url-issue-banner",M="__docusaurus-base-url-issue-banner-suggestion-container";function z(e){return`\ndocument.addEventListener('DOMContentLoaded', function maybeInsertBanner() {\n var shouldInsert = typeof window['docusaurus'] === 'undefined';\n shouldInsert && insertBanner();\n});\n\nfunction insertBanner() {\n var bannerContainer = document.createElement('div');\n bannerContainer.id = '${F}';\n var bannerHtml = ${JSON.stringify(function(e){return`\n<div id="${B}" style="border: thick solid red; background-color: rgb(255, 230, 179); margin: 20px; padding: 20px; font-size: 20px;">\n <p style="font-weight: bold; font-size: 30px;">Your Docusaurus site did not load properly.</p>\n <p>A very common reason is a wrong site <a href="https://docusaurus.io/docs/docusaurus.config.js/#baseUrl" style="font-weight: bold;">baseUrl configuration</a>.</p>\n <p>Current configured baseUrl = <span style="font-weight: bold; color: red;">${e}</span> ${"/"===e?" (default value)":""}</p>\n <p>We suggest trying baseUrl = <span id="${M}" style="font-weight: bold; color: green;"></span></p>\n</div>\n`}(e)).replace(/</g,"\\<")};\n bannerContainer.innerHTML = bannerHtml;\n document.body.prepend(bannerContainer);\n var suggestionContainer = document.getElementById('${M}');\n var actualHomePagePath = window.location.pathname;\n var suggestedBaseUrl = actualHomePagePath.substr(-1) === '/'\n ? actualHomePagePath\n : actualHomePagePath + '/';\n suggestionContainer.innerHTML = suggestedBaseUrl;\n}\n`}function U(){const{siteConfig:{baseUrl:e}}=(0,h.Z)();return(0,p.jsx)(p.Fragment,{children:!s.Z.canUseDOM&&(0,p.jsx)(m.Z,{children:(0,p.jsx)("script",{children:z(e)})})})}function $(){const{siteConfig:{baseUrl:e,baseUrlIssueBanner:t}}=(0,h.Z)(),{pathname:n}=(0,u.TH)();return t&&n===e?(0,p.jsx)(U,{}):null}function q(){const{siteConfig:{favicon:e,title:t,noIndex:n},i18n:{currentLocale:r,localeConfigs:a}}=(0,h.Z)(),o=(0,g.Z)(e),{htmlLang:i,direction:s}=a[r];return(0,p.jsxs)(m.Z,{children:[(0,p.jsx)("html",{lang:i,dir:s}),(0,p.jsx)("title",{children:t}),(0,p.jsx)("meta",{property:"og:title",content:t}),(0,p.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),n&&(0,p.jsx)("meta",{name:"robots",content:"noindex, nofollow"}),e&&(0,p.jsx)("link",{rel:"icon",href:o})]})}var H=n(4763),Z=n(2389);function G(){const e=(0,Z.Z)();return(0,p.jsx)(m.Z,{children:(0,p.jsx)("html",{"data-has-hydrated":e})})}function V(){const e=(0,d.H)(c.Z),t=(0,u.TH)();return(0,p.jsx)(H.Z,{children:(0,p.jsx)(A.M,{children:(0,p.jsxs)(P.t,{children:[(0,p.jsxs)(f,{children:[(0,p.jsx)(q,{}),(0,p.jsx)(_,{}),(0,p.jsx)($,{}),(0,p.jsx)(D,{location:j(t),children:e})]}),(0,p.jsx)(G,{})]})})})}var W=n(6887);const Q=function(e){try{return document.createElement("link").relList.supports(e)}catch{return!1}}("prefetch")?function(e){return new Promise(((t,n)=>{if("undefined"==typeof document)return void n();const r=document.createElement("link");r.setAttribute("rel","prefetch"),r.setAttribute("href",e),r.onload=()=>t(),r.onerror=()=>n();const a=document.getElementsByTagName("head")[0]??document.getElementsByName("script")[0]?.parentNode;a?.appendChild(r)}))}:function(e){return new Promise(((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?t():n()},r.send(null)}))};var J=n(9670);const Y=new Set,K=new Set,X=()=>navigator.connection?.effectiveType.includes("2g")||navigator.connection?.saveData,ee={prefetch(e){if(!(e=>!X()&&!K.has(e)&&!Y.has(e))(e))return!1;Y.add(e);const t=(0,d.f)(c.Z,e).flatMap((e=>{return t=e.route.path,Object.entries(W).filter((e=>{let[n]=e;return n.replace(/-[^-]+$/,"")===t})).flatMap((e=>{let[,t]=e;return Object.values((0,J.Z)(t))}));var t}));return Promise.all(t.map((e=>{const t=n.gca(e);return t&&!t.includes("undefined")?Q(t).catch((()=>{})):Promise.resolve()})))},preload:e=>!!(e=>!X()&&!K.has(e))(e)&&(K.add(e),I(e))},te=Object.freeze(ee),ne=Boolean(!0);if(s.Z.canUseDOM){window.docusaurus=te;const e=document.getElementById("__docusaurus"),t=(0,p.jsx)(i.B6,{children:(0,p.jsx)(o.VK,{children:(0,p.jsx)(V,{})})}),n=(e,t)=>{console.error("Docusaurus React Root onRecoverableError:",e,t)},s=()=>{if(ne)r.startTransition((()=>{a.hydrateRoot(e,t,{onRecoverableError:n})}));else{const o=a.createRoot(e,{onRecoverableError:n});r.startTransition((()=>{o.render(t)}))}};I(window.location.pathname).then(s)}},8940:(e,t,n)=>{"use strict";n.d(t,{_:()=>d,M:()=>p});var r=n(7294),a=n(6809);const o=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/docs","versions":[{"name":"current","label":"Next","isLast":true,"path":"/docs","mainDocId":"installation","docs":[{"id":"api/classes/Any","path":"/docs/api/classes/Any","sidebar":"docs"},{"id":"api/classes/BaseBlock","path":"/docs/api/classes/BaseBlock","sidebar":"docs"},{"id":"api/classes/BaseStringBlock","path":"/docs/api/classes/BaseStringBlock","sidebar":"docs"},{"id":"api/classes/BitString","path":"/docs/api/classes/BitString","sidebar":"docs"},{"id":"api/classes/BmpString","path":"/docs/api/classes/BmpString","sidebar":"docs"},{"id":"api/classes/Boolean","path":"/docs/api/classes/Boolean","sidebar":"docs"},{"id":"api/classes/CharacterString","path":"/docs/api/classes/CharacterString","sidebar":"docs"},{"id":"api/classes/Choice","path":"/docs/api/classes/Choice","sidebar":"docs"},{"id":"api/classes/Constructed","path":"/docs/api/classes/Constructed","sidebar":"docs"},{"id":"api/classes/DATE","path":"/docs/api/classes/DATE","sidebar":"docs"},{"id":"api/classes/DateTime","path":"/docs/api/classes/DateTime","sidebar":"docs"},{"id":"api/classes/Duration","path":"/docs/api/classes/Duration","sidebar":"docs"},{"id":"api/classes/EndOfContent","path":"/docs/api/classes/EndOfContent","sidebar":"docs"},{"id":"api/classes/Enumerated","path":"/docs/api/classes/Enumerated","sidebar":"docs"},{"id":"api/classes/GeneralizedTime","path":"/docs/api/classes/GeneralizedTime","sidebar":"docs"},{"id":"api/classes/GeneralString","path":"/docs/api/classes/GeneralString","sidebar":"docs"},{"id":"api/classes/GraphicString","path":"/docs/api/classes/GraphicString","sidebar":"docs"},{"id":"api/classes/IA5String","path":"/docs/api/classes/IA5String","sidebar":"docs"},{"id":"api/classes/Integer","path":"/docs/api/classes/Integer","sidebar":"docs"},{"id":"api/classes/Null","path":"/docs/api/classes/Null","sidebar":"docs"},{"id":"api/classes/NumericString","path":"/docs/api/classes/NumericString","sidebar":"docs"},{"id":"api/classes/ObjectIdentifier","path":"/docs/api/classes/ObjectIdentifier","sidebar":"docs"},{"id":"api/classes/OctetString","path":"/docs/api/classes/OctetString","sidebar":"docs"},{"id":"api/classes/Primitive","path":"/docs/api/classes/Primitive","sidebar":"docs"},{"id":"api/classes/PrintableString","path":"/docs/api/classes/PrintableString","sidebar":"docs"},{"id":"api/classes/RawData","path":"/docs/api/classes/RawData","sidebar":"docs"},{"id":"api/classes/RelativeObjectIdentifier","path":"/docs/api/classes/RelativeObjectIdentifier","sidebar":"docs"},{"id":"api/classes/Repeated","path":"/docs/api/classes/Repeated","sidebar":"docs"},{"id":"api/classes/Sequence","path":"/docs/api/classes/Sequence","sidebar":"docs"},{"id":"api/classes/Set","path":"/docs/api/classes/Set","sidebar":"docs"},{"id":"api/classes/TeletexString","path":"/docs/api/classes/TeletexString","sidebar":"docs"},{"id":"api/classes/TIME","path":"/docs/api/classes/TIME","sidebar":"docs"},{"id":"api/classes/TimeOfDay","path":"/docs/api/classes/TimeOfDay","sidebar":"docs"},{"id":"api/classes/UniversalString","path":"/docs/api/classes/UniversalString","sidebar":"docs"},{"id":"api/classes/UTCTime","path":"/docs/api/classes/UTCTime","sidebar":"docs"},{"id":"api/classes/Utf8String","path":"/docs/api/classes/Utf8String","sidebar":"docs"},{"id":"api/classes/ValueBlock","path":"/docs/api/classes/ValueBlock","sidebar":"docs"},{"id":"api/classes/VideotexString","path":"/docs/api/classes/VideotexString","sidebar":"docs"},{"id":"api/classes/ViewWriter","path":"/docs/api/classes/ViewWriter","sidebar":"docs"},{"id":"api/classes/VisibleString","path":"/docs/api/classes/VisibleString","sidebar":"docs"},{"id":"api/index","path":"/docs/api/","sidebar":"docs"},{"id":"api/interfaces/BaseBlockJson","path":"/docs/api/interfaces/BaseBlockJson","sidebar":"docs"},{"id":"api/interfaces/BaseBlockParams","path":"/docs/api/interfaces/BaseBlockParams","sidebar":"docs"},{"id":"api/interfaces/BaseStringBlockParams","path":"/docs/api/interfaces/BaseStringBlockParams","sidebar":"docs"},{"id":"api/interfaces/BitStringParams","path":"/docs/api/interfaces/BitStringParams","sidebar":"docs"},{"id":"api/interfaces/BooleanParams","path":"/docs/api/interfaces/BooleanParams","sidebar":"docs"},{"id":"api/interfaces/CompareSchemaFail","path":"/docs/api/interfaces/CompareSchemaFail","sidebar":"docs"},{"id":"api/interfaces/CompareSchemaSuccess","path":"/docs/api/interfaces/CompareSchemaSuccess","sidebar":"docs"},{"id":"api/interfaces/ConstructedParams","path":"/docs/api/interfaces/ConstructedParams","sidebar":"docs"},{"id":"api/interfaces/FromBerResult","path":"/docs/api/interfaces/FromBerResult","sidebar":"docs"},{"id":"api/interfaces/GeneralizedTimeJson","path":"/docs/api/interfaces/GeneralizedTimeJson","sidebar":"docs"},{"id":"api/interfaces/HexBlockJson","path":"/docs/api/interfaces/HexBlockJson","sidebar":"docs"},{"id":"api/interfaces/IAny","path":"/docs/api/interfaces/IAny","sidebar":"docs"},{"id":"api/interfaces/IBaseBlock","path":"/docs/api/interfaces/IBaseBlock","sidebar":"docs"},{"id":"api/interfaces/IBerConvertible","path":"/docs/api/interfaces/IBerConvertible","sidebar":"docs"},{"id":"api/interfaces/IChoice","path":"/docs/api/interfaces/IChoice","sidebar":"docs"},{"id":"api/interfaces/IDateConvertible","path":"/docs/api/interfaces/IDateConvertible","sidebar":"docs"},{"id":"api/interfaces/IDerConvertible","path":"/docs/api/interfaces/IDerConvertible","sidebar":"docs"},{"id":"api/interfaces/IGeneralizedTime","path":"/docs/api/interfaces/IGeneralizedTime","sidebar":"docs"},{"id":"api/interfaces/IHexBlock","path":"/docs/api/interfaces/IHexBlock","sidebar":"docs"},{"id":"api/interfaces/IntegerParams","path":"/docs/api/interfaces/IntegerParams","sidebar":"docs"},{"id":"api/interfaces/IRawData","path":"/docs/api/interfaces/IRawData","sidebar":"docs"},{"id":"api/interfaces/IRepeated","path":"/docs/api/interfaces/IRepeated","sidebar":"docs"},{"id":"api/interfaces/IStringConvertible","path":"/docs/api/interfaces/IStringConvertible","sidebar":"docs"},{"id":"api/interfaces/IUTCTime","path":"/docs/api/interfaces/IUTCTime","sidebar":"docs"},{"id":"api/interfaces/ObjectIdentifierJson","path":"/docs/api/interfaces/ObjectIdentifierJson","sidebar":"docs"},{"id":"api/interfaces/ObjectIdentifierParams","path":"/docs/api/interfaces/ObjectIdentifierParams","sidebar":"docs"},{"id":"api/interfaces/OctetStringParams","path":"/docs/api/interfaces/OctetStringParams","sidebar":"docs"},{"id":"api/interfaces/PrimitiveParams","path":"/docs/api/interfaces/PrimitiveParams","sidebar":"docs"},{"id":"api/interfaces/RelativeObjectIdentifierJson","path":"/docs/api/interfaces/RelativeObjectIdentifierJson","sidebar":"docs"},{"id":"api/interfaces/RelativeObjectIdentifierParams","path":"/docs/api/interfaces/RelativeObjectIdentifierParams","sidebar":"docs"},{"id":"api/interfaces/UTCTimeJson","path":"/docs/api/interfaces/UTCTimeJson","sidebar":"docs"},{"id":"api/interfaces/UTCTimeParams","path":"/docs/api/interfaces/UTCTimeParams","sidebar":"docs"},{"id":"api/interfaces/Utf8StringParams","path":"/docs/api/interfaces/Utf8StringParams","sidebar":"docs"},{"id":"api/interfaces/ValueBlockConstructor","path":"/docs/api/interfaces/ValueBlockConstructor","sidebar":"docs"},{"id":"examples/create-new-asn-structures","path":"/docs/examples/create-new-asn-structures","sidebar":"examples"},{"id":"examples/create-new-asn-structures-by-calling-constructors-with-parameters","path":"/docs/examples/create-new-asn-structures-by-calling-constructors-with-parameters","sidebar":"examples"},{"id":"examples/use-internal-schemas-for-primitively-encoded-data-types","path":"/docs/examples/use-internal-schemas-for-primitively-encoded-data-types","sidebar":"examples"},{"id":"examples/validate-asn-against-pre-defined-schema","path":"/docs/examples/validate-asn-against-pre-defined-schema","sidebar":"examples"},{"id":"installation","path":"/docs/installation","sidebar":"docs"}],"draftIds":[],"sidebars":{"docs":{"link":{"path":"/docs/installation","label":"installation"}},"examples":{"link":{"path":"/docs/examples/create-new-asn-structures-by-calling-constructors-with-parameters","label":"examples/create-new-asn-structures-by-calling-constructors-with-parameters"}}}}],"breadcrumbs":true}}}'),i=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en"}}}');var s=n(7529);const l=JSON.parse('{"docusaurusVersion":"3.1.0","siteVersion":"0.0.0","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"3.1.0"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"3.1.0"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"3.1.0"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"3.1.0"},"docusaurus-plugin-typedoc":{"type":"package","name":"docusaurus-plugin-typedoc","version":"0.22.0"},"docusaurus-plugin-sass":{"type":"package","name":"docusaurus-plugin-sass","version":"0.2.5"}}}');var c=n(5893);const u={siteConfig:a.default,siteMetadata:l,globalData:o,i18n:i,codeTranslations:s},d=r.createContext(u);function p(e){let{children:t}=e;return(0,c.jsx)(d.Provider,{value:u,children:t})}},4763:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r=n(7294),a=n(412),o=n(5742),i=n(8780),s=n(6040),l=n(5893);function c(e){let{error:t,tryAgain:n}=e;return(0,l.jsxs)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",minHeight:"100vh",width:"100%",maxWidth:"80ch",fontSize:"20px",margin:"0 auto",padding:"1rem"},children:[(0,l.jsx)("h1",{style:{fontSize:"3rem"},children:"This page crashed"}),(0,l.jsx)("button",{type:"button",onClick:n,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"},children:"Try again"}),(0,l.jsx)(u,{error:t})]})}function u(e){let{error:t}=e;const n=(0,i.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,l.jsx)("p",{style:{whiteSpace:"pre-wrap"},children:n})}function d(e){let{error:t,tryAgain:n}=e;return(0,l.jsxs)(f,{fallback:()=>(0,l.jsx)(c,{error:t,tryAgain:n}),children:[(0,l.jsx)(o.Z,{children:(0,l.jsx)("title",{children:"Page Error"})}),(0,l.jsx)(s.Z,{children:(0,l.jsx)(c,{error:t,tryAgain:n})})]})}const p=e=>(0,l.jsx)(d,{...e});class f extends r.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){a.Z.canUseDOM&&this.setState({error:e})}render(){const{children:e}=this.props,{error:t}=this.state;if(t){const e={error:t,tryAgain:()=>this.setState({error:null})};return(this.props.fallback??p)(e)}return e??null}}},412:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const r="undefined"!=typeof window&&"document"in window&&"createElement"in window.document,a={canUseDOM:r,canUseEventListeners:r&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:r&&"IntersectionObserver"in window,canUseViewport:r&&"screen"in window}},5742:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});n(7294);var r=n(405),a=n(5893);function o(e){return(0,a.jsx)(r.ql,{...e})}},3692:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r=n(7294),a=n(3727),o=n(8780),i=n(2263),s=n(3919),l=n(412),c=n(8138),u=n(4996),d=n(5893);function p(e,t){let{isNavLink:n,to:p,href:f,activeClassName:m,isActive:h,"data-noBrokenLinkCheck":g,autoAddBaseUrl:b=!0,...y}=e;const{siteConfig:{trailingSlash:v,baseUrl:w}}=(0,i.Z)(),{withBaseUrl:k}=(0,u.C)(),x=(0,c.Z)(),S=(0,r.useRef)(null);(0,r.useImperativeHandle)(t,(()=>S.current));const E=p||f;const C=(0,s.Z)(E),_=E?.replace("pathname://","");let T=void 0!==_?(j=_,b&&(e=>e.startsWith("/"))(j)?k(j):j):void 0;var j;T&&C&&(T=(0,o.applyTrailingSlash)(T,{trailingSlash:v,baseUrl:w}));const P=(0,r.useRef)(!1),A=n?a.OL:a.rU,R=l.Z.canUseIntersectionObserver,N=(0,r.useRef)(),L=()=>{P.current||null==T||(window.docusaurus.preload(T),P.current=!0)};(0,r.useEffect)((()=>(!R&&C&&null!=T&&window.docusaurus.prefetch(T),()=>{R&&N.current&&N.current.disconnect()})),[N,T,R,C]);const I=T?.startsWith("#")??!1,O=!T||!C||I;return O||g||x.collectLink(T),O?(0,d.jsx)("a",{ref:S,href:T,...E&&!C&&{target:"_blank",rel:"noopener noreferrer"},...y}):(0,d.jsx)(A,{...y,onMouseEnter:L,onTouchStart:L,innerRef:e=>{S.current=e,R&&e&&C&&(N.current=new window.IntersectionObserver((t=>{t.forEach((t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(N.current.unobserve(e),N.current.disconnect(),null!=T&&window.docusaurus.prefetch(T))}))})),N.current.observe(e))},to:T,...n&&{isActive:h,activeClassName:m}})}const f=r.forwardRef(p)},1875:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=()=>null},5999:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c,I:()=>l});var r=n(7294),a=n(5893);function o(e,t){const n=e.split(/(\{\w+\})/).map(((e,n)=>{if(n%2==1){const n=t?.[e.slice(1,-1)];if(void 0!==n)return n}return e}));return n.some((e=>(0,r.isValidElement)(e)))?n.map(((e,t)=>(0,r.isValidElement)(e)?r.cloneElement(e,{key:t}):e)).filter((e=>""!==e)):n.join("")}var i=n(7529);function s(e){let{id:t,message:n}=e;if(void 0===t&&void 0===n)throw new Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return i[t??n]??n??t}function l(e,t){let{message:n,id:r}=e;return o(s({message:n,id:r}),t)}function c(e){let{children:t,id:n,values:r}=e;if(t&&"string"!=typeof t)throw console.warn("Illegal <Translate> children",t),new Error("The Docusaurus <Translate> component only accept simple string values");const i=s({message:t,id:n});return(0,a.jsx)(a.Fragment,{children:o(i,r)})}},9935:(e,t,n)=>{"use strict";n.d(t,{m:()=>r});const r="default"},3919:(e,t,n)=>{"use strict";function r(e){return/^(?:\w*:|\/\/)/.test(e)}function a(e){return void 0!==e&&!r(e)}n.d(t,{Z:()=>a,b:()=>r})},4996:(e,t,n)=>{"use strict";n.d(t,{C:()=>i,Z:()=>s});var r=n(7294),a=n(2263),o=n(3919);function i(){const{siteConfig:{baseUrl:e,url:t}}=(0,a.Z)(),n=(0,r.useCallback)(((n,r)=>function(e,t,n,r){let{forcePrependBaseUrl:a=!1,absolute:i=!1}=void 0===r?{}:r;if(!n||n.startsWith("#")||(0,o.b)(n))return n;if(a)return t+n.replace(/^\//,"");if(n===t.replace(/\/$/,""))return t;const s=n.startsWith(t)?n:t+n.replace(/^\//,"");return i?e+s:s}(t,e,n,r)),[t,e]);return{withBaseUrl:n}}function s(e,t){void 0===t&&(t={});const{withBaseUrl:n}=i();return n(e,t)}},8138:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(7294);n(5893);const a=r.createContext({collectAnchor:()=>{},collectLink:()=>{}}),o=()=>(0,r.useContext)(a);function i(){return o()}},2263:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(7294),a=n(8940);function o(){return(0,r.useContext)(a._)}},2389:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(7294),a=n(8934);function o(){return(0,r.useContext)(a._)}},469:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(7294);const a=n(412).Z.canUseDOM?r.useLayoutEffect:r.useEffect},9670:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const r=e=>"object"==typeof e&&!!e&&Object.keys(e).length>0;function a(e){const t={};return function e(n,a){Object.entries(n).forEach((n=>{let[o,i]=n;const s=a?`${a}.${o}`:o;r(i)?e(i,s):t[s]=i}))}(e),t}},226:(e,t,n)=>{"use strict";n.d(t,{_:()=>o,z:()=>i});var r=n(7294),a=n(5893);const o=r.createContext(null);function i(e){let{children:t,value:n}=e;const i=r.useContext(o),s=(0,r.useMemo)((()=>function(e){let{parent:t,value:n}=e;if(!t){if(!n)throw new Error("Unexpected: no Docusaurus route context found");if(!("plugin"in n))throw new Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute");return n}const r={...t.data,...n?.data};return{plugin:t.plugin,data:r}}({parent:i,value:n})),[i,n]);return(0,a.jsx)(o.Provider,{value:s,children:t})}},143:(e,t,n)=>{"use strict";n.d(t,{Iw:()=>h,gA:()=>p,_r:()=>u,Jo:()=>g,zh:()=>d,yW:()=>m,gB:()=>f});var r=n(6550),a=n(2263),o=n(9935);function i(e,t){void 0===t&&(t={});const n=function(){const{globalData:e}=(0,a.Z)();return e}()[e];if(!n&&t.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin.`);return n}const s=e=>e.versions.find((e=>e.isLast));function l(e,t){const n=function(e,t){const n=s(e);return[...e.versions.filter((e=>e!==n)),n].find((e=>!!(0,r.LX)(t,{path:e.path,exact:!1,strict:!1})))}(e,t),a=n?.docs.find((e=>!!(0,r.LX)(t,{path:e.path,exact:!0,strict:!1})));return{activeVersion:n,activeDoc:a,alternateDocVersions:a?function(t){const n={};return e.versions.forEach((e=>{e.docs.forEach((r=>{r.id===t&&(n[e.name]=r)}))})),n}(a.id):{}}}const c={},u=()=>i("docusaurus-plugin-content-docs")??c,d=e=>function(e,t,n){void 0===t&&(t=o.m),void 0===n&&(n={});const r=i(e),a=r?.[t];if(!a&&n.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin with id "${t}".`);return a}("docusaurus-plugin-content-docs",e,{failfast:!0});function p(e){void 0===e&&(e={});const t=u(),{pathname:n}=(0,r.TH)();return function(e,t,n){void 0===n&&(n={});const a=Object.entries(e).sort(((e,t)=>t[1].path.localeCompare(e[1].path))).find((e=>{let[,n]=e;return!!(0,r.LX)(t,{path:n.path,exact:!1,strict:!1})})),o=a?{pluginId:a[0],pluginData:a[1]}:void 0;if(!o&&n.failfast)throw new Error(`Can't find active docs plugin for "${t}" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: ${Object.values(e).map((e=>e.path)).join(", ")}`);return o}(t,n,e)}function f(e){return d(e).versions}function m(e){const t=d(e);return s(t)}function h(e){const t=d(e),{pathname:n}=(0,r.TH)();return l(t,n)}function g(e){const t=d(e),{pathname:n}=(0,r.TH)();return function(e,t){const n=s(e);return{latestDocSuggestion:l(e,t).alternateDocVersions[n.name],latestVersionSuggestion:n}}(t,n)}},8320:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(4865),a=n.n(r);a().configure({showSpinner:!1});const o={onRouteUpdate(e){let{location:t,previousLocation:n}=e;if(n&&t.pathname!==n.pathname){const e=window.setTimeout((()=>{a().start()}),200);return()=>window.clearTimeout(e)}},onRouteDidUpdate(){a().done()}}},3310:(e,t,n)=>{"use strict";n.r(t);var r=n(2573),a=n(6809);!function(e){const{themeConfig:{prism:t}}=a.default,{additionalLanguages:r}=t;globalThis.Prism=e,r.forEach((e=>{"php"===e&&n(6854),n(6726)(`./prism-${e}`)})),delete globalThis.Prism}(r.p1)},2503:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});n(7294);var r=n(512),a=n(5999),o=n(6668),i=n(3692),s=n(8138);const l={anchorWithStickyNavbar:"anchorWithStickyNavbar_LWe7",anchorWithHideOnScrollNavbar:"anchorWithHideOnScrollNavbar_WYt5"};var c=n(5893);function u(e){let{as:t,id:n,...u}=e;const d=(0,s.Z)(),{navbar:{hideOnScroll:p}}=(0,o.L)();if("h1"===t||!n)return(0,c.jsx)(t,{...u,id:void 0});d.collectAnchor(n);const f=(0,a.I)({id:"theme.common.headingLinkTitle",message:"Direct link to {heading}",description:"Title for link to heading"},{heading:"string"==typeof u.children?u.children:n});return(0,c.jsxs)(t,{...u,className:(0,r.Z)("anchor",p?l.anchorWithHideOnScrollNavbar:l.anchorWithStickyNavbar,u.className),id:n,children:[u.children,(0,c.jsx)(i.Z,{className:"hash-link",to:`#${n}`,"aria-label":f,title:f,children:"\u200b"})]})}},9471:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});n(7294);const r={iconExternalLink:"iconExternalLink_nPIU"};var a=n(5893);function o(e){let{width:t=13.5,height:n=13.5}=e;return(0,a.jsx)("svg",{width:t,height:n,"aria-hidden":"true",viewBox:"0 0 24 24",className:r.iconExternalLink,children:(0,a.jsx)("path",{fill:"currentColor",d:"M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"})})}},6040:(e,t,n)=>{"use strict";n.d(t,{Z:()=>ft});var r=n(7294),a=n(512),o=n(4763),i=n(1944),s=n(6550),l=n(5999),c=n(5936),u=n(5893);const d="__docusaurus_skipToContent_fallback";function p(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}function f(){const e=(0,r.useRef)(null),{action:t}=(0,s.k6)(),n=(0,r.useCallback)((e=>{e.preventDefault();const t=document.querySelector("main:first-of-type")??document.getElementById(d);t&&p(t)}),[]);return(0,c.S)((n=>{let{location:r}=n;e.current&&!r.hash&&"PUSH"===t&&p(e.current)})),{containerRef:e,onClick:n}}const m=(0,l.I)({id:"theme.common.skipToMainContent",description:"The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation",message:"Skip to main content"});function h(e){const t=e.children??m,{containerRef:n,onClick:r}=f();return(0,u.jsx)("div",{ref:n,role:"region","aria-label":m,children:(0,u.jsx)("a",{...e,href:`#${d}`,onClick:r,children:t})})}var g=n(5281),b=n(9727);const y={skipToContent:"skipToContent_fXgn"};function v(){return(0,u.jsx)(h,{className:y.skipToContent})}var w=n(6668),k=n(9689);function x(e){let{width:t=21,height:n=21,color:r="currentColor",strokeWidth:a=1.2,className:o,...i}=e;return(0,u.jsx)("svg",{viewBox:"0 0 15 15",width:t,height:n,...i,children:(0,u.jsx)("g",{stroke:r,strokeWidth:a,children:(0,u.jsx)("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})})})}const S={closeButton:"closeButton_CVFx"};function E(e){return(0,u.jsx)("button",{type:"button","aria-label":(0,l.I)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"}),...e,className:(0,a.Z)("clean-btn close",S.closeButton,e.className),children:(0,u.jsx)(x,{width:14,height:14,strokeWidth:3.1})})}const C={content:"content_knG7"};function _(e){const{announcementBar:t}=(0,w.L)(),{content:n}=t;return(0,u.jsx)("div",{...e,className:(0,a.Z)(C.content,e.className),dangerouslySetInnerHTML:{__html:n}})}const T={announcementBar:"announcementBar_mb4j",announcementBarPlaceholder:"announcementBarPlaceholder_vyr4",announcementBarClose:"announcementBarClose_gvF7",announcementBarContent:"announcementBarContent_xLdY"};function j(){const{announcementBar:e}=(0,w.L)(),{isActive:t,close:n}=(0,k.nT)();if(!t)return null;const{backgroundColor:r,textColor:a,isCloseable:o}=e;return(0,u.jsxs)("div",{className:T.announcementBar,style:{backgroundColor:r,color:a},role:"banner",children:[o&&(0,u.jsx)("div",{className:T.announcementBarPlaceholder}),(0,u.jsx)(_,{className:T.announcementBarContent}),o&&(0,u.jsx)(E,{onClick:n,className:T.announcementBarClose})]})}var P=n(2961),A=n(2466);var R=n(902),N=n(3102);const L=r.createContext(null);function I(e){let{children:t}=e;const n=function(){const e=(0,P.e)(),t=(0,N.HY)(),[n,a]=(0,r.useState)(!1),o=null!==t.component,i=(0,R.D9)(o);return(0,r.useEffect)((()=>{o&&!i&&a(!0)}),[o,i]),(0,r.useEffect)((()=>{o?e.shown||a(!0):a(!1)}),[e.shown,o]),(0,r.useMemo)((()=>[n,a]),[n])}();return(0,u.jsx)(L.Provider,{value:n,children:t})}function O(e){if(e.component){const t=e.component;return(0,u.jsx)(t,{...e.props})}}function D(){const e=(0,r.useContext)(L);if(!e)throw new R.i6("NavbarSecondaryMenuDisplayProvider");const[t,n]=e,a=(0,r.useCallback)((()=>n(!1)),[n]),o=(0,N.HY)();return(0,r.useMemo)((()=>({shown:t,hide:a,content:O(o)})),[a,o,t])}function F(e){let{header:t,primaryMenu:n,secondaryMenu:r}=e;const{shown:o}=D();return(0,u.jsxs)("div",{className:"navbar-sidebar",children:[t,(0,u.jsxs)("div",{className:(0,a.Z)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":o}),children:[(0,u.jsx)("div",{className:"navbar-sidebar__item menu",children:n}),(0,u.jsx)("div",{className:"navbar-sidebar__item menu",children:r})]})]})}var B=n(2949),M=n(2389);function z(e){return(0,u.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,u.jsx)("path",{fill:"currentColor",d:"M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"})})}function U(e){return(0,u.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,u.jsx)("path",{fill:"currentColor",d:"M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"})})}const $={toggle:"toggle_vylO",toggleButton:"toggleButton_gllP",darkToggleIcon:"darkToggleIcon_wfgR",lightToggleIcon:"lightToggleIcon_pyhR",toggleButtonDisabled:"toggleButtonDisabled_aARS"};function q(e){let{className:t,buttonClassName:n,value:r,onChange:o}=e;const i=(0,M.Z)(),s=(0,l.I)({message:"Switch between dark and light mode (currently {mode})",id:"theme.colorToggle.ariaLabel",description:"The ARIA label for the navbar color mode toggle"},{mode:"dark"===r?(0,l.I)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"}):(0,l.I)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"})});return(0,u.jsx)("div",{className:(0,a.Z)($.toggle,t),children:(0,u.jsxs)("button",{className:(0,a.Z)("clean-btn",$.toggleButton,!i&&$.toggleButtonDisabled,n),type:"button",onClick:()=>o("dark"===r?"light":"dark"),disabled:!i,title:s,"aria-label":s,"aria-live":"polite",children:[(0,u.jsx)(z,{className:(0,a.Z)($.toggleIcon,$.lightToggleIcon)}),(0,u.jsx)(U,{className:(0,a.Z)($.toggleIcon,$.darkToggleIcon)})]})})}const H=r.memo(q),Z={darkNavbarColorModeToggle:"darkNavbarColorModeToggle_X3D1"};function G(e){let{className:t}=e;const n=(0,w.L)().navbar.style,r=(0,w.L)().colorMode.disableSwitch,{colorMode:a,setColorMode:o}=(0,B.I)();return r?null:(0,u.jsx)(H,{className:t,buttonClassName:"dark"===n?Z.darkNavbarColorModeToggle:void 0,value:a,onChange:o})}var V=n(1327);function W(){return(0,u.jsx)(V.Z,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function Q(){const e=(0,P.e)();return(0,u.jsx)("button",{type:"button","aria-label":(0,l.I)({id:"theme.docs.sidebar.closeSidebarButtonAriaLabel",message:"Close navigation bar",description:"The ARIA label for close button of mobile sidebar"}),className:"clean-btn navbar-sidebar__close",onClick:()=>e.toggle(),children:(0,u.jsx)(x,{color:"var(--ifm-color-emphasis-600)"})})}function J(){return(0,u.jsxs)("div",{className:"navbar-sidebar__brand",children:[(0,u.jsx)(W,{}),(0,u.jsx)(G,{className:"margin-right--md"}),(0,u.jsx)(Q,{})]})}var Y=n(3692),K=n(4996),X=n(3919);function ee(e,t){return void 0!==e&&void 0!==t&&new RegExp(e,"gi").test(t)}var te=n(9471);function ne(e){let{activeBasePath:t,activeBaseRegex:n,to:r,href:a,label:o,html:i,isDropdownLink:s,prependBaseUrlToHref:l,...c}=e;const d=(0,K.Z)(r),p=(0,K.Z)(t),f=(0,K.Z)(a,{forcePrependBaseUrl:!0}),m=o&&a&&!(0,X.Z)(a),h=i?{dangerouslySetInnerHTML:{__html:i}}:{children:(0,u.jsxs)(u.Fragment,{children:[o,m&&(0,u.jsx)(te.Z,{...s&&{width:12,height:12}})]})};return a?(0,u.jsx)(Y.Z,{href:l?f:a,...c,...h}):(0,u.jsx)(Y.Z,{to:d,isNavLink:!0,...(t||n)&&{isActive:(e,t)=>n?ee(n,t.pathname):t.pathname.startsWith(p)},...c,...h})}function re(e){let{className:t,isDropdownItem:n=!1,...r}=e;const o=(0,u.jsx)(ne,{className:(0,a.Z)(n?"dropdown__link":"navbar__item navbar__link",t),isDropdownLink:n,...r});return n?(0,u.jsx)("li",{children:o}):o}function ae(e){let{className:t,isDropdownItem:n,...r}=e;return(0,u.jsx)("li",{className:"menu__list-item",children:(0,u.jsx)(ne,{className:(0,a.Z)("menu__link",t),...r})})}function oe(e){let{mobile:t=!1,position:n,...r}=e;const a=t?ae:re;return(0,u.jsx)(a,{...r,activeClassName:r.activeClassName??(t?"menu__link--active":"navbar__link--active")})}var ie=n(6043),se=n(8596),le=n(2263);const ce={dropdownNavbarItemMobile:"dropdownNavbarItemMobile_S0Fm"};function ue(e,t){return e.some((e=>function(e,t){return!!(0,se.Mg)(e.to,t)||!!ee(e.activeBaseRegex,t)||!(!e.activeBasePath||!t.startsWith(e.activeBasePath))}(e,t)))}function de(e){let{items:t,position:n,className:o,onClick:i,...s}=e;const l=(0,r.useRef)(null),[c,d]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const e=e=>{l.current&&!l.current.contains(e.target)&&d(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),document.addEventListener("focusin",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e),document.removeEventListener("focusin",e)}}),[l]),(0,u.jsxs)("div",{ref:l,className:(0,a.Z)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===n,"dropdown--show":c}),children:[(0,u.jsx)(ne,{"aria-haspopup":"true","aria-expanded":c,role:"button",href:s.to?void 0:"#",className:(0,a.Z)("navbar__link",o),...s,onClick:s.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),d(!c))},children:s.children??s.label}),(0,u.jsx)("ul",{className:"dropdown__menu",children:t.map(((e,t)=>(0,r.createElement)(Ce,{isDropdownItem:!0,activeClassName:"dropdown__link--active",...e,key:t})))})]})}function pe(e){let{items:t,className:n,position:o,onClick:i,...l}=e;const c=function(){const{siteConfig:{baseUrl:e}}=(0,le.Z)(),{pathname:t}=(0,s.TH)();return t.replace(e,"/")}(),d=ue(t,c),{collapsed:p,toggleCollapsed:f,setCollapsed:m}=(0,ie.u)({initialState:()=>!d});return(0,r.useEffect)((()=>{d&&m(!d)}),[c,d,m]),(0,u.jsxs)("li",{className:(0,a.Z)("menu__list-item",{"menu__list-item--collapsed":p}),children:[(0,u.jsx)(ne,{role:"button",className:(0,a.Z)(ce.dropdownNavbarItemMobile,"menu__link menu__link--sublist menu__link--sublist-caret",n),...l,onClick:e=>{e.preventDefault(),f()},children:l.children??l.label}),(0,u.jsx)(ie.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:p,children:t.map(((e,t)=>(0,r.createElement)(Ce,{mobile:!0,isDropdownItem:!0,onClick:i,activeClassName:"menu__link--active",...e,key:t})))})]})}function fe(e){let{mobile:t=!1,...n}=e;const r=t?pe:de;return(0,u.jsx)(r,{...n})}var me=n(4711);function he(e){let{width:t=20,height:n=20,...r}=e;return(0,u.jsx)("svg",{viewBox:"0 0 24 24",width:t,height:n,"aria-hidden":!0,...r,children:(0,u.jsx)("path",{fill:"currentColor",d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"})})}const ge="iconLanguage_nlXk";var be=n(1875);const ye={navbarSearchContainer:"navbarSearchContainer_Bca1"};function ve(e){let{children:t,className:n}=e;return(0,u.jsx)("div",{className:(0,a.Z)(n,ye.navbarSearchContainer),children:t})}var we=n(143),ke=n(2802);var xe=n(373);const Se=e=>e.docs.find((t=>t.id===e.mainDocId));const Ee={default:oe,localeDropdown:function(e){let{mobile:t,dropdownItemsBefore:n,dropdownItemsAfter:r,queryString:a="",...o}=e;const{i18n:{currentLocale:i,locales:c,localeConfigs:d}}=(0,le.Z)(),p=(0,me.l)(),{search:f,hash:m}=(0,s.TH)(),h=[...n,...c.map((e=>{const n=`${`pathname://${p.createUrl({locale:e,fullyQualified:!1})}`}${f}${m}${a}`;return{label:d[e].label,lang:d[e].htmlLang,to:n,target:"_self",autoAddBaseUrl:!1,className:e===i?t?"menu__link--active":"dropdown__link--active":""}})),...r],g=t?(0,l.I)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):d[i].label;return(0,u.jsx)(fe,{...o,mobile:t,label:(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(he,{className:ge}),g]}),items:h})},search:function(e){let{mobile:t,className:n}=e;return t?null:(0,u.jsx)(ve,{className:n,children:(0,u.jsx)(be.Z,{})})},dropdown:fe,html:function(e){let{value:t,className:n,mobile:r=!1,isDropdownItem:o=!1}=e;const i=o?"li":"div";return(0,u.jsx)(i,{className:(0,a.Z)({navbar__item:!r&&!o,"menu__list-item":r},n),dangerouslySetInnerHTML:{__html:t}})},doc:function(e){let{docId:t,label:n,docsPluginId:r,...a}=e;const{activeDoc:o}=(0,we.Iw)(r),i=(0,ke.vY)(t,r),s=o?.path===i?.path;return null===i||i.unlisted&&!s?null:(0,u.jsx)(oe,{exact:!0,...a,isActive:()=>s||!!o?.sidebar&&o.sidebar===i.sidebar,label:n??i.id,to:i.path})},docSidebar:function(e){let{sidebarId:t,label:n,docsPluginId:r,...a}=e;const{activeDoc:o}=(0,we.Iw)(r),i=(0,ke.oz)(t,r).link;if(!i)throw new Error(`DocSidebarNavbarItem: Sidebar with ID "${t}" doesn't have anything to be linked to.`);return(0,u.jsx)(oe,{exact:!0,...a,isActive:()=>o?.sidebar===t,label:n??i.label,to:i.path})},docsVersion:function(e){let{label:t,to:n,docsPluginId:r,...a}=e;const o=(0,ke.lO)(r)[0],i=t??o.label,s=n??(e=>e.docs.find((t=>t.id===e.mainDocId)))(o).path;return(0,u.jsx)(oe,{...a,label:i,to:s})},docsVersionDropdown:function(e){let{mobile:t,docsPluginId:n,dropdownActiveClassDisabled:r,dropdownItemsBefore:a,dropdownItemsAfter:o,...i}=e;const{search:c,hash:d}=(0,s.TH)(),p=(0,we.Iw)(n),f=(0,we.gB)(n),{savePreferredVersionName:m}=(0,xe.J)(n),h=[...a,...f.map((e=>{const t=p.alternateDocVersions[e.name]??Se(e);return{label:e.label,to:`${t.path}${c}${d}`,isActive:()=>e===p.activeVersion,onClick:()=>m(e.name)}})),...o],g=(0,ke.lO)(n)[0],b=t&&h.length>1?(0,l.I)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):g.label,y=t&&h.length>1?void 0:Se(g).path;return h.length<=1?(0,u.jsx)(oe,{...i,mobile:t,label:b,to:y,isActive:r?()=>!1:void 0}):(0,u.jsx)(fe,{...i,mobile:t,label:b,to:y,items:h,isActive:r?()=>!1:void 0})}};function Ce(e){let{type:t,...n}=e;const r=function(e,t){return e&&"default"!==e?e:"items"in t?"dropdown":"default"}(t,n),a=Ee[r];if(!a)throw new Error(`No NavbarItem component found for type "${t}".`);return(0,u.jsx)(a,{...n})}function _e(){const e=(0,P.e)(),t=(0,w.L)().navbar.items;return(0,u.jsx)("ul",{className:"menu__list",children:t.map(((t,n)=>(0,r.createElement)(Ce,{mobile:!0,...t,onClick:()=>e.toggle(),key:n})))})}function Te(e){return(0,u.jsx)("button",{...e,type:"button",className:"clean-btn navbar-sidebar__back",children:(0,u.jsx)(l.Z,{id:"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel",description:"The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)",children:"\u2190 Back to main menu"})})}function je(){const e=0===(0,w.L)().navbar.items.length,t=D();return(0,u.jsxs)(u.Fragment,{children:[!e&&(0,u.jsx)(Te,{onClick:()=>t.hide()}),t.content]})}function Pe(){const e=(0,P.e)();var t;return void 0===(t=e.shown)&&(t=!0),(0,r.useEffect)((()=>(document.body.style.overflow=t?"hidden":"visible",()=>{document.body.style.overflow="visible"})),[t]),e.shouldRender?(0,u.jsx)(F,{header:(0,u.jsx)(J,{}),primaryMenu:(0,u.jsx)(_e,{}),secondaryMenu:(0,u.jsx)(je,{})}):null}const Ae={navbarHideable:"navbarHideable_m1mJ",navbarHidden:"navbarHidden_jGov"};function Re(e){return(0,u.jsx)("div",{role:"presentation",...e,className:(0,a.Z)("navbar-sidebar__backdrop",e.className)})}function Ne(e){let{children:t}=e;const{navbar:{hideOnScroll:n,style:o}}=(0,w.L)(),i=(0,P.e)(),{navbarRef:s,isNavbarVisible:d}=function(e){const[t,n]=(0,r.useState)(e),a=(0,r.useRef)(!1),o=(0,r.useRef)(0),i=(0,r.useCallback)((e=>{null!==e&&(o.current=e.getBoundingClientRect().height)}),[]);return(0,A.RF)(((t,r)=>{let{scrollY:i}=t;if(!e)return;if(i<o.current)return void n(!0);if(a.current)return void(a.current=!1);const s=r?.scrollY,l=document.documentElement.scrollHeight-o.current,c=window.innerHeight;s&&i>=s?n(!1):i+c<l&&n(!0)})),(0,c.S)((t=>{if(!e)return;const r=t.location.hash;if(r?document.getElementById(r.substring(1)):void 0)return a.current=!0,void n(!1);n(!0)})),{navbarRef:i,isNavbarVisible:t}}(n);return(0,u.jsxs)("nav",{ref:s,"aria-label":(0,l.I)({id:"theme.NavBar.navAriaLabel",message:"Main",description:"The ARIA label for the main navigation"}),className:(0,a.Z)("navbar","navbar--fixed-top",n&&[Ae.navbarHideable,!d&&Ae.navbarHidden],{"navbar--dark":"dark"===o,"navbar--primary":"primary"===o,"navbar-sidebar--show":i.shown}),children:[t,(0,u.jsx)(Re,{onClick:i.toggle}),(0,u.jsx)(Pe,{})]})}var Le=n(8780);const Ie={errorBoundaryError:"errorBoundaryError_a6uf",errorBoundaryFallback:"errorBoundaryFallback_VBag"};function Oe(e){return(0,u.jsx)("button",{type:"button",...e,children:(0,u.jsx)(l.Z,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again rendering when the React error boundary captures an error",children:"Try again"})})}function De(e){let{error:t}=e;const n=(0,Le.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,u.jsx)("p",{className:Ie.errorBoundaryError,children:n})}class Fe extends r.Component{componentDidCatch(e,t){throw this.props.onError(e,t)}render(){return this.props.children}}const Be="right";function Me(e){let{width:t=30,height:n=30,className:r,...a}=e;return(0,u.jsx)("svg",{className:r,width:t,height:n,viewBox:"0 0 30 30","aria-hidden":"true",...a,children:(0,u.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"})})}function ze(){const{toggle:e,shown:t}=(0,P.e)();return(0,u.jsx)("button",{onClick:e,"aria-label":(0,l.I)({id:"theme.docs.sidebar.toggleSidebarButtonAriaLabel",message:"Toggle navigation bar",description:"The ARIA label for hamburger menu button of mobile navigation"}),"aria-expanded":t,className:"navbar__toggle clean-btn",type:"button",children:(0,u.jsx)(Me,{})})}const Ue={colorModeToggle:"colorModeToggle_DEke"};function $e(e){let{items:t}=e;return(0,u.jsx)(u.Fragment,{children:t.map(((e,t)=>(0,u.jsx)(Fe,{onError:t=>new Error(`A theme navbar item failed to render.\nPlease double-check the following navbar item (themeConfig.navbar.items) of your Docusaurus config:\n${JSON.stringify(e,null,2)}`,{cause:t}),children:(0,u.jsx)(Ce,{...e})},t)))})}function qe(e){let{left:t,right:n}=e;return(0,u.jsxs)("div",{className:"navbar__inner",children:[(0,u.jsx)("div",{className:"navbar__items",children:t}),(0,u.jsx)("div",{className:"navbar__items navbar__items--right",children:n})]})}function He(){const e=(0,P.e)(),t=(0,w.L)().navbar.items,[n,r]=function(e){function t(e){return"left"===(e.position??Be)}return[e.filter(t),e.filter((e=>!t(e)))]}(t),a=t.find((e=>"search"===e.type));return(0,u.jsx)(qe,{left:(0,u.jsxs)(u.Fragment,{children:[!e.disabled&&(0,u.jsx)(ze,{}),(0,u.jsx)(W,{}),(0,u.jsx)($e,{items:n})]}),right:(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)($e,{items:r}),(0,u.jsx)(G,{className:Ue.colorModeToggle}),!a&&(0,u.jsx)(ve,{children:(0,u.jsx)(be.Z,{})})]})})}function Ze(){return(0,u.jsx)(Ne,{children:(0,u.jsx)(He,{})})}function Ge(e){let{item:t}=e;const{to:n,href:r,label:a,prependBaseUrlToHref:o,...i}=t,s=(0,K.Z)(n),l=(0,K.Z)(r,{forcePrependBaseUrl:!0});return(0,u.jsxs)(Y.Z,{className:"footer__link-item",...r?{href:o?l:r}:{to:s},...i,children:[a,r&&!(0,X.Z)(r)&&(0,u.jsx)(te.Z,{})]})}function Ve(e){let{item:t}=e;return t.html?(0,u.jsx)("li",{className:"footer__item",dangerouslySetInnerHTML:{__html:t.html}}):(0,u.jsx)("li",{className:"footer__item",children:(0,u.jsx)(Ge,{item:t})},t.href??t.to)}function We(e){let{column:t}=e;return(0,u.jsxs)("div",{className:"col footer__col",children:[(0,u.jsx)("div",{className:"footer__title",children:t.title}),(0,u.jsx)("ul",{className:"footer__items clean-list",children:t.items.map(((e,t)=>(0,u.jsx)(Ve,{item:e},t)))})]})}function Qe(e){let{columns:t}=e;return(0,u.jsx)("div",{className:"row footer__links",children:t.map(((e,t)=>(0,u.jsx)(We,{column:e},t)))})}function Je(){return(0,u.jsx)("span",{className:"footer__link-separator",children:"\xb7"})}function Ye(e){let{item:t}=e;return t.html?(0,u.jsx)("span",{className:"footer__link-item",dangerouslySetInnerHTML:{__html:t.html}}):(0,u.jsx)(Ge,{item:t})}function Ke(e){let{links:t}=e;return(0,u.jsx)("div",{className:"footer__links text--center",children:(0,u.jsx)("div",{className:"footer__links",children:t.map(((e,n)=>(0,u.jsxs)(r.Fragment,{children:[(0,u.jsx)(Ye,{item:e}),t.length!==n+1&&(0,u.jsx)(Je,{})]},n)))})})}function Xe(e){let{links:t}=e;return function(e){return"title"in e[0]}(t)?(0,u.jsx)(Qe,{columns:t}):(0,u.jsx)(Ke,{links:t})}var et=n(9965);const tt={footerLogoLink:"footerLogoLink_BH7S"};function nt(e){let{logo:t}=e;const{withBaseUrl:n}=(0,K.C)(),r={light:n(t.src),dark:n(t.srcDark??t.src)};return(0,u.jsx)(et.Z,{className:(0,a.Z)("footer__logo",t.className),alt:t.alt,sources:r,width:t.width,height:t.height,style:t.style})}function rt(e){let{logo:t}=e;return t.href?(0,u.jsx)(Y.Z,{href:t.href,className:tt.footerLogoLink,target:t.target,children:(0,u.jsx)(nt,{logo:t})}):(0,u.jsx)(nt,{logo:t})}function at(e){let{copyright:t}=e;return(0,u.jsx)("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}})}function ot(e){let{style:t,links:n,logo:r,copyright:o}=e;return(0,u.jsx)("footer",{className:(0,a.Z)("footer",{"footer--dark":"dark"===t}),children:(0,u.jsxs)("div",{className:"container container-fluid",children:[n,(r||o)&&(0,u.jsxs)("div",{className:"footer__bottom text--center",children:[r&&(0,u.jsx)("div",{className:"margin-bottom--sm",children:r}),o]})]})})}function it(){const{footer:e}=(0,w.L)();if(!e)return null;const{copyright:t,links:n,logo:r,style:a}=e;return(0,u.jsx)(ot,{style:a,links:n&&n.length>0&&(0,u.jsx)(Xe,{links:n}),logo:r&&(0,u.jsx)(rt,{logo:r}),copyright:t&&(0,u.jsx)(at,{copyright:t})})}const st=r.memo(it),lt=(0,R.Qc)([B.S,k.pl,A.OC,xe.L5,i.VC,function(e){let{children:t}=e;return(0,u.jsx)(N.n2,{children:(0,u.jsx)(P.M,{children:(0,u.jsx)(I,{children:t})})})}]);function ct(e){let{children:t}=e;return(0,u.jsx)(lt,{children:t})}var ut=n(2503);function dt(e){let{error:t,tryAgain:n}=e;return(0,u.jsx)("main",{className:"container margin-vert--xl",children:(0,u.jsx)("div",{className:"row",children:(0,u.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,u.jsx)(ut.Z,{as:"h1",className:"hero__title",children:(0,u.jsx)(l.Z,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed",children:"This page crashed."})}),(0,u.jsx)("div",{className:"margin-vert--lg",children:(0,u.jsx)(Oe,{onClick:n,className:"button button--primary shadow--lw"})}),(0,u.jsx)("hr",{}),(0,u.jsx)("div",{className:"margin-vert--md",children:(0,u.jsx)(De,{error:t})})]})})})}const pt={mainWrapper:"mainWrapper_z2l0"};function ft(e){const{children:t,noFooter:n,wrapperClassName:r,title:s,description:l}=e;return(0,b.t)(),(0,u.jsxs)(ct,{children:[(0,u.jsx)(i.d,{title:s,description:l}),(0,u.jsx)(v,{}),(0,u.jsx)(j,{}),(0,u.jsx)(Ze,{}),(0,u.jsx)("div",{id:d,className:(0,a.Z)(g.k.wrapper.main,pt.mainWrapper,r),children:(0,u.jsx)(o.Z,{fallback:e=>(0,u.jsx)(dt,{...e}),children:t})}),!n&&(0,u.jsx)(st,{})]})}},1327:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});n(7294);var r=n(3692),a=n(4996),o=n(2263),i=n(6668),s=n(9965),l=n(5893);function c(e){let{logo:t,alt:n,imageClassName:r}=e;const o={light:(0,a.Z)(t.src),dark:(0,a.Z)(t.srcDark||t.src)},i=(0,l.jsx)(s.Z,{className:t.className,sources:o,height:t.height,width:t.width,alt:n,style:t.style});return r?(0,l.jsx)("div",{className:r,children:i}):i}function u(e){const{siteConfig:{title:t}}=(0,o.Z)(),{navbar:{title:n,logo:s}}=(0,i.L)(),{imageClassName:u,titleClassName:d,...p}=e,f=(0,a.Z)(s?.href||"/"),m=n?"":t,h=s?.alt??m;return(0,l.jsxs)(r.Z,{to:f,...p,...s?.target&&{target:s.target},children:[s&&(0,l.jsx)(c,{logo:s,alt:h,imageClassName:u}),null!=n&&(0,l.jsx)("b",{className:d,children:n})]})}},197:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});n(7294);var r=n(5742),a=n(5893);function o(e){let{locale:t,version:n,tag:o}=e;const i=t;return(0,a.jsxs)(r.Z,{children:[t&&(0,a.jsx)("meta",{name:"docusaurus_locale",content:t}),n&&(0,a.jsx)("meta",{name:"docusaurus_version",content:n}),o&&(0,a.jsx)("meta",{name:"docusaurus_tag",content:o}),i&&(0,a.jsx)("meta",{name:"docsearch:language",content:i}),n&&(0,a.jsx)("meta",{name:"docsearch:version",content:n}),o&&(0,a.jsx)("meta",{name:"docsearch:docusaurus_tag",content:o})]})}},9965:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(7294),a=n(512),o=n(2389),i=n(2949);const s={themedComponent:"themedComponent_mlkZ","themedComponent--light":"themedComponent--light_NVdE","themedComponent--dark":"themedComponent--dark_xIcU"};var l=n(5893);function c(e){let{className:t,children:n}=e;const c=(0,o.Z)(),{colorMode:u}=(0,i.I)();return(0,l.jsx)(l.Fragment,{children:(c?"dark"===u?["dark"]:["light"]:["light","dark"]).map((e=>{const o=n({theme:e,className:(0,a.Z)(t,s.themedComponent,s[`themedComponent--${e}`])});return(0,l.jsx)(r.Fragment,{children:o},e)}))})}function u(e){const{sources:t,className:n,alt:r,...a}=e;return(0,l.jsx)(c,{className:n,children:e=>{let{theme:n,className:o}=e;return(0,l.jsx)("img",{src:t[n],alt:r,className:o,...a})}})}},6043:(e,t,n)=>{"use strict";n.d(t,{u:()=>c,z:()=>b});var r=n(7294),a=n(412),o=n(469),i=n(1442),s=n(5893);const l="ease-in-out";function c(e){let{initialState:t}=e;const[n,a]=(0,r.useState)(t??!1),o=(0,r.useCallback)((()=>{a((e=>!e))}),[]);return{collapsed:n,setCollapsed:a,toggleCollapsed:o}}const u={display:"none",overflow:"hidden",height:"0px"},d={display:"block",overflow:"visible",height:"auto"};function p(e,t){const n=t?u:d;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function f(e){let{collapsibleRef:t,collapsed:n,animation:a}=e;const o=(0,r.useRef)(!1);(0,r.useEffect)((()=>{const e=t.current;function r(){const t=e.scrollHeight,n=a?.duration??function(e){if((0,i.n)())return 1;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}(t);return{transition:`height ${n}ms ${a?.easing??l}`,height:`${t}px`}}function s(){const t=r();e.style.transition=t.transition,e.style.height=t.height}if(!o.current)return p(e,n),void(o.current=!0);return e.style.willChange="height",function(){const t=requestAnimationFrame((()=>{n?(s(),requestAnimationFrame((()=>{e.style.height=u.height,e.style.overflow=u.overflow}))):(e.style.display="block",requestAnimationFrame((()=>{s()})))}));return()=>cancelAnimationFrame(t)}()}),[t,n,a])}function m(e){if(!a.Z.canUseDOM)return e?u:d}function h(e){let{as:t="div",collapsed:n,children:a,animation:o,onCollapseTransitionEnd:i,className:l,disableSSRStyle:c}=e;const u=(0,r.useRef)(null);return f({collapsibleRef:u,collapsed:n,animation:o}),(0,s.jsx)(t,{ref:u,style:c?void 0:m(n),onTransitionEnd:e=>{"height"===e.propertyName&&(p(u.current,n),i?.(n))},className:l,children:a})}function g(e){let{collapsed:t,...n}=e;const[a,i]=(0,r.useState)(!t),[l,c]=(0,r.useState)(t);return(0,o.Z)((()=>{t||i(!0)}),[t]),(0,o.Z)((()=>{a&&c(t)}),[a,t]),a?(0,s.jsx)(h,{...n,collapsed:l}):null}function b(e){let{lazy:t,...n}=e;const r=t?g:h;return(0,s.jsx)(r,{...n})}},9689:(e,t,n)=>{"use strict";n.d(t,{nT:()=>h,pl:()=>m});var r=n(7294),a=n(2389),o=n(12),i=n(902),s=n(6668),l=n(5893);const c=(0,o.WA)("docusaurus.announcement.dismiss"),u=(0,o.WA)("docusaurus.announcement.id"),d=()=>"true"===c.get(),p=e=>c.set(String(e)),f=r.createContext(null);function m(e){let{children:t}=e;const n=function(){const{announcementBar:e}=(0,s.L)(),t=(0,a.Z)(),[n,o]=(0,r.useState)((()=>!!t&&d()));(0,r.useEffect)((()=>{o(d())}),[]);const i=(0,r.useCallback)((()=>{p(!0),o(!0)}),[]);return(0,r.useEffect)((()=>{if(!e)return;const{id:t}=e;let n=u.get();"annoucement-bar"===n&&(n="announcement-bar");const r=t!==n;u.set(t),r&&p(!1),!r&&d()||o(!1)}),[e]),(0,r.useMemo)((()=>({isActive:!!e&&!n,close:i})),[e,n,i])}();return(0,l.jsx)(f.Provider,{value:n,children:t})}function h(){const e=(0,r.useContext)(f);if(!e)throw new i.i6("AnnouncementBarProvider");return e}},2949:(e,t,n)=>{"use strict";n.d(t,{I:()=>b,S:()=>g});var r=n(7294),a=n(412),o=n(902),i=n(12),s=n(6668),l=n(5893);const c=r.createContext(void 0),u="theme",d=(0,i.WA)(u),p={light:"light",dark:"dark"},f=e=>e===p.dark?p.dark:p.light,m=e=>a.Z.canUseDOM?f(document.documentElement.getAttribute("data-theme")):f(e),h=e=>{d.set(f(e))};function g(e){let{children:t}=e;const n=function(){const{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:n}}=(0,s.L)(),[a,o]=(0,r.useState)(m(e));(0,r.useEffect)((()=>{t&&d.del()}),[t]);const i=(0,r.useCallback)((function(t,r){void 0===r&&(r={});const{persist:a=!0}=r;t?(o(t),a&&h(t)):(o(n?window.matchMedia("(prefers-color-scheme: dark)").matches?p.dark:p.light:e),d.del())}),[n,e]);(0,r.useEffect)((()=>{document.documentElement.setAttribute("data-theme",f(a))}),[a]),(0,r.useEffect)((()=>{if(t)return;const e=e=>{if(e.key!==u)return;const t=d.get();null!==t&&i(f(t))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)}),[t,i]);const l=(0,r.useRef)(!1);return(0,r.useEffect)((()=>{if(t&&!n)return;const e=window.matchMedia("(prefers-color-scheme: dark)"),r=()=>{window.matchMedia("print").matches||l.current?l.current=window.matchMedia("print").matches:i(null)};return e.addListener(r),()=>e.removeListener(r)}),[i,t,n]),(0,r.useMemo)((()=>({colorMode:a,setColorMode:i,get isDarkTheme(){return a===p.dark},setLightTheme(){i(p.light)},setDarkTheme(){i(p.dark)}})),[a,i])}();return(0,l.jsx)(c.Provider,{value:n,children:t})}function b(){const e=(0,r.useContext)(c);if(null==e)throw new o.i6("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},373:(e,t,n)=>{"use strict";n.d(t,{J:()=>v,L5:()=>b});var r=n(7294),a=n(143),o=n(9935),i=n(6668),s=n(2802),l=n(902),c=n(12),u=n(5893);const d=e=>`docs-preferred-version-${e}`,p={save:(e,t,n)=>{(0,c.WA)(d(e),{persistence:t}).set(n)},read:(e,t)=>(0,c.WA)(d(e),{persistence:t}).get(),clear:(e,t)=>{(0,c.WA)(d(e),{persistence:t}).del()}},f=e=>Object.fromEntries(e.map((e=>[e,{preferredVersionName:null}])));const m=r.createContext(null);function h(){const e=(0,a._r)(),t=(0,i.L)().docs.versionPersistence,n=(0,r.useMemo)((()=>Object.keys(e)),[e]),[o,s]=(0,r.useState)((()=>f(n)));(0,r.useEffect)((()=>{s(function(e){let{pluginIds:t,versionPersistence:n,allDocsData:r}=e;function a(e){const t=p.read(e,n);return r[e].versions.some((e=>e.name===t))?{preferredVersionName:t}:(p.clear(e,n),{preferredVersionName:null})}return Object.fromEntries(t.map((e=>[e,a(e)])))}({allDocsData:e,versionPersistence:t,pluginIds:n}))}),[e,t,n]);return[o,(0,r.useMemo)((()=>({savePreferredVersion:function(e,n){p.save(e,t,n),s((t=>({...t,[e]:{preferredVersionName:n}})))}})),[t])]}function g(e){let{children:t}=e;const n=h();return(0,u.jsx)(m.Provider,{value:n,children:t})}function b(e){let{children:t}=e;return s.cE?(0,u.jsx)(g,{children:t}):(0,u.jsx)(u.Fragment,{children:t})}function y(){const e=(0,r.useContext)(m);if(!e)throw new l.i6("DocsPreferredVersionContextProvider");return e}function v(e){void 0===e&&(e=o.m);const t=(0,a.zh)(e),[n,i]=y(),{preferredVersionName:s}=n[e];return{preferredVersion:t.versions.find((e=>e.name===s))??null,savePreferredVersionName:(0,r.useCallback)((t=>{i.savePreferredVersion(e,t)}),[i,e])}}},1116:(e,t,n)=>{"use strict";n.d(t,{V:()=>c,b:()=>l});var r=n(7294),a=n(902),o=n(5893);const i=Symbol("EmptyContext"),s=r.createContext(i);function l(e){let{children:t,name:n,items:a}=e;const i=(0,r.useMemo)((()=>n&&a?{name:n,items:a}:null),[n,a]);return(0,o.jsx)(s.Provider,{value:i,children:t})}function c(){const e=(0,r.useContext)(s);if(e===i)throw new a.i6("DocsSidebarProvider");return e}},4477:(e,t,n)=>{"use strict";n.d(t,{E:()=>l,q:()=>s});var r=n(7294),a=n(902),o=n(5893);const i=r.createContext(null);function s(e){let{children:t,version:n}=e;return(0,o.jsx)(i.Provider,{value:n,children:t})}function l(){const e=(0,r.useContext)(i);if(null===e)throw new a.i6("DocsVersionProvider");return e}},2961:(e,t,n)=>{"use strict";n.d(t,{M:()=>f,e:()=>m});var r=n(7294),a=n(3102),o=n(7524),i=n(6550),s=n(902);function l(e){!function(e){const t=(0,i.k6)(),n=(0,s.zX)(e);(0,r.useEffect)((()=>t.block(((e,t)=>n(e,t)))),[t,n])}(((t,n)=>{if("POP"===n)return e(t,n)}))}var c=n(6668),u=n(5893);const d=r.createContext(void 0);function p(){const e=function(){const e=(0,a.HY)(),{items:t}=(0,c.L)().navbar;return 0===t.length&&!e.component}(),t=(0,o.i)(),n=!e&&"mobile"===t,[i,s]=(0,r.useState)(!1);l((()=>{if(i)return s(!1),!1}));const u=(0,r.useCallback)((()=>{s((e=>!e))}),[]);return(0,r.useEffect)((()=>{"desktop"===t&&s(!1)}),[t]),(0,r.useMemo)((()=>({disabled:e,shouldRender:n,toggle:u,shown:i})),[e,n,u,i])}function f(e){let{children:t}=e;const n=p();return(0,u.jsx)(d.Provider,{value:n,children:t})}function m(){const e=r.useContext(d);if(void 0===e)throw new s.i6("NavbarMobileSidebarProvider");return e}},3102:(e,t,n)=>{"use strict";n.d(t,{HY:()=>l,Zo:()=>c,n2:()=>s});var r=n(7294),a=n(902),o=n(5893);const i=r.createContext(null);function s(e){let{children:t}=e;const n=(0,r.useState)({component:null,props:null});return(0,o.jsx)(i.Provider,{value:n,children:t})}function l(){const e=(0,r.useContext)(i);if(!e)throw new a.i6("NavbarSecondaryMenuContentProvider");return e[0]}function c(e){let{component:t,props:n}=e;const o=(0,r.useContext)(i);if(!o)throw new a.i6("NavbarSecondaryMenuContentProvider");const[,s]=o,l=(0,a.Ql)(n);return(0,r.useEffect)((()=>{s({component:t,props:l})}),[s,t,l]),(0,r.useEffect)((()=>()=>s({component:null,props:null})),[s]),null}},9727:(e,t,n)=>{"use strict";n.d(t,{h:()=>a,t:()=>o});var r=n(7294);const a="navigation-with-keyboard";function o(){(0,r.useEffect)((()=>{function e(e){"keydown"===e.type&&"Tab"===e.key&&document.body.classList.add(a),"mousedown"===e.type&&document.body.classList.remove(a)}return document.addEventListener("keydown",e),document.addEventListener("mousedown",e),()=>{document.body.classList.remove(a),document.removeEventListener("keydown",e),document.removeEventListener("mousedown",e)}}),[])}},7524:(e,t,n)=>{"use strict";n.d(t,{i:()=>s});var r=n(7294),a=n(412);const o={desktop:"desktop",mobile:"mobile",ssr:"ssr"},i=996;function s(e){let{desktopBreakpoint:t=i}=void 0===e?{}:e;const[n,s]=(0,r.useState)((()=>"ssr"));return(0,r.useEffect)((()=>{function e(){s(function(e){if(!a.Z.canUseDOM)throw new Error("getWindowSize() should only be called after React hydration");return window.innerWidth>e?o.desktop:o.mobile}(t))}return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[t]),n}},5281:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});const r={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",unlistedBanner:"theme-unlisted-banner",admonitionType:e=>`theme-admonition-${e}`},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>`theme-doc-sidebar-item-category-level-${e}`,docSidebarItemLinkLevel:e=>`theme-doc-sidebar-item-link-level-${e}`},blog:{}}},1442:(e,t,n)=>{"use strict";function r(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}n.d(t,{n:()=>r})},2802:(e,t,n)=>{"use strict";n.d(t,{LM:()=>f,_F:()=>g,cE:()=>p,SN:()=>E,lO:()=>k,vY:()=>S,oz:()=>x,s1:()=>w,f:()=>y});var r=n(7294),a=n(6550),o=n(8790),i=n(143),s=n(373),l=n(4477),c=n(1116);function u(e){return Array.from(new Set(e))}var d=n(8596);const p=!!i._r;function f(e){return"link"!==e.type||e.unlisted?"category"===e.type?function(e){if(e.href&&!e.linkUnlisted)return e.href;for(const t of e.items){const e=f(t);if(e)return e}}(e):void 0:e.href}const m=(e,t)=>void 0!==e&&(0,d.Mg)(e,t),h=(e,t)=>e.some((e=>g(e,t)));function g(e,t){return"link"===e.type?m(e.href,t):"category"===e.type&&(m(e.href,t)||h(e.items,t))}function b(e,t){switch(e.type){case"category":return g(e,t)||e.items.some((e=>b(e,t)));case"link":return!e.unlisted||g(e,t);default:return!0}}function y(e,t){return(0,r.useMemo)((()=>e.filter((e=>b(e,t)))),[e,t])}function v(e){let{sidebarItems:t,pathname:n,onlyCategories:r=!1}=e;const a=[];return function e(t){for(const o of t)if("category"===o.type&&((0,d.Mg)(o.href,n)||e(o.items))||"link"===o.type&&(0,d.Mg)(o.href,n)){return r&&"category"!==o.type||a.unshift(o),!0}return!1}(t),a}function w(){const e=(0,c.V)(),{pathname:t}=(0,a.TH)(),n=(0,i.gA)()?.pluginData.breadcrumbs;return!1!==n&&e?v({sidebarItems:e.items,pathname:t}):null}function k(e){const{activeVersion:t}=(0,i.Iw)(e),{preferredVersion:n}=(0,s.J)(e),a=(0,i.yW)(e);return(0,r.useMemo)((()=>u([t,n,a].filter(Boolean))),[t,n,a])}function x(e,t){const n=k(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.sidebars?Object.entries(e.sidebars):[])),r=t.find((t=>t[0]===e));if(!r)throw new Error(`Can't find any sidebar with id "${e}" in version${n.length>1?"s":""} ${n.map((e=>e.name)).join(", ")}".\nAvailable sidebar ids are:\n- ${t.map((e=>e[0])).join("\n- ")}`);return r[1]}),[e,n])}function S(e,t){const n=k(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.docs)),r=t.find((t=>t.id===e));if(!r){if(n.flatMap((e=>e.draftIds)).includes(e))return null;throw new Error(`Couldn't find any doc with id "${e}" in version${n.length>1?"s":""} "${n.map((e=>e.name)).join(", ")}".\nAvailable doc ids are:\n- ${u(t.map((e=>e.id))).join("\n- ")}`)}return r}),[e,n])}function E(e){let{route:t}=e;const n=(0,a.TH)(),r=(0,l.E)(),i=t.routes,s=i.find((e=>(0,a.LX)(n.pathname,e)));if(!s)return null;const c=s.sidebar,u=c?r.docsSidebars[c]:void 0;return{docElement:(0,o.H)(i),sidebarName:c,sidebarItems:u}}},1944:(e,t,n)=>{"use strict";n.d(t,{FG:()=>f,d:()=>d,VC:()=>m});var r=n(7294),a=n(512),o=n(5742),i=n(226);function s(){const e=r.useContext(i._);if(!e)throw new Error("Unexpected: no Docusaurus route context found");return e}var l=n(4996),c=n(2263);var u=n(5893);function d(e){let{title:t,description:n,keywords:r,image:a,children:i}=e;const s=function(e){const{siteConfig:t}=(0,c.Z)(),{title:n,titleDelimiter:r}=t;return e?.trim().length?`${e.trim()} ${r} ${n}`:n}(t),{withBaseUrl:d}=(0,l.C)(),p=a?d(a,{absolute:!0}):void 0;return(0,u.jsxs)(o.Z,{children:[t&&(0,u.jsx)("title",{children:s}),t&&(0,u.jsx)("meta",{property:"og:title",content:s}),n&&(0,u.jsx)("meta",{name:"description",content:n}),n&&(0,u.jsx)("meta",{property:"og:description",content:n}),r&&(0,u.jsx)("meta",{name:"keywords",content:Array.isArray(r)?r.join(","):r}),p&&(0,u.jsx)("meta",{property:"og:image",content:p}),p&&(0,u.jsx)("meta",{name:"twitter:image",content:p}),i]})}const p=r.createContext(void 0);function f(e){let{className:t,children:n}=e;const i=r.useContext(p),s=(0,a.Z)(i,t);return(0,u.jsxs)(p.Provider,{value:s,children:[(0,u.jsx)(o.Z,{children:(0,u.jsx)("html",{className:s})}),n]})}function m(e){let{children:t}=e;const n=s(),r=`plugin-${n.plugin.name.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"")}`;const o=`plugin-id-${n.plugin.id}`;return(0,u.jsx)(f,{className:(0,a.Z)(r,o),children:t})}},902:(e,t,n)=>{"use strict";n.d(t,{D9:()=>s,Qc:()=>u,Ql:()=>c,i6:()=>l,zX:()=>i});var r=n(7294),a=n(469),o=n(5893);function i(e){const t=(0,r.useRef)(e);return(0,a.Z)((()=>{t.current=e}),[e]),(0,r.useCallback)((function(){return t.current(...arguments)}),[])}function s(e){const t=(0,r.useRef)();return(0,a.Z)((()=>{t.current=e})),t.current}class l extends Error{constructor(e,t){super(),this.name="ReactContextError",this.message=`Hook ${this.stack?.split("\n")[1]?.match(/at (?:\w+\.)?(?<name>\w+)/)?.groups.name??""} is called outside the <${e}>. ${t??""}`}}function c(e){const t=Object.entries(e);return t.sort(((e,t)=>e[0].localeCompare(t[0]))),(0,r.useMemo)((()=>e),t.flat())}function u(e){return t=>{let{children:n}=t;return(0,o.jsx)(o.Fragment,{children:e.reduceRight(((e,t)=>(0,o.jsx)(t,{children:e})),n)})}}},8596:(e,t,n)=>{"use strict";n.d(t,{Mg:()=>i,Ns:()=>s});var r=n(7294),a=n(723),o=n(2263);function i(e,t){const n=e=>(!e||e.endsWith("/")?e:`${e}/`)?.toLowerCase();return n(e)===n(t)}function s(){const{baseUrl:e}=(0,o.Z)().siteConfig;return(0,r.useMemo)((()=>function(e){let{baseUrl:t,routes:n}=e;function r(e){return e.path===t&&!0===e.exact}function a(e){return e.path===t&&!e.exact}return function e(t){if(0===t.length)return;return t.find(r)||e(t.filter(a).flatMap((e=>e.routes??[])))}(n)}({routes:a.Z,baseUrl:e})),[e])}},2466:(e,t,n)=>{"use strict";n.d(t,{Ct:()=>f,OC:()=>c,RF:()=>p});var r=n(7294),a=n(412),o=n(2389),i=(n(469),n(902)),s=n(5893);const l=r.createContext(void 0);function c(e){let{children:t}=e;const n=function(){const e=(0,r.useRef)(!0);return(0,r.useMemo)((()=>({scrollEventsEnabledRef:e,enableScrollEvents:()=>{e.current=!0},disableScrollEvents:()=>{e.current=!1}})),[])}();return(0,s.jsx)(l.Provider,{value:n,children:t})}function u(){const e=(0,r.useContext)(l);if(null==e)throw new i.i6("ScrollControllerProvider");return e}const d=()=>a.Z.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;function p(e,t){void 0===t&&(t=[]);const{scrollEventsEnabledRef:n}=u(),a=(0,r.useRef)(d()),o=(0,i.zX)(e);(0,r.useEffect)((()=>{const e=()=>{if(!n.current)return;const e=d();o(e,a.current),a.current=e},t={passive:!0};return e(),window.addEventListener("scroll",e,t),()=>window.removeEventListener("scroll",e,t)}),[o,n,...t])}function f(){const e=(0,r.useRef)(null),t=(0,o.Z)()&&"smooth"===getComputedStyle(document.documentElement).scrollBehavior;return{startScroll:n=>{e.current=t?function(e){return window.scrollTo({top:e,behavior:"smooth"}),()=>{}}(n):function(e){let t=null;const n=document.documentElement.scrollTop>e;return function r(){const a=document.documentElement.scrollTop;(n&&a>e||!n&&a<e)&&(t=requestAnimationFrame(r),window.scrollTo(0,Math.floor(.85*(a-e))+e))}(),()=>t&&cancelAnimationFrame(t)}(n)},cancelScroll:()=>e.current?.()}}},3320:(e,t,n)=>{"use strict";n.d(t,{HX:()=>r,os:()=>a});n(2263);const r="default";function a(e,t){return`docs-${e}-${t}`}},12:(e,t,n)=>{"use strict";n.d(t,{WA:()=>l});n(7294);const r="localStorage";function a(e){let{key:t,oldValue:n,newValue:r,storage:a}=e;if(n===r)return;const o=document.createEvent("StorageEvent");o.initStorageEvent("storage",!1,!1,t,n,r,window.location.href,a),window.dispatchEvent(o)}function o(e){if(void 0===e&&(e=r),"undefined"==typeof window)throw new Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(n){return t=n,i||(console.warn("Docusaurus browser storage is not available.\nPossible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.",t),i=!0),null}var t}let i=!1;const s={get:()=>null,set:()=>{},del:()=>{},listen:()=>()=>{}};function l(e,t){if("undefined"==typeof window)return function(e){function t(){throw new Error(`Illegal storage API usage for storage key "${e}".\nDocusaurus storage APIs are not supposed to be called on the server-rendering process.\nPlease only call storage APIs in effects and event handlers.`)}return{get:t,set:t,del:t,listen:t}}(e);const n=o(t?.persistence);return null===n?s:{get:()=>{try{return n.getItem(e)}catch(t){return console.error(`Docusaurus storage error, can't get key=${e}`,t),null}},set:t=>{try{const r=n.getItem(e);n.setItem(e,t),a({key:e,oldValue:r,newValue:t,storage:n})}catch(r){console.error(`Docusaurus storage error, can't set ${e}=${t}`,r)}},del:()=>{try{const t=n.getItem(e);n.removeItem(e),a({key:e,oldValue:t,newValue:null,storage:n})}catch(t){console.error(`Docusaurus storage error, can't delete key=${e}`,t)}},listen:t=>{try{const r=r=>{r.storageArea===n&&r.key===e&&t(r)};return window.addEventListener("storage",r),()=>window.removeEventListener("storage",r)}catch(r){return console.error(`Docusaurus storage error, can't listen for changes of key=${e}`,r),()=>{}}}}}},4711:(e,t,n)=>{"use strict";n.d(t,{l:()=>i});var r=n(2263),a=n(6550),o=n(8780);function i(){const{siteConfig:{baseUrl:e,url:t,trailingSlash:n},i18n:{defaultLocale:i,currentLocale:s}}=(0,r.Z)(),{pathname:l}=(0,a.TH)(),c=(0,o.applyTrailingSlash)(l,{trailingSlash:n,baseUrl:e}),u=s===i?e:e.replace(`/${s}/`,"/"),d=c.replace(e,"");return{createUrl:function(e){let{locale:n,fullyQualified:r}=e;return`${r?t:""}${function(e){return e===i?`${u}`:`${u}${e}/`}(n)}${d}`}}}},5936:(e,t,n)=>{"use strict";n.d(t,{S:()=>i});var r=n(7294),a=n(6550),o=n(902);function i(e){const t=(0,a.TH)(),n=(0,o.D9)(t),i=(0,o.zX)(e);(0,r.useEffect)((()=>{n&&t!==n&&i({location:t,previousLocation:n})}),[i,t,n])}},6668:(e,t,n)=>{"use strict";n.d(t,{L:()=>a});var r=n(2263);function a(){return(0,r.Z)().siteConfig.themeConfig}},8802:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const{trailingSlash:n,baseUrl:r}=t;if(e.startsWith("#"))return e;if(void 0===n)return e;const[a]=e.split(/[#?]/),o="/"===a||a===r?a:(i=a,n?function(e){return e.endsWith("/")?e:`${e}/`}(i):function(e){return e.endsWith("/")?e.slice(0,-1):e}(i));var i;return e.replace(a,o)}},4143:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=void 0,t.getErrorCausalChain=function e(t){return t.cause?[t,...e(t.cause)]:[t]}},8780:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=t.applyTrailingSlash=t.blogPostContainerID=void 0,t.blogPostContainerID="__blog-post-container";var a=n(8802);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r(a).default}});var o=n(4143);Object.defineProperty(t,"getErrorCausalChain",{enumerable:!0,get:function(){return o.getErrorCausalChain}})},9318:(e,t,n)=>{"use strict";n.d(t,{lX:()=>w,q_:()=>_,ob:()=>f,PP:()=>j,Ep:()=>p});var r=n(7462);function a(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,a=e.length;r<a;n+=1,r+=1)e[n]=e[r];e.pop()}const i=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],i=t&&t.split("/")||[],s=e&&a(e),l=t&&a(t),c=s||l;if(e&&a(e)?i=r:r.length&&(i.pop(),i=i.concat(r)),!i.length)return"/";if(i.length){var u=i[i.length-1];n="."===u||".."===u||""===u}else n=!1;for(var d=0,p=i.length;p>=0;p--){var f=i[p];"."===f?o(i,p):".."===f?(o(i,p),d++):d&&(o(i,p),d--)}if(!c)for(;d--;d)i.unshift("..");!c||""===i[0]||i[0]&&a(i[0])||i.unshift("");var m=i.join("/");return n&&"/"!==m.substr(-1)&&(m+="/"),m};var s=n(8776);function l(e){return"/"===e.charAt(0)?e:"/"+e}function c(e){return"/"===e.charAt(0)?e.substr(1):e}function u(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function p(e){var t=e.pathname,n=e.search,r=e.hash,a=t||"/";return n&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function f(e,t,n,a){var o;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",a=t.indexOf("#");-1!==a&&(r=t.substr(a),t=t.substr(0,a));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),o.state=t):(void 0===(o=(0,r.Z)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(s){throw s instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):s}return n&&(o.key=n),a?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=i(o.pathname,a.pathname)):o.pathname=a.pathname:o.pathname||(o.pathname="/"),o}function m(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,a){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,a):a(!0):a(!1!==o)}else a(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var h=!("undefined"==typeof window||!window.document||!window.document.createElement);function g(e,t){t(window.confirm(e))}var b="popstate",y="hashchange";function v(){try{return window.history.state||{}}catch(e){return{}}}function w(e){void 0===e&&(e={}),h||(0,s.Z)(!1);var t,n=window.history,a=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,o=!(-1===window.navigator.userAgent.indexOf("Trident")),i=e,c=i.forceRefresh,w=void 0!==c&&c,k=i.getUserConfirmation,x=void 0===k?g:k,S=i.keyLength,E=void 0===S?6:S,C=e.basename?d(l(e.basename)):"";function _(e){var t=e||{},n=t.key,r=t.state,a=window.location,o=a.pathname+a.search+a.hash;return C&&(o=u(o,C)),f(o,r,n)}function T(){return Math.random().toString(36).substr(2,E)}var j=m();function P(e){(0,r.Z)(U,e),U.length=n.length,j.notifyListeners(U.location,U.action)}function A(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||L(_(e.state))}function R(){L(_(v()))}var N=!1;function L(e){if(N)N=!1,P();else{j.confirmTransitionTo(e,"POP",x,(function(t){t?P({action:"POP",location:e}):function(e){var t=U.location,n=O.indexOf(t.key);-1===n&&(n=0);var r=O.indexOf(e.key);-1===r&&(r=0);var a=n-r;a&&(N=!0,F(a))}(e)}))}}var I=_(v()),O=[I.key];function D(e){return C+p(e)}function F(e){n.go(e)}var B=0;function M(e){1===(B+=e)&&1===e?(window.addEventListener(b,A),o&&window.addEventListener(y,R)):0===B&&(window.removeEventListener(b,A),o&&window.removeEventListener(y,R))}var z=!1;var U={length:n.length,action:"POP",location:I,createHref:D,push:function(e,t){var r="PUSH",o=f(e,t,T(),U.location);j.confirmTransitionTo(o,r,x,(function(e){if(e){var t=D(o),i=o.key,s=o.state;if(a)if(n.pushState({key:i,state:s},null,t),w)window.location.href=t;else{var l=O.indexOf(U.location.key),c=O.slice(0,l+1);c.push(o.key),O=c,P({action:r,location:o})}else window.location.href=t}}))},replace:function(e,t){var r="REPLACE",o=f(e,t,T(),U.location);j.confirmTransitionTo(o,r,x,(function(e){if(e){var t=D(o),i=o.key,s=o.state;if(a)if(n.replaceState({key:i,state:s},null,t),w)window.location.replace(t);else{var l=O.indexOf(U.location.key);-1!==l&&(O[l]=o.key),P({action:r,location:o})}else window.location.replace(t)}}))},go:F,goBack:function(){F(-1)},goForward:function(){F(1)},block:function(e){void 0===e&&(e=!1);var t=j.setPrompt(e);return z||(M(1),z=!0),function(){return z&&(z=!1,M(-1)),t()}},listen:function(e){var t=j.appendListener(e);return M(1),function(){M(-1),t()}}};return U}var k="hashchange",x={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+c(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:c,decodePath:l},slash:{encodePath:l,decodePath:l}};function S(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function E(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function C(e){window.location.replace(S(window.location.href)+"#"+e)}function _(e){void 0===e&&(e={}),h||(0,s.Z)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),a=n.getUserConfirmation,o=void 0===a?g:a,i=n.hashType,c=void 0===i?"slash":i,b=e.basename?d(l(e.basename)):"",y=x[c],v=y.encodePath,w=y.decodePath;function _(){var e=w(E());return b&&(e=u(e,b)),f(e)}var T=m();function j(e){(0,r.Z)(z,e),z.length=t.length,T.notifyListeners(z.location,z.action)}var P=!1,A=null;function R(){var e,t,n=E(),r=v(n);if(n!==r)C(r);else{var a=_(),i=z.location;if(!P&&(t=a,(e=i).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(A===p(a))return;A=null,function(e){if(P)P=!1,j();else{var t="POP";T.confirmTransitionTo(e,t,o,(function(n){n?j({action:t,location:e}):function(e){var t=z.location,n=O.lastIndexOf(p(t));-1===n&&(n=0);var r=O.lastIndexOf(p(e));-1===r&&(r=0);var a=n-r;a&&(P=!0,D(a))}(e)}))}}(a)}}var N=E(),L=v(N);N!==L&&C(L);var I=_(),O=[p(I)];function D(e){t.go(e)}var F=0;function B(e){1===(F+=e)&&1===e?window.addEventListener(k,R):0===F&&window.removeEventListener(k,R)}var M=!1;var z={length:t.length,action:"POP",location:I,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=S(window.location.href)),n+"#"+v(b+p(e))},push:function(e,t){var n="PUSH",r=f(e,void 0,void 0,z.location);T.confirmTransitionTo(r,n,o,(function(e){if(e){var t=p(r),a=v(b+t);if(E()!==a){A=t,function(e){window.location.hash=e}(a);var o=O.lastIndexOf(p(z.location)),i=O.slice(0,o+1);i.push(t),O=i,j({action:n,location:r})}else j()}}))},replace:function(e,t){var n="REPLACE",r=f(e,void 0,void 0,z.location);T.confirmTransitionTo(r,n,o,(function(e){if(e){var t=p(r),a=v(b+t);E()!==a&&(A=t,C(a));var o=O.indexOf(p(z.location));-1!==o&&(O[o]=t),j({action:n,location:r})}}))},go:D,goBack:function(){D(-1)},goForward:function(){D(1)},block:function(e){void 0===e&&(e=!1);var t=T.setPrompt(e);return M||(B(1),M=!0),function(){return M&&(M=!1,B(-1)),t()}},listen:function(e){var t=T.appendListener(e);return B(1),function(){B(-1),t()}}};return z}function T(e,t,n){return Math.min(Math.max(e,t),n)}function j(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,a=t.initialEntries,o=void 0===a?["/"]:a,i=t.initialIndex,s=void 0===i?0:i,l=t.keyLength,c=void 0===l?6:l,u=m();function d(e){(0,r.Z)(w,e),w.length=w.entries.length,u.notifyListeners(w.location,w.action)}function h(){return Math.random().toString(36).substr(2,c)}var g=T(s,0,o.length-1),b=o.map((function(e){return f(e,void 0,"string"==typeof e?h():e.key||h())})),y=p;function v(e){var t=T(w.index+e,0,w.entries.length-1),r=w.entries[t];u.confirmTransitionTo(r,"POP",n,(function(e){e?d({action:"POP",location:r,index:t}):d()}))}var w={length:b.length,action:"POP",location:b[g],index:g,entries:b,createHref:y,push:function(e,t){var r="PUSH",a=f(e,t,h(),w.location);u.confirmTransitionTo(a,r,n,(function(e){if(e){var t=w.index+1,n=w.entries.slice(0);n.length>t?n.splice(t,n.length-t,a):n.push(a),d({action:r,location:a,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",a=f(e,t,h(),w.location);u.confirmTransitionTo(a,r,n,(function(e){e&&(w.entries[w.index]=a,d({action:r,location:a}))}))},go:v,goBack:function(){v(-1)},goForward:function(){v(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return w}},8679:(e,t,n)=>{"use strict";var r=n(9864),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?i:s[e.$$typeof]||a}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var a=f(n);a&&a!==m&&e(t,a,r)}var i=u(n);d&&(i=i.concat(d(n)));for(var s=l(t),h=l(n),g=0;g<i.length;++g){var b=i[g];if(!(o[b]||r&&r[b]||h&&h[b]||s&&s[b])){var y=p(n,b);try{c(t,b,y)}catch(v){}}}}return t}},1143:e=>{"use strict";e.exports=function(e,t,n,r,a,o,i,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,a,o,i,s],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},5826:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},2497:(e,t,n)=>{"use strict";n.r(t)},2295:(e,t,n)=>{"use strict";n.r(t)},4865:function(e,t,n){var r,a;r=function(){var e,t,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function a(e,t,n){return e<t?t:e>n?n:e}function o(e){return 100*(-1+e)}function i(e,t,n){var a;return(a="translate3d"===r.positionUsing?{transform:"translate3d("+o(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+o(e)+"%,0)"}:{"margin-left":o(e)+"%"}).transition="all "+t+"ms "+n,a}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=a(e,r.minimum,1),n.status=1===e?null:e;var o=n.render(!t),c=o.querySelector(r.barSelector),u=r.speed,d=r.easing;return o.offsetWidth,s((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),l(c,i(e,u,d)),1===e?(l(o,{transition:"none",opacity:1}),o.offsetWidth,setTimeout((function(){l(o,{transition:"all "+u+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),u)}),u)):setTimeout(t,u)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*a(Math.random()*t,.1,.95)),t=a(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var a,i=t.querySelector(r.barSelector),s=e?"-100":o(n.status||0),c=document.querySelector(r.parent);return l(i,{transition:"all 0 linear",transform:"translate3d("+s+"%,0,0)"}),r.showSpinner||(a=t.querySelector(r.spinnerSelector))&&f(a),c!=document.body&&u(c,"nprogress-custom-parent"),c.appendChild(t),t},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&f(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var s=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),l=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,a=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);a--;)if((r=e[a]+o)in n)return r;return t}function a(e){return e=n(e),t[e]||(t[e]=r(e))}function o(e,t,n){t=a(t),e.style[t]=n}return function(e,t){var n,r,a=arguments;if(2==a.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&o(e,n,r);else o(e,a[1],a[2])}}();function c(e,t){return("string"==typeof e?e:p(e)).indexOf(" "+t+" ")>=0}function u(e,t){var n=p(e),r=n+t;c(n,t)||(e.className=r.substring(1))}function d(e,t){var n,r=p(e);c(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function p(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function f(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n},void 0===(a="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=a)},9901:e=>{e.exports&&(e.exports={core:{meta:{path:"components/prism-core.js",option:"mandatory"},core:"Core"},themes:{meta:{path:"themes/{id}.css",link:"index.html?theme={id}",exclusive:!0},prism:{title:"Default",option:"default"},"prism-dark":"Dark","prism-funky":"Funky","prism-okaidia":{title:"Okaidia",owner:"ocodia"},"prism-twilight":{title:"Twilight",owner:"remybach"},"prism-coy":{title:"Coy",owner:"tshedor"},"prism-solarizedlight":{title:"Solarized Light",owner:"hectormatos2011 "},"prism-tomorrow":{title:"Tomorrow Night",owner:"Rosey"}},languages:{meta:{path:"components/prism-{id}",noCSS:!0,examplesPath:"examples/prism-{id}",addCheckAll:!0},markup:{title:"Markup",alias:["html","xml","svg","mathml","ssml","atom","rss"],aliasTitles:{html:"HTML",xml:"XML",svg:"SVG",mathml:"MathML",ssml:"SSML",atom:"Atom",rss:"RSS"},option:"default"},css:{title:"CSS",option:"default",modify:"markup"},clike:{title:"C-like",option:"default"},javascript:{title:"JavaScript",require:"clike",modify:"markup",optional:"regex",alias:"js",option:"default"},abap:{title:"ABAP",owner:"dellagustin"},abnf:{title:"ABNF",owner:"RunDevelopment"},actionscript:{title:"ActionScript",require:"javascript",modify:"markup",owner:"Golmote"},ada:{title:"Ada",owner:"Lucretia"},agda:{title:"Agda",owner:"xy-ren"},al:{title:"AL",owner:"RunDevelopment"},antlr4:{title:"ANTLR4",alias:"g4",owner:"RunDevelopment"},apacheconf:{title:"Apache Configuration",owner:"GuiTeK"},apex:{title:"Apex",require:["clike","sql"],owner:"RunDevelopment"},apl:{title:"APL",owner:"ngn"},applescript:{title:"AppleScript",owner:"Golmote"},aql:{title:"AQL",owner:"RunDevelopment"},arduino:{title:"Arduino",require:"cpp",alias:"ino",owner:"dkern"},arff:{title:"ARFF",owner:"Golmote"},armasm:{title:"ARM Assembly",alias:"arm-asm",owner:"RunDevelopment"},arturo:{title:"Arturo",alias:"art",optional:["bash","css","javascript","markup","markdown","sql"],owner:"drkameleon"},asciidoc:{alias:"adoc",title:"AsciiDoc",owner:"Golmote"},aspnet:{title:"ASP.NET (C#)",require:["markup","csharp"],owner:"nauzilus"},asm6502:{title:"6502 Assembly",owner:"kzurawel"},asmatmel:{title:"Atmel AVR Assembly",owner:"cerkit"},autohotkey:{title:"AutoHotkey",owner:"aviaryan"},autoit:{title:"AutoIt",owner:"Golmote"},avisynth:{title:"AviSynth",alias:"avs",owner:"Zinfidel"},"avro-idl":{title:"Avro IDL",alias:"avdl",owner:"RunDevelopment"},awk:{title:"AWK",alias:"gawk",aliasTitles:{gawk:"GAWK"},owner:"RunDevelopment"},bash:{title:"Bash",alias:["sh","shell"],aliasTitles:{sh:"Shell",shell:"Shell"},owner:"zeitgeist87"},basic:{title:"BASIC",owner:"Golmote"},batch:{title:"Batch",owner:"Golmote"},bbcode:{title:"BBcode",alias:"shortcode",aliasTitles:{shortcode:"Shortcode"},owner:"RunDevelopment"},bbj:{title:"BBj",owner:"hyyan"},bicep:{title:"Bicep",owner:"johnnyreilly"},birb:{title:"Birb",require:"clike",owner:"Calamity210"},bison:{title:"Bison",require:"c",owner:"Golmote"},bnf:{title:"BNF",alias:"rbnf",aliasTitles:{rbnf:"RBNF"},owner:"RunDevelopment"},bqn:{title:"BQN",owner:"yewscion"},brainfuck:{title:"Brainfuck",owner:"Golmote"},brightscript:{title:"BrightScript",owner:"RunDevelopment"},bro:{title:"Bro",owner:"wayward710"},bsl:{title:"BSL (1C:Enterprise)",alias:"oscript",aliasTitles:{oscript:"OneScript"},owner:"Diversus23"},c:{title:"C",require:"clike",owner:"zeitgeist87"},csharp:{title:"C#",require:"clike",alias:["cs","dotnet"],owner:"mvalipour"},cpp:{title:"C++",require:"c",owner:"zeitgeist87"},cfscript:{title:"CFScript",require:"clike",alias:"cfc",owner:"mjclemente"},chaiscript:{title:"ChaiScript",require:["clike","cpp"],owner:"RunDevelopment"},cil:{title:"CIL",owner:"sbrl"},cilkc:{title:"Cilk/C",require:"c",alias:"cilk-c",owner:"OpenCilk"},cilkcpp:{title:"Cilk/C++",require:"cpp",alias:["cilk-cpp","cilk"],owner:"OpenCilk"},clojure:{title:"Clojure",owner:"troglotit"},cmake:{title:"CMake",owner:"mjrogozinski"},cobol:{title:"COBOL",owner:"RunDevelopment"},coffeescript:{title:"CoffeeScript",require:"javascript",alias:"coffee",owner:"R-osey"},concurnas:{title:"Concurnas",alias:"conc",owner:"jasontatton"},csp:{title:"Content-Security-Policy",owner:"ScottHelme"},cooklang:{title:"Cooklang",owner:"ahue"},coq:{title:"Coq",owner:"RunDevelopment"},crystal:{title:"Crystal",require:"ruby",owner:"MakeNowJust"},"css-extras":{title:"CSS Extras",require:"css",modify:"css",owner:"milesj"},csv:{title:"CSV",owner:"RunDevelopment"},cue:{title:"CUE",owner:"RunDevelopment"},cypher:{title:"Cypher",owner:"RunDevelopment"},d:{title:"D",require:"clike",owner:"Golmote"},dart:{title:"Dart",require:"clike",owner:"Golmote"},dataweave:{title:"DataWeave",owner:"machaval"},dax:{title:"DAX",owner:"peterbud"},dhall:{title:"Dhall",owner:"RunDevelopment"},diff:{title:"Diff",owner:"uranusjr"},django:{title:"Django/Jinja2",require:"markup-templating",alias:"jinja2",owner:"romanvm"},"dns-zone-file":{title:"DNS zone file",owner:"RunDevelopment",alias:"dns-zone"},docker:{title:"Docker",alias:"dockerfile",owner:"JustinBeckwith"},dot:{title:"DOT (Graphviz)",alias:"gv",optional:"markup",owner:"RunDevelopment"},ebnf:{title:"EBNF",owner:"RunDevelopment"},editorconfig:{title:"EditorConfig",owner:"osipxd"},eiffel:{title:"Eiffel",owner:"Conaclos"},ejs:{title:"EJS",require:["javascript","markup-templating"],owner:"RunDevelopment",alias:"eta",aliasTitles:{eta:"Eta"}},elixir:{title:"Elixir",owner:"Golmote"},elm:{title:"Elm",owner:"zwilias"},etlua:{title:"Embedded Lua templating",require:["lua","markup-templating"],owner:"RunDevelopment"},erb:{title:"ERB",require:["ruby","markup-templating"],owner:"Golmote"},erlang:{title:"Erlang",owner:"Golmote"},"excel-formula":{title:"Excel Formula",alias:["xlsx","xls"],owner:"RunDevelopment"},fsharp:{title:"F#",require:"clike",owner:"simonreynolds7"},factor:{title:"Factor",owner:"catb0t"},false:{title:"False",owner:"edukisto"},"firestore-security-rules":{title:"Firestore security rules",require:"clike",owner:"RunDevelopment"},flow:{title:"Flow",require:"javascript",owner:"Golmote"},fortran:{title:"Fortran",owner:"Golmote"},ftl:{title:"FreeMarker Template Language",require:"markup-templating",owner:"RunDevelopment"},gml:{title:"GameMaker Language",alias:"gamemakerlanguage",require:"clike",owner:"LiarOnce"},gap:{title:"GAP (CAS)",owner:"RunDevelopment"},gcode:{title:"G-code",owner:"RunDevelopment"},gdscript:{title:"GDScript",owner:"RunDevelopment"},gedcom:{title:"GEDCOM",owner:"Golmote"},gettext:{title:"gettext",alias:"po",owner:"RunDevelopment"},gherkin:{title:"Gherkin",owner:"hason"},git:{title:"Git",owner:"lgiraudel"},glsl:{title:"GLSL",require:"c",owner:"Golmote"},gn:{title:"GN",alias:"gni",owner:"RunDevelopment"},"linker-script":{title:"GNU Linker Script",alias:"ld",owner:"RunDevelopment"},go:{title:"Go",require:"clike",owner:"arnehormann"},"go-module":{title:"Go module",alias:"go-mod",owner:"RunDevelopment"},gradle:{title:"Gradle",require:"clike",owner:"zeabdelkhalek-badido18"},graphql:{title:"GraphQL",optional:"markdown",owner:"Golmote"},groovy:{title:"Groovy",require:"clike",owner:"robfletcher"},haml:{title:"Haml",require:"ruby",optional:["css","css-extras","coffeescript","erb","javascript","less","markdown","scss","textile"],owner:"Golmote"},handlebars:{title:"Handlebars",require:"markup-templating",alias:["hbs","mustache"],aliasTitles:{mustache:"Mustache"},owner:"Golmote"},haskell:{title:"Haskell",alias:"hs",owner:"bholst"},haxe:{title:"Haxe",require:"clike",optional:"regex",owner:"Golmote"},hcl:{title:"HCL",owner:"outsideris"},hlsl:{title:"HLSL",require:"c",owner:"RunDevelopment"},hoon:{title:"Hoon",owner:"matildepark"},http:{title:"HTTP",optional:["csp","css","hpkp","hsts","javascript","json","markup","uri"],owner:"danielgtaylor"},hpkp:{title:"HTTP Public-Key-Pins",owner:"ScottHelme"},hsts:{title:"HTTP Strict-Transport-Security",owner:"ScottHelme"},ichigojam:{title:"IchigoJam",owner:"BlueCocoa"},icon:{title:"Icon",owner:"Golmote"},"icu-message-format":{title:"ICU Message Format",owner:"RunDevelopment"},idris:{title:"Idris",alias:"idr",owner:"KeenS",require:"haskell"},ignore:{title:".ignore",owner:"osipxd",alias:["gitignore","hgignore","npmignore"],aliasTitles:{gitignore:".gitignore",hgignore:".hgignore",npmignore:".npmignore"}},inform7:{title:"Inform 7",owner:"Golmote"},ini:{title:"Ini",owner:"aviaryan"},io:{title:"Io",owner:"AlesTsurko"},j:{title:"J",owner:"Golmote"},java:{title:"Java",require:"clike",owner:"sherblot"},javadoc:{title:"JavaDoc",require:["markup","java","javadoclike"],modify:"java",optional:"scala",owner:"RunDevelopment"},javadoclike:{title:"JavaDoc-like",modify:["java","javascript","php"],owner:"RunDevelopment"},javastacktrace:{title:"Java stack trace",owner:"RunDevelopment"},jexl:{title:"Jexl",owner:"czosel"},jolie:{title:"Jolie",require:"clike",owner:"thesave"},jq:{title:"JQ",owner:"RunDevelopment"},jsdoc:{title:"JSDoc",require:["javascript","javadoclike","typescript"],modify:"javascript",optional:["actionscript","coffeescript"],owner:"RunDevelopment"},"js-extras":{title:"JS Extras",require:"javascript",modify:"javascript",optional:["actionscript","coffeescript","flow","n4js","typescript"],owner:"RunDevelopment"},json:{title:"JSON",alias:"webmanifest",aliasTitles:{webmanifest:"Web App Manifest"},owner:"CupOfTea696"},json5:{title:"JSON5",require:"json",owner:"RunDevelopment"},jsonp:{title:"JSONP",require:"json",owner:"RunDevelopment"},jsstacktrace:{title:"JS stack trace",owner:"sbrl"},"js-templates":{title:"JS Templates",require:"javascript",modify:"javascript",optional:["css","css-extras","graphql","markdown","markup","sql"],owner:"RunDevelopment"},julia:{title:"Julia",owner:"cdagnino"},keepalived:{title:"Keepalived Configure",owner:"dev-itsheng"},keyman:{title:"Keyman",owner:"mcdurdin"},kotlin:{title:"Kotlin",alias:["kt","kts"],aliasTitles:{kts:"Kotlin Script"},require:"clike",owner:"Golmote"},kumir:{title:"KuMir (\u041a\u0443\u041c\u0438\u0440)",alias:"kum",owner:"edukisto"},kusto:{title:"Kusto",owner:"RunDevelopment"},latex:{title:"LaTeX",alias:["tex","context"],aliasTitles:{tex:"TeX",context:"ConTeXt"},owner:"japborst"},latte:{title:"Latte",require:["clike","markup-templating","php"],owner:"nette"},less:{title:"Less",require:"css",optional:"css-extras",owner:"Golmote"},lilypond:{title:"LilyPond",require:"scheme",alias:"ly",owner:"RunDevelopment"},liquid:{title:"Liquid",require:"markup-templating",owner:"cinhtau"},lisp:{title:"Lisp",alias:["emacs","elisp","emacs-lisp"],owner:"JuanCaicedo"},livescript:{title:"LiveScript",owner:"Golmote"},llvm:{title:"LLVM IR",owner:"porglezomp"},log:{title:"Log file",optional:"javastacktrace",owner:"RunDevelopment"},lolcode:{title:"LOLCODE",owner:"Golmote"},lua:{title:"Lua",owner:"Golmote"},magma:{title:"Magma (CAS)",owner:"RunDevelopment"},makefile:{title:"Makefile",owner:"Golmote"},markdown:{title:"Markdown",require:"markup",optional:"yaml",alias:"md",owner:"Golmote"},"markup-templating":{title:"Markup templating",require:"markup",owner:"Golmote"},mata:{title:"Mata",owner:"RunDevelopment"},matlab:{title:"MATLAB",owner:"Golmote"},maxscript:{title:"MAXScript",owner:"RunDevelopment"},mel:{title:"MEL",owner:"Golmote"},mermaid:{title:"Mermaid",owner:"RunDevelopment"},metafont:{title:"METAFONT",owner:"LaeriExNihilo"},mizar:{title:"Mizar",owner:"Golmote"},mongodb:{title:"MongoDB",owner:"airs0urce",require:"javascript"},monkey:{title:"Monkey",owner:"Golmote"},moonscript:{title:"MoonScript",alias:"moon",owner:"RunDevelopment"},n1ql:{title:"N1QL",owner:"TMWilds"},n4js:{title:"N4JS",require:"javascript",optional:"jsdoc",alias:"n4jsd",owner:"bsmith-n4"},"nand2tetris-hdl":{title:"Nand To Tetris HDL",owner:"stephanmax"},naniscript:{title:"Naninovel Script",owner:"Elringus",alias:"nani"},nasm:{title:"NASM",owner:"rbmj"},neon:{title:"NEON",owner:"nette"},nevod:{title:"Nevod",owner:"nezaboodka"},nginx:{title:"nginx",owner:"volado"},nim:{title:"Nim",owner:"Golmote"},nix:{title:"Nix",owner:"Golmote"},nsis:{title:"NSIS",owner:"idleberg"},objectivec:{title:"Objective-C",require:"c",alias:"objc",owner:"uranusjr"},ocaml:{title:"OCaml",owner:"Golmote"},odin:{title:"Odin",owner:"edukisto"},opencl:{title:"OpenCL",require:"c",modify:["c","cpp"],owner:"Milania1"},openqasm:{title:"OpenQasm",alias:"qasm",owner:"RunDevelopment"},oz:{title:"Oz",owner:"Golmote"},parigp:{title:"PARI/GP",owner:"Golmote"},parser:{title:"Parser",require:"markup",owner:"Golmote"},pascal:{title:"Pascal",alias:"objectpascal",aliasTitles:{objectpascal:"Object Pascal"},owner:"Golmote"},pascaligo:{title:"Pascaligo",owner:"DefinitelyNotAGoat"},psl:{title:"PATROL Scripting Language",owner:"bertysentry"},pcaxis:{title:"PC-Axis",alias:"px",owner:"RunDevelopment"},peoplecode:{title:"PeopleCode",alias:"pcode",owner:"RunDevelopment"},perl:{title:"Perl",owner:"Golmote"},php:{title:"PHP",require:"markup-templating",owner:"milesj"},phpdoc:{title:"PHPDoc",require:["php","javadoclike"],modify:"php",owner:"RunDevelopment"},"php-extras":{title:"PHP Extras",require:"php",modify:"php",owner:"milesj"},"plant-uml":{title:"PlantUML",alias:"plantuml",owner:"RunDevelopment"},plsql:{title:"PL/SQL",require:"sql",owner:"Golmote"},powerquery:{title:"PowerQuery",alias:["pq","mscript"],owner:"peterbud"},powershell:{title:"PowerShell",owner:"nauzilus"},processing:{title:"Processing",require:"clike",owner:"Golmote"},prolog:{title:"Prolog",owner:"Golmote"},promql:{title:"PromQL",owner:"arendjr"},properties:{title:".properties",owner:"Golmote"},protobuf:{title:"Protocol Buffers",require:"clike",owner:"just-boris"},pug:{title:"Pug",require:["markup","javascript"],optional:["coffeescript","ejs","handlebars","less","livescript","markdown","scss","stylus","twig"],owner:"Golmote"},puppet:{title:"Puppet",owner:"Golmote"},pure:{title:"Pure",optional:["c","cpp","fortran"],owner:"Golmote"},purebasic:{title:"PureBasic",require:"clike",alias:"pbfasm",owner:"HeX0R101"},purescript:{title:"PureScript",require:"haskell",alias:"purs",owner:"sriharshachilakapati"},python:{title:"Python",alias:"py",owner:"multipetros"},qsharp:{title:"Q#",require:"clike",alias:"qs",owner:"fedonman"},q:{title:"Q (kdb+ database)",owner:"Golmote"},qml:{title:"QML",require:"javascript",owner:"RunDevelopment"},qore:{title:"Qore",require:"clike",owner:"temnroegg"},r:{title:"R",owner:"Golmote"},racket:{title:"Racket",require:"scheme",alias:"rkt",owner:"RunDevelopment"},cshtml:{title:"Razor C#",alias:"razor",require:["markup","csharp"],optional:["css","css-extras","javascript","js-extras"],owner:"RunDevelopment"},jsx:{title:"React JSX",require:["markup","javascript"],optional:["jsdoc","js-extras","js-templates"],owner:"vkbansal"},tsx:{title:"React TSX",require:["jsx","typescript"]},reason:{title:"Reason",require:"clike",owner:"Golmote"},regex:{title:"Regex",owner:"RunDevelopment"},rego:{title:"Rego",owner:"JordanSh"},renpy:{title:"Ren'py",alias:"rpy",owner:"HyuchiaDiego"},rescript:{title:"ReScript",alias:"res",owner:"vmarcosp"},rest:{title:"reST (reStructuredText)",owner:"Golmote"},rip:{title:"Rip",owner:"ravinggenius"},roboconf:{title:"Roboconf",owner:"Golmote"},robotframework:{title:"Robot Framework",alias:"robot",owner:"RunDevelopment"},ruby:{title:"Ruby",require:"clike",alias:"rb",owner:"samflores"},rust:{title:"Rust",owner:"Golmote"},sas:{title:"SAS",optional:["groovy","lua","sql"],owner:"Golmote"},sass:{title:"Sass (Sass)",require:"css",optional:"css-extras",owner:"Golmote"},scss:{title:"Sass (SCSS)",require:"css",optional:"css-extras",owner:"MoOx"},scala:{title:"Scala",require:"java",owner:"jozic"},scheme:{title:"Scheme",owner:"bacchus123"},"shell-session":{title:"Shell session",require:"bash",alias:["sh-session","shellsession"],owner:"RunDevelopment"},smali:{title:"Smali",owner:"RunDevelopment"},smalltalk:{title:"Smalltalk",owner:"Golmote"},smarty:{title:"Smarty",require:"markup-templating",optional:"php",owner:"Golmote"},sml:{title:"SML",alias:"smlnj",aliasTitles:{smlnj:"SML/NJ"},owner:"RunDevelopment"},solidity:{title:"Solidity (Ethereum)",alias:"sol",require:"clike",owner:"glachaud"},"solution-file":{title:"Solution file",alias:"sln",owner:"RunDevelopment"},soy:{title:"Soy (Closure Template)",require:"markup-templating",owner:"Golmote"},sparql:{title:"SPARQL",require:"turtle",owner:"Triply-Dev",alias:"rq"},"splunk-spl":{title:"Splunk SPL",owner:"RunDevelopment"},sqf:{title:"SQF: Status Quo Function (Arma 3)",require:"clike",owner:"RunDevelopment"},sql:{title:"SQL",owner:"multipetros"},squirrel:{title:"Squirrel",require:"clike",owner:"RunDevelopment"},stan:{title:"Stan",owner:"RunDevelopment"},stata:{title:"Stata Ado",require:["mata","java","python"],owner:"RunDevelopment"},iecst:{title:"Structured Text (IEC 61131-3)",owner:"serhioromano"},stylus:{title:"Stylus",owner:"vkbansal"},supercollider:{title:"SuperCollider",alias:"sclang",owner:"RunDevelopment"},swift:{title:"Swift",owner:"chrischares"},systemd:{title:"Systemd configuration file",owner:"RunDevelopment"},"t4-templating":{title:"T4 templating",owner:"RunDevelopment"},"t4-cs":{title:"T4 Text Templates (C#)",require:["t4-templating","csharp"],alias:"t4",owner:"RunDevelopment"},"t4-vb":{title:"T4 Text Templates (VB)",require:["t4-templating","vbnet"],owner:"RunDevelopment"},tap:{title:"TAP",owner:"isaacs",require:"yaml"},tcl:{title:"Tcl",owner:"PeterChaplin"},tt2:{title:"Template Toolkit 2",require:["clike","markup-templating"],owner:"gflohr"},textile:{title:"Textile",require:"markup",optional:"css",owner:"Golmote"},toml:{title:"TOML",owner:"RunDevelopment"},tremor:{title:"Tremor",alias:["trickle","troy"],owner:"darach",aliasTitles:{trickle:"trickle",troy:"troy"}},turtle:{title:"Turtle",alias:"trig",aliasTitles:{trig:"TriG"},owner:"jakubklimek"},twig:{title:"Twig",require:"markup-templating",owner:"brandonkelly"},typescript:{title:"TypeScript",require:"javascript",optional:"js-templates",alias:"ts",owner:"vkbansal"},typoscript:{title:"TypoScript",alias:"tsconfig",aliasTitles:{tsconfig:"TSConfig"},owner:"dkern"},unrealscript:{title:"UnrealScript",alias:["uscript","uc"],owner:"RunDevelopment"},uorazor:{title:"UO Razor Script",owner:"jaseowns"},uri:{title:"URI",alias:"url",aliasTitles:{url:"URL"},owner:"RunDevelopment"},v:{title:"V",require:"clike",owner:"taggon"},vala:{title:"Vala",require:"clike",optional:"regex",owner:"TemplarVolk"},vbnet:{title:"VB.Net",require:"basic",owner:"Bigsby"},velocity:{title:"Velocity",require:"markup",owner:"Golmote"},verilog:{title:"Verilog",owner:"a-rey"},vhdl:{title:"VHDL",owner:"a-rey"},vim:{title:"vim",owner:"westonganger"},"visual-basic":{title:"Visual Basic",alias:["vb","vba"],aliasTitles:{vba:"VBA"},owner:"Golmote"},warpscript:{title:"WarpScript",owner:"RunDevelopment"},wasm:{title:"WebAssembly",owner:"Golmote"},"web-idl":{title:"Web IDL",alias:"webidl",owner:"RunDevelopment"},wgsl:{title:"WGSL",owner:"Dr4gonthree"},wiki:{title:"Wiki markup",require:"markup",owner:"Golmote"},wolfram:{title:"Wolfram language",alias:["mathematica","nb","wl"],aliasTitles:{mathematica:"Mathematica",nb:"Mathematica Notebook"},owner:"msollami"},wren:{title:"Wren",owner:"clsource"},xeora:{title:"Xeora",require:"markup",alias:"xeoracube",aliasTitles:{xeoracube:"XeoraCube"},owner:"freakmaxi"},"xml-doc":{title:"XML doc (.net)",require:"markup",modify:["csharp","fsharp","vbnet"],owner:"RunDevelopment"},xojo:{title:"Xojo (REALbasic)",owner:"Golmote"},xquery:{title:"XQuery",require:"markup",owner:"Golmote"},yaml:{title:"YAML",alias:"yml",owner:"hason"},yang:{title:"YANG",owner:"RunDevelopment"},zig:{title:"Zig",owner:"RunDevelopment"}},plugins:{meta:{path:"plugins/{id}/prism-{id}",link:"plugins/{id}/"},"line-highlight":{title:"Line Highlight",description:"Highlights specific lines and/or line ranges."},"line-numbers":{title:"Line Numbers",description:"Line number at the beginning of code lines.",owner:"kuba-kubula"},"show-invisibles":{title:"Show Invisibles",description:"Show hidden characters such as tabs and line breaks.",optional:["autolinker","data-uri-highlight"]},autolinker:{title:"Autolinker",description:"Converts URLs and emails in code to clickable links. Parses Markdown links in comments."},wpd:{title:"WebPlatform Docs",description:'Makes tokens link to <a href="https://webplatform.github.io/docs/">WebPlatform.org documentation</a>. The links open in a new tab.'},"custom-class":{title:"Custom Class",description:"This plugin allows you to prefix Prism's default classes (<code>.comment</code> can become <code>.namespace--comment</code>) or replace them with your defined ones (like <code>.editor__comment</code>). You can even add new classes.",owner:"dvkndn",noCSS:!0},"file-highlight":{title:"File Highlight",description:"Fetch external files and highlight them with Prism. Used on the Prism website itself.",noCSS:!0},"show-language":{title:"Show Language",description:"Display the highlighted language in code blocks (inline code does not show the label).",owner:"nauzilus",noCSS:!0,require:"toolbar"},"jsonp-highlight":{title:"JSONP Highlight",description:"Fetch content with JSONP and highlight some interesting content (e.g. GitHub/Gists or Bitbucket API).",noCSS:!0,owner:"nauzilus"},"highlight-keywords":{title:"Highlight Keywords",description:"Adds special CSS classes for each keyword for fine-grained highlighting.",owner:"vkbansal",noCSS:!0},"remove-initial-line-feed":{title:"Remove initial line feed",description:"Removes the initial line feed in code blocks.",owner:"Golmote",noCSS:!0},"inline-color":{title:"Inline color",description:"Adds a small inline preview for colors in style sheets.",require:"css-extras",owner:"RunDevelopment"},previewers:{title:"Previewers",description:"Previewers for angles, colors, gradients, easing and time.",require:"css-extras",owner:"Golmote"},autoloader:{title:"Autoloader",description:"Automatically loads the needed languages to highlight the code blocks.",owner:"Golmote",noCSS:!0},"keep-markup":{title:"Keep Markup",description:"Prevents custom markup from being dropped out during highlighting.",owner:"Golmote",optional:"normalize-whitespace",noCSS:!0},"command-line":{title:"Command Line",description:"Display a command line with a prompt and, optionally, the output/response from the commands.",owner:"chriswells0"},"unescaped-markup":{title:"Unescaped Markup",description:"Write markup without having to escape anything."},"normalize-whitespace":{title:"Normalize Whitespace",description:"Supports multiple operations to normalize whitespace in code blocks.",owner:"zeitgeist87",optional:"unescaped-markup",noCSS:!0},"data-uri-highlight":{title:"Data-URI Highlight",description:"Highlights data-URI contents.",owner:"Golmote",noCSS:!0},toolbar:{title:"Toolbar",description:"Attach a toolbar for plugins to easily register buttons on the top of a code block.",owner:"mAAdhaTTah"},"copy-to-clipboard":{title:"Copy to Clipboard Button",description:"Add a button that copies the code block to the clipboard when clicked.",owner:"mAAdhaTTah",require:"toolbar",noCSS:!0},"download-button":{title:"Download Button",description:"A button in the toolbar of a code block adding a convenient way to download a code file.",owner:"Golmote",require:"toolbar",noCSS:!0},"match-braces":{title:"Match braces",description:"Highlights matching braces.",owner:"RunDevelopment"},"diff-highlight":{title:"Diff Highlight",description:"Highlights the code inside diff blocks.",owner:"RunDevelopment",require:"diff"},"filter-highlight-all":{title:"Filter highlightAll",description:"Filters the elements the <code>highlightAll</code> and <code>highlightAllUnder</code> methods actually highlight.",owner:"RunDevelopment",noCSS:!0},treeview:{title:"Treeview",description:"A language with special styles to highlight file system tree structures.",owner:"Golmote"}}})},2885:(e,t,n)=>{const r=n(9901),a=n(9642),o=new Set;function i(e){void 0===e?e=Object.keys(r.languages).filter((e=>"meta"!=e)):Array.isArray(e)||(e=[e]);const t=[...o,...Object.keys(Prism.languages)];a(r,e,t).load((e=>{if(!(e in r.languages))return void(i.silent||console.warn("Language does not exist: "+e));const t="./prism-"+e;delete n.c[n(6500).resolve(t)],delete Prism.languages[e],n(6500)(t),o.add(e)}))}i.silent=!1,e.exports=i},6854:()=>{!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,o){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(a,(function(e){if("function"==typeof o&&!o(e))return e;for(var a,s=i.length;-1!==n.code.indexOf(a=t(r,s));)++s;return i[s]=e,a})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,o=Object.keys(n.tokenStack);!function i(s){for(var l=0;l<s.length&&!(a>=o.length);l++){var c=s[l];if("string"==typeof c||c.content&&"string"==typeof c.content){var u=o[a],d=n.tokenStack[u],p="string"==typeof c?c:c.content,f=t(r,u),m=p.indexOf(f);if(m>-1){++a;var h=p.substring(0,m),g=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),b=p.substring(m+f.length),y=[];h&&y.push.apply(y,i([h])),y.push(g),b&&y.push.apply(y,i([b])),"string"==typeof c?s.splice.apply(s,[l,1].concat(y)):c.content=y}}else c.content&&i(c.content)}return s}(n.tokens)}}}})}(Prism)},6726:(e,t,n)=>{var r={"./":2885};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=6726},6500:(e,t,n)=>{var r={"./":2885};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=6500},9642:e=>{"use strict";var t=function(){var e=function(){};function t(e,t){Array.isArray(e)?e.forEach(t):null!=e&&t(e,0)}function n(e){for(var t={},n=0,r=e.length;n<r;n++)t[e[n]]=!0;return t}function r(e){var n={},r=[];function a(r,o){if(!(r in n)){o.push(r);var i=o.indexOf(r);if(i<o.length-1)throw new Error("Circular dependency: "+o.slice(i).join(" -> "));var s={},l=e[r];if(l){function c(t){if(!(t in e))throw new Error(r+" depends on an unknown component "+t);if(!(t in s))for(var i in a(t,o),s[t]=!0,n[t])s[i]=!0}t(l.require,c),t(l.optional,c),t(l.modify,c)}n[r]=s,o.pop()}}return function(e){var t=n[e];return t||(a(e,r),t=n[e]),t}}function a(e){for(var t in e)return!0;return!1}return function(o,i,s){var l=function(e){var t={};for(var n in e){var r=e[n];for(var a in r)if("meta"!=a){var o=r[a];t[a]="string"==typeof o?{title:o}:o}}return t}(o),c=function(e){var n;return function(r){if(r in e)return r;if(!n)for(var a in n={},e){var o=e[a];t(o&&o.alias,(function(t){if(t in n)throw new Error(t+" cannot be alias for both "+a+" and "+n[t]);if(t in e)throw new Error(t+" cannot be alias of "+a+" because it is a component.");n[t]=a}))}return n[r]||r}}(l);i=i.map(c),s=(s||[]).map(c);var u=n(i),d=n(s);i.forEach((function e(n){var r=l[n];t(r&&r.require,(function(t){t in d||(u[t]=!0,e(t))}))}));for(var p,f=r(l),m=u;a(m);){for(var h in p={},m){var g=l[h];t(g&&g.modify,(function(e){e in d&&(p[e]=!0)}))}for(var b in d)if(!(b in u))for(var y in f(b))if(y in u){p[b]=!0;break}for(var v in m=p)u[v]=!0}var w={getIds:function(){var e=[];return w.load((function(t){e.push(t)})),e},load:function(t,n){return function(t,n,r,a){var o=a?a.series:void 0,i=a?a.parallel:e,s={},l={};function c(e){if(e in s)return s[e];l[e]=!0;var a,u=[];for(var d in t(e))d in n&&u.push(d);if(0===u.length)a=r(e);else{var p=i(u.map((function(e){var t=c(e);return delete l[e],t})));o?a=o(p,(function(){return r(e)})):r(e)}return s[e]=a}for(var u in n)c(u);var d=[];for(var p in l)d.push(s[p]);return i(d)}(f,u,t,n)}};return w}}();e.exports=t},2703:(e,t,n)=>{"use strict";var r=n(414);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},5697:(e,t,n)=>{e.exports=n(2703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4448:(e,t,n)=>{"use strict";var r=n(7294),a=n(3840);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,s={};function l(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(s[e]=t,e=0;e<t.length;e++)i.add(t[e])}var u=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),d=Object.prototype.hasOwnProperty,p=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,f={},m={};function h(e,t,n,r,a,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){g[e]=new h(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];g[t]=new h(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){g[e]=new h(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){g[e]=new h(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){g[e]=new h(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){g[e]=new h(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){g[e]=new h(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){g[e]=new h(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){g[e]=new h(e,5,!1,e.toLowerCase(),null,!1,!1)}));var b=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function v(e,t,n,r){var a=g.hasOwnProperty(t)?g[t]:null;(null!==a?0!==a.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,a,r)&&(n=null),r||null===a?function(e){return!!d.call(m,e)||!d.call(f,e)&&(p.test(e)?m[e]=!0:(f[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):a.mustUseProperty?e[a.propertyName]=null===n?3!==a.type&&"":n:(t=a.attributeName,r=a.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(a=a.type)||4===a&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(b,y);g[t]=new h(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(b,y);g[t]=new h(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(b,y);g[t]=new h(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new h(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new h("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new h(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,k=Symbol.for("react.element"),x=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),T=Symbol.for("react.context"),j=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),A=Symbol.for("react.suspense_list"),R=Symbol.for("react.memo"),N=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var L=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var I=Symbol.iterator;function O(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=I&&e[I]||e["@@iterator"])?e:null}var D,F=Object.assign;function B(e){if(void 0===D)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);D=t&&t[1]||""}return"\n"+D+e}var M=!1;function z(e,t){if(!e||M)return"";M=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&"string"==typeof c.stack){for(var a=c.stack.split("\n"),o=r.stack.split("\n"),i=a.length-1,s=o.length-1;1<=i&&0<=s&&a[i]!==o[s];)s--;for(;1<=i&&0<=s;i--,s--)if(a[i]!==o[s]){if(1!==i||1!==s)do{if(i--,0>--s||a[i]!==o[s]){var l="\n"+a[i].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=i&&0<=s);break}}}finally{M=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?B(e):""}function U(e){switch(e.tag){case 5:return B(e.type);case 16:return B("Lazy");case 13:return B("Suspense");case 19:return B("SuspenseList");case 0:case 2:case 15:return e=z(e.type,!1);case 11:return e=z(e.type.render,!1);case 1:return e=z(e.type,!0);default:return""}}function $(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case S:return"Fragment";case x:return"Portal";case C:return"Profiler";case E:return"StrictMode";case P:return"Suspense";case A:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case T:return(e.displayName||"Context")+".Consumer";case _:return(e._context.displayName||"Context")+".Provider";case j:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case R:return null!==(t=e.displayName||null)?t:$(e.type)||"Memo";case N:t=e._payload,e=e._init;try{return $(e(t))}catch(n){}}return null}function q(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return $(t);case 8:return t===E?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function H(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function Z(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function G(e){e._valueTracker||(e._valueTracker=function(e){var t=Z(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var a=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function V(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Z(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function W(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Q(e,t){var n=t.checked;return F({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function J(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=H(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Y(e,t){null!=(t=t.checked)&&v(e,"checked",t,!1)}function K(e,t){Y(e,t);var n=H(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,H(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function X(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&W(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(n=""+H(n),t=null,a=0;a<e.length;a++){if(e[a].value===n)return e[a].selected=!0,void(r&&(e[a].defaultSelected=!0));null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(o(91));return F({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ae(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(o(92));if(te(n)){if(1<n.length)throw Error(o(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:H(n)}}function oe(e,t){var n=H(t.value),r=H(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ie(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,ue,de=(ue=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ue(e,t)}))}:ue);function pe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var fe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},me=["Webkit","ms","Moz","O"];function he(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||fe.hasOwnProperty(e)&&fe[e]?(""+t).trim():t+"px"}function ge(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=he(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(fe).forEach((function(e){me.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),fe[t]=fe[e]}))}));var be=F({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ye(e,t){if(t){if(be[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(o(62))}}function ve(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var we=null;function ke(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var xe=null,Se=null,Ee=null;function Ce(e){if(e=va(e)){if("function"!=typeof xe)throw Error(o(280));var t=e.stateNode;t&&(t=ka(t),xe(e.stateNode,e.type,t))}}function _e(e){Se?Ee?Ee.push(e):Ee=[e]:Se=e}function Te(){if(Se){var e=Se,t=Ee;if(Ee=Se=null,Ce(e),t)for(e=0;e<t.length;e++)Ce(t[e])}}function je(e,t){return e(t)}function Pe(){}var Ae=!1;function Re(e,t,n){if(Ae)return e(t,n);Ae=!0;try{return je(e,t,n)}finally{Ae=!1,(null!==Se||null!==Ee)&&(Pe(),Te())}}function Ne(e,t){var n=e.stateNode;if(null===n)return null;var r=ka(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(o(231,t,typeof n));return n}var Le=!1;if(u)try{var Ie={};Object.defineProperty(Ie,"passive",{get:function(){Le=!0}}),window.addEventListener("test",Ie,Ie),window.removeEventListener("test",Ie,Ie)}catch(ue){Le=!1}function Oe(e,t,n,r,a,o,i,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(u){this.onError(u)}}var De=!1,Fe=null,Be=!1,Me=null,ze={onError:function(e){De=!0,Fe=e}};function Ue(e,t,n,r,a,o,i,s,l){De=!1,Fe=null,Oe.apply(ze,arguments)}function $e(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function qe(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function He(e){if($e(e)!==e)throw Error(o(188))}function Ze(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=$e(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var i=a.alternate;if(null===i){if(null!==(r=a.return)){n=r;continue}break}if(a.child===i.child){for(i=a.child;i;){if(i===n)return He(a),e;if(i===r)return He(a),t;i=i.sibling}throw Error(o(188))}if(n.return!==r.return)n=a,r=i;else{for(var s=!1,l=a.child;l;){if(l===n){s=!0,n=a,r=i;break}if(l===r){s=!0,r=a,n=i;break}l=l.sibling}if(!s){for(l=i.child;l;){if(l===n){s=!0,n=i,r=a;break}if(l===r){s=!0,r=i,n=a;break}l=l.sibling}if(!s)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?e:t}(e))?Ge(e):null}function Ge(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ge(e);if(null!==t)return t;e=e.sibling}return null}var Ve=a.unstable_scheduleCallback,We=a.unstable_cancelCallback,Qe=a.unstable_shouldYield,Je=a.unstable_requestPaint,Ye=a.unstable_now,Ke=a.unstable_getCurrentPriorityLevel,Xe=a.unstable_ImmediatePriority,et=a.unstable_UserBlockingPriority,tt=a.unstable_NormalPriority,nt=a.unstable_LowPriority,rt=a.unstable_IdlePriority,at=null,ot=null;var it=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(st(e)/lt|0)|0},st=Math.log,lt=Math.LN2;var ct=64,ut=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function pt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,a=e.suspendedLanes,o=e.pingedLanes,i=268435455&n;if(0!==i){var s=i&~a;0!==s?r=dt(s):0!==(o&=i)&&(r=dt(o))}else 0!==(i=n&~a)?r=dt(i):0!==o&&(r=dt(o));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&a)&&((a=r&-r)>=(o=t&-t)||16===a&&0!=(4194240&o)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)a=1<<(n=31-it(t)),r|=e[n],t&=~a;return r}function ft(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function mt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function ht(){var e=ct;return 0==(4194240&(ct<<=1))&&(ct=64),e}function gt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function bt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-it(t)]=n}function yt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-it(n),a=1<<r;a&t|e[r]&t&&(e[r]|=t),n&=~a}}var vt=0;function wt(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var kt,xt,St,Et,Ct,_t=!1,Tt=[],jt=null,Pt=null,At=null,Rt=new Map,Nt=new Map,Lt=[],It="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Ot(e,t){switch(e){case"focusin":case"focusout":jt=null;break;case"dragenter":case"dragleave":Pt=null;break;case"mouseover":case"mouseout":At=null;break;case"pointerover":case"pointerout":Rt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Nt.delete(t.pointerId)}}function Dt(e,t,n,r,a,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[a]},null!==t&&(null!==(t=va(t))&&xt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a),e)}function Ft(e){var t=ya(e.target);if(null!==t){var n=$e(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=qe(n)))return e.blockedOn=t,void Ct(e.priority,(function(){St(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Bt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Qt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=va(n))&&xt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);we=r,n.target.dispatchEvent(r),we=null,t.shift()}return!0}function Mt(e,t,n){Bt(e)&&n.delete(t)}function zt(){_t=!1,null!==jt&&Bt(jt)&&(jt=null),null!==Pt&&Bt(Pt)&&(Pt=null),null!==At&&Bt(At)&&(At=null),Rt.forEach(Mt),Nt.forEach(Mt)}function Ut(e,t){e.blockedOn===t&&(e.blockedOn=null,_t||(_t=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,zt)))}function $t(e){function t(t){return Ut(t,e)}if(0<Tt.length){Ut(Tt[0],e);for(var n=1;n<Tt.length;n++){var r=Tt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==jt&&Ut(jt,e),null!==Pt&&Ut(Pt,e),null!==At&&Ut(At,e),Rt.forEach(t),Nt.forEach(t),n=0;n<Lt.length;n++)(r=Lt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Lt.length&&null===(n=Lt[0]).blockedOn;)Ft(n),null===n.blockedOn&&Lt.shift()}var qt=w.ReactCurrentBatchConfig,Ht=!0;function Zt(e,t,n,r){var a=vt,o=qt.transition;qt.transition=null;try{vt=1,Vt(e,t,n,r)}finally{vt=a,qt.transition=o}}function Gt(e,t,n,r){var a=vt,o=qt.transition;qt.transition=null;try{vt=4,Vt(e,t,n,r)}finally{vt=a,qt.transition=o}}function Vt(e,t,n,r){if(Ht){var a=Qt(e,t,n,r);if(null===a)Hr(e,t,r,Wt,n),Ot(e,r);else if(function(e,t,n,r,a){switch(t){case"focusin":return jt=Dt(jt,e,t,n,r,a),!0;case"dragenter":return Pt=Dt(Pt,e,t,n,r,a),!0;case"mouseover":return At=Dt(At,e,t,n,r,a),!0;case"pointerover":var o=a.pointerId;return Rt.set(o,Dt(Rt.get(o)||null,e,t,n,r,a)),!0;case"gotpointercapture":return o=a.pointerId,Nt.set(o,Dt(Nt.get(o)||null,e,t,n,r,a)),!0}return!1}(a,e,t,n,r))r.stopPropagation();else if(Ot(e,r),4&t&&-1<It.indexOf(e)){for(;null!==a;){var o=va(a);if(null!==o&&kt(o),null===(o=Qt(e,t,n,r))&&Hr(e,t,r,Wt,n),o===a)break;a=o}null!==a&&r.stopPropagation()}else Hr(e,t,r,null,n)}}var Wt=null;function Qt(e,t,n,r){if(Wt=null,null!==(e=ya(e=ke(r))))if(null===(t=$e(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=qe(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Wt=e,null}function Jt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Ke()){case Xe:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Yt=null,Kt=null,Xt=null;function en(){if(Xt)return Xt;var e,t,n=Kt,r=n.length,a="value"in Yt?Yt.value:Yt.textContent,o=a.length;for(e=0;e<r&&n[e]===a[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===a[o-t];t++);return Xt=a.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function an(e){function t(t,n,r,a,o){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=a,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(a):a[i]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return F(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var on,sn,ln,cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},un=an(cn),dn=F({},cn,{view:0,detail:0}),pn=an(dn),fn=F({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ln&&(ln&&"mousemove"===e.type?(on=e.screenX-ln.screenX,sn=e.screenY-ln.screenY):sn=on=0,ln=e),on)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),mn=an(fn),hn=an(F({},fn,{dataTransfer:0})),gn=an(F({},dn,{relatedTarget:0})),bn=an(F({},cn,{animationName:0,elapsedTime:0,pseudoElement:0})),yn=F({},cn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),vn=an(yn),wn=an(F({},cn,{data:0})),kn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Sn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function En(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Sn[e])&&!!t[e]}function Cn(){return En}var _n=F({},dn,{key:function(e){if(e.key){var t=kn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?xn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Tn=an(_n),jn=an(F({},fn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Pn=an(F({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cn})),An=an(F({},cn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Rn=F({},fn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Nn=an(Rn),Ln=[9,13,27,32],In=u&&"CompositionEvent"in window,On=null;u&&"documentMode"in document&&(On=document.documentMode);var Dn=u&&"TextEvent"in window&&!On,Fn=u&&(!In||On&&8<On&&11>=On),Bn=String.fromCharCode(32),Mn=!1;function zn(e,t){switch(e){case"keyup":return-1!==Ln.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Un(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var $n=!1;var qn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!qn[e.type]:"textarea"===t}function Zn(e,t,n,r){_e(r),0<(t=Gr(t,"onChange")).length&&(n=new un("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Gn=null,Vn=null;function Wn(e){Br(e,0)}function Qn(e){if(V(wa(e)))return e}function Jn(e,t){if("change"===e)return t}var Yn=!1;if(u){var Kn;if(u){var Xn="oninput"in document;if(!Xn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Xn="function"==typeof er.oninput}Kn=Xn}else Kn=!1;Yn=Kn&&(!document.documentMode||9<document.documentMode)}function tr(){Gn&&(Gn.detachEvent("onpropertychange",nr),Vn=Gn=null)}function nr(e){if("value"===e.propertyName&&Qn(Vn)){var t=[];Zn(t,Vn,e,ke(e)),Re(Wn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Vn=n,(Gn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ar(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Qn(Vn)}function or(e,t){if("click"===e)return Qn(t)}function ir(e,t){if("input"===e||"change"===e)return Qn(t)}var sr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function lr(e,t){if(sr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var a=n[r];if(!d.call(t,a)||!sr(e[a],t[a]))return!1}return!0}function cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ur(e,t){var n,r=cr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=cr(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function pr(){for(var e=window,t=W();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=W((e=t.contentWindow).document)}return t}function fr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function mr(e){var t=pr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&fr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var a=n.textContent.length,o=Math.min(r.start,a);r=void 0===r.end?o:Math.min(r.end,a),!e.extend&&o>r&&(a=r,r=o,o=a),a=ur(n,o);var i=ur(n,r);a&&i&&(1!==e.rangeCount||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(a.node,a.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var hr=u&&"documentMode"in document&&11>=document.documentMode,gr=null,br=null,yr=null,vr=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;vr||null==gr||gr!==W(r)||("selectionStart"in(r=gr)&&fr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},yr&&lr(yr,r)||(yr=r,0<(r=Gr(br,"onSelect")).length&&(t=new un("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gr)))}function kr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var xr={animationend:kr("Animation","AnimationEnd"),animationiteration:kr("Animation","AnimationIteration"),animationstart:kr("Animation","AnimationStart"),transitionend:kr("Transition","TransitionEnd")},Sr={},Er={};function Cr(e){if(Sr[e])return Sr[e];if(!xr[e])return e;var t,n=xr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Er)return Sr[e]=n[t];return e}u&&(Er=document.createElement("div").style,"AnimationEvent"in window||(delete xr.animationend.animation,delete xr.animationiteration.animation,delete xr.animationstart.animation),"TransitionEvent"in window||delete xr.transitionend.transition);var _r=Cr("animationend"),Tr=Cr("animationiteration"),jr=Cr("animationstart"),Pr=Cr("transitionend"),Ar=new Map,Rr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Nr(e,t){Ar.set(e,t),l(t,[e])}for(var Lr=0;Lr<Rr.length;Lr++){var Ir=Rr[Lr];Nr(Ir.toLowerCase(),"on"+(Ir[0].toUpperCase()+Ir.slice(1)))}Nr(_r,"onAnimationEnd"),Nr(Tr,"onAnimationIteration"),Nr(jr,"onAnimationStart"),Nr("dblclick","onDoubleClick"),Nr("focusin","onFocus"),Nr("focusout","onBlur"),Nr(Pr,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Or="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Dr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Or));function Fr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,a,i,s,l,c){if(Ue.apply(this,arguments),De){if(!De)throw Error(o(198));var u=Fe;De=!1,Fe=null,Be||(Be=!0,Me=u)}}(r,t,void 0,e),e.currentTarget=null}function Br(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],a=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var i=r.length-1;0<=i;i--){var s=r[i],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==o&&a.isPropagationStopped())break e;Fr(a,s,c),o=l}else for(i=0;i<r.length;i++){if(l=(s=r[i]).instance,c=s.currentTarget,s=s.listener,l!==o&&a.isPropagationStopped())break e;Fr(a,s,c),o=l}}}if(Be)throw e=Me,Be=!1,Me=null,e}function Mr(e,t){var n=t[ha];void 0===n&&(n=t[ha]=new Set);var r=e+"__bubble";n.has(r)||(qr(t,e,2,!1),n.add(r))}function zr(e,t,n){var r=0;t&&(r|=4),qr(n,e,r,t)}var Ur="_reactListening"+Math.random().toString(36).slice(2);function $r(e){if(!e[Ur]){e[Ur]=!0,i.forEach((function(t){"selectionchange"!==t&&(Dr.has(t)||zr(t,!1,e),zr(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Ur]||(t[Ur]=!0,zr("selectionchange",!1,t))}}function qr(e,t,n,r){switch(Jt(t)){case 1:var a=Zt;break;case 4:a=Gt;break;default:a=Vt}n=a.bind(null,t,n,e),a=void 0,!Le||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(a=!0),r?void 0!==a?e.addEventListener(t,n,{capture:!0,passive:a}):e.addEventListener(t,n,!0):void 0!==a?e.addEventListener(t,n,{passive:a}):e.addEventListener(t,n,!1)}function Hr(e,t,n,r,a){var o=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var s=r.stateNode.containerInfo;if(s===a||8===s.nodeType&&s.parentNode===a)break;if(4===i)for(i=r.return;null!==i;){var l=i.tag;if((3===l||4===l)&&((l=i.stateNode.containerInfo)===a||8===l.nodeType&&l.parentNode===a))return;i=i.return}for(;null!==s;){if(null===(i=ya(s)))return;if(5===(l=i.tag)||6===l){r=o=i;continue e}s=s.parentNode}}r=r.return}Re((function(){var r=o,a=ke(n),i=[];e:{var s=Ar.get(e);if(void 0!==s){var l=un,c=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":l=Tn;break;case"focusin":c="focus",l=gn;break;case"focusout":c="blur",l=gn;break;case"beforeblur":case"afterblur":l=gn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=mn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=hn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Pn;break;case _r:case Tr:case jr:l=bn;break;case Pr:l=An;break;case"scroll":l=pn;break;case"wheel":l=Nn;break;case"copy":case"cut":case"paste":l=vn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=jn}var u=0!=(4&t),d=!u&&"scroll"===e,p=u?null!==s?s+"Capture":null:s;u=[];for(var f,m=r;null!==m;){var h=(f=m).stateNode;if(5===f.tag&&null!==h&&(f=h,null!==p&&(null!=(h=Ne(m,p))&&u.push(Zr(m,h,f)))),d)break;m=m.return}0<u.length&&(s=new l(s,c,null,n,a),i.push({event:s,listeners:u}))}}if(0==(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===we||!(c=n.relatedTarget||n.fromElement)||!ya(c)&&!c[ma])&&(l||s)&&(s=a.window===a?a:(s=a.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(c=(c=n.relatedTarget||n.toElement)?ya(c):null)&&(c!==(d=$e(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=r),l!==c)){if(u=mn,h="onMouseLeave",p="onMouseEnter",m="mouse","pointerout"!==e&&"pointerover"!==e||(u=jn,h="onPointerLeave",p="onPointerEnter",m="pointer"),d=null==l?s:wa(l),f=null==c?s:wa(c),(s=new u(h,m+"leave",l,n,a)).target=d,s.relatedTarget=f,h=null,ya(a)===r&&((u=new u(p,m+"enter",c,n,a)).target=f,u.relatedTarget=d,h=u),d=h,l&&c)e:{for(p=c,m=0,f=u=l;f;f=Vr(f))m++;for(f=0,h=p;h;h=Vr(h))f++;for(;0<m-f;)u=Vr(u),m--;for(;0<f-m;)p=Vr(p),f--;for(;m--;){if(u===p||null!==p&&u===p.alternate)break e;u=Vr(u),p=Vr(p)}u=null}else u=null;null!==l&&Wr(i,s,l,u,!1),null!==c&&null!==d&&Wr(i,d,c,u,!0)}if("select"===(l=(s=r?wa(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var g=Jn;else if(Hn(s))if(Yn)g=ir;else{g=ar;var b=rr}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(g=or);switch(g&&(g=g(e,r))?Zn(i,g,n,a):(b&&b(e,s,r),"focusout"===e&&(b=s._wrapperState)&&b.controlled&&"number"===s.type&&ee(s,"number",s.value)),b=r?wa(r):window,e){case"focusin":(Hn(b)||"true"===b.contentEditable)&&(gr=b,br=r,yr=null);break;case"focusout":yr=br=gr=null;break;case"mousedown":vr=!0;break;case"contextmenu":case"mouseup":case"dragend":vr=!1,wr(i,n,a);break;case"selectionchange":if(hr)break;case"keydown":case"keyup":wr(i,n,a)}var y;if(In)e:{switch(e){case"compositionstart":var v="onCompositionStart";break e;case"compositionend":v="onCompositionEnd";break e;case"compositionupdate":v="onCompositionUpdate";break e}v=void 0}else $n?zn(e,n)&&(v="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(v="onCompositionStart");v&&(Fn&&"ko"!==n.locale&&($n||"onCompositionStart"!==v?"onCompositionEnd"===v&&$n&&(y=en()):(Kt="value"in(Yt=a)?Yt.value:Yt.textContent,$n=!0)),0<(b=Gr(r,v)).length&&(v=new wn(v,e,null,n,a),i.push({event:v,listeners:b}),y?v.data=y:null!==(y=Un(n))&&(v.data=y))),(y=Dn?function(e,t){switch(e){case"compositionend":return Un(t);case"keypress":return 32!==t.which?null:(Mn=!0,Bn);case"textInput":return(e=t.data)===Bn&&Mn?null:e;default:return null}}(e,n):function(e,t){if($n)return"compositionend"===e||!In&&zn(e,t)?(e=en(),Xt=Kt=Yt=null,$n=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Fn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Gr(r,"onBeforeInput")).length&&(a=new wn("onBeforeInput","beforeinput",null,n,a),i.push({event:a,listeners:r}),a.data=y))}Br(i,t)}))}function Zr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Gr(e,t){for(var n=t+"Capture",r=[];null!==e;){var a=e,o=a.stateNode;5===a.tag&&null!==o&&(a=o,null!=(o=Ne(e,n))&&r.unshift(Zr(e,o,a)),null!=(o=Ne(e,t))&&r.push(Zr(e,o,a))),e=e.return}return r}function Vr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Wr(e,t,n,r,a){for(var o=t._reactName,i=[];null!==n&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==c&&(s=c,a?null!=(l=Ne(n,o))&&i.unshift(Zr(n,l,s)):a||null!=(l=Ne(n,o))&&i.push(Zr(n,l,s))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var Qr=/\r\n?/g,Jr=/\u0000|\uFFFD/g;function Yr(e){return("string"==typeof e?e:""+e).replace(Qr,"\n").replace(Jr,"")}function Kr(e,t,n){if(t=Yr(t),Yr(e)!==t&&n)throw Error(o(425))}function Xr(){}var ea=null,ta=null;function na(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ra="function"==typeof setTimeout?setTimeout:void 0,aa="function"==typeof clearTimeout?clearTimeout:void 0,oa="function"==typeof Promise?Promise:void 0,ia="function"==typeof queueMicrotask?queueMicrotask:void 0!==oa?function(e){return oa.resolve(null).then(e).catch(sa)}:ra;function sa(e){setTimeout((function(){throw e}))}function la(e,t){var n=t,r=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&8===a.nodeType)if("/$"===(n=a.data)){if(0===r)return e.removeChild(a),void $t(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=a}while(n);$t(t)}function ca(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function ua(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var da=Math.random().toString(36).slice(2),pa="__reactFiber$"+da,fa="__reactProps$"+da,ma="__reactContainer$"+da,ha="__reactEvents$"+da,ga="__reactListeners$"+da,ba="__reactHandles$"+da;function ya(e){var t=e[pa];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ma]||n[pa]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ua(e);null!==e;){if(n=e[pa])return n;e=ua(e)}return t}n=(e=n).parentNode}return null}function va(e){return!(e=e[pa]||e[ma])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wa(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(o(33))}function ka(e){return e[fa]||null}var xa=[],Sa=-1;function Ea(e){return{current:e}}function Ca(e){0>Sa||(e.current=xa[Sa],xa[Sa]=null,Sa--)}function _a(e,t){Sa++,xa[Sa]=e.current,e.current=t}var Ta={},ja=Ea(Ta),Pa=Ea(!1),Aa=Ta;function Ra(e,t){var n=e.type.contextTypes;if(!n)return Ta;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,o={};for(a in n)o[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Na(e){return null!=(e=e.childContextTypes)}function La(){Ca(Pa),Ca(ja)}function Ia(e,t,n){if(ja.current!==Ta)throw Error(o(168));_a(ja,t),_a(Pa,n)}function Oa(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in t))throw Error(o(108,q(e)||"Unknown",a));return F({},n,r)}function Da(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ta,Aa=ja.current,_a(ja,e),_a(Pa,Pa.current),!0}function Fa(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=Oa(e,t,Aa),r.__reactInternalMemoizedMergedChildContext=e,Ca(Pa),Ca(ja),_a(ja,e)):Ca(Pa),_a(Pa,n)}var Ba=null,Ma=!1,za=!1;function Ua(e){null===Ba?Ba=[e]:Ba.push(e)}function $a(){if(!za&&null!==Ba){za=!0;var e=0,t=vt;try{var n=Ba;for(vt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Ba=null,Ma=!1}catch(a){throw null!==Ba&&(Ba=Ba.slice(e+1)),Ve(Xe,$a),a}finally{vt=t,za=!1}}return null}var qa=[],Ha=0,Za=null,Ga=0,Va=[],Wa=0,Qa=null,Ja=1,Ya="";function Ka(e,t){qa[Ha++]=Ga,qa[Ha++]=Za,Za=e,Ga=t}function Xa(e,t,n){Va[Wa++]=Ja,Va[Wa++]=Ya,Va[Wa++]=Qa,Qa=e;var r=Ja;e=Ya;var a=32-it(r)-1;r&=~(1<<a),n+=1;var o=32-it(t)+a;if(30<o){var i=a-a%5;o=(r&(1<<i)-1).toString(32),r>>=i,a-=i,Ja=1<<32-it(t)+a|n<<a|r,Ya=o+e}else Ja=1<<o|n<<a|r,Ya=e}function eo(e){null!==e.return&&(Ka(e,1),Xa(e,1,0))}function to(e){for(;e===Za;)Za=qa[--Ha],qa[Ha]=null,Ga=qa[--Ha],qa[Ha]=null;for(;e===Qa;)Qa=Va[--Wa],Va[Wa]=null,Ya=Va[--Wa],Va[Wa]=null,Ja=Va[--Wa],Va[Wa]=null}var no=null,ro=null,ao=!1,oo=null;function io(e,t){var n=Nc(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function so(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,no=e,ro=ca(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,no=e,ro=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Qa?{id:Ja,overflow:Ya}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Nc(18,null,null,0)).stateNode=t,n.return=e,e.child=n,no=e,ro=null,!0);default:return!1}}function lo(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function co(e){if(ao){var t=ro;if(t){var n=t;if(!so(e,t)){if(lo(e))throw Error(o(418));t=ca(n.nextSibling);var r=no;t&&so(e,t)?io(r,n):(e.flags=-4097&e.flags|2,ao=!1,no=e)}}else{if(lo(e))throw Error(o(418));e.flags=-4097&e.flags|2,ao=!1,no=e}}}function uo(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;no=e}function po(e){if(e!==no)return!1;if(!ao)return uo(e),ao=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!na(e.type,e.memoizedProps)),t&&(t=ro)){if(lo(e))throw fo(),Error(o(418));for(;t;)io(e,t),t=ca(t.nextSibling)}if(uo(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ro=ca(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ro=null}}else ro=no?ca(e.stateNode.nextSibling):null;return!0}function fo(){for(var e=ro;e;)e=ca(e.nextSibling)}function mo(){ro=no=null,ao=!1}function ho(e){null===oo?oo=[e]:oo.push(e)}var go=w.ReactCurrentBatchConfig;function bo(e,t){if(e&&e.defaultProps){for(var n in t=F({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var yo=Ea(null),vo=null,wo=null,ko=null;function xo(){ko=wo=vo=null}function So(e){var t=yo.current;Ca(yo),e._currentValue=t}function Eo(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Co(e,t){vo=e,ko=wo=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(ws=!0),e.firstContext=null)}function _o(e){var t=e._currentValue;if(ko!==e)if(e={context:e,memoizedValue:t,next:null},null===wo){if(null===vo)throw Error(o(308));wo=e,vo.dependencies={lanes:0,firstContext:e}}else wo=wo.next=e;return t}var To=null;function jo(e){null===To?To=[e]:To.push(e)}function Po(e,t,n,r){var a=t.interleaved;return null===a?(n.next=n,jo(t)):(n.next=a.next,a.next=n),t.interleaved=n,Ao(e,r)}function Ao(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Ro=!1;function No(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Lo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Io(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Oo(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&Pl)){var a=r.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),r.pending=t,Ao(e,n)}return null===(a=r.interleaved)?(t.next=t,jo(r)):(t.next=a.next,a.next=t),r.interleaved=t,Ao(e,n)}function Do(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}function Fo(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var a=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?a=o=i:o=o.next=i,n=n.next}while(null!==n);null===o?a=o=t:o=o.next=t}else a=o=t;return n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Bo(e,t,n,r){var a=e.updateQueue;Ro=!1;var o=a.firstBaseUpdate,i=a.lastBaseUpdate,s=a.shared.pending;if(null!==s){a.shared.pending=null;var l=s,c=l.next;l.next=null,null===i?o=c:i.next=c,i=l;var u=e.alternate;null!==u&&((s=(u=u.updateQueue).lastBaseUpdate)!==i&&(null===s?u.firstBaseUpdate=c:s.next=c,u.lastBaseUpdate=l))}if(null!==o){var d=a.baseState;for(i=0,u=c=l=null,s=o;;){var p=s.lane,f=s.eventTime;if((r&p)===p){null!==u&&(u=u.next={eventTime:f,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var m=e,h=s;switch(p=t,f=n,h.tag){case 1:if("function"==typeof(m=h.payload)){d=m.call(f,d,p);break e}d=m;break e;case 3:m.flags=-65537&m.flags|128;case 0:if(null==(p="function"==typeof(m=h.payload)?m.call(f,d,p):m))break e;d=F({},d,p);break e;case 2:Ro=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(p=a.effects)?a.effects=[s]:p.push(s))}else f={eventTime:f,lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===u?(c=u=f,l=d):u=u.next=f,i|=p;if(null===(s=s.next)){if(null===(s=a.shared.pending))break;s=(p=s).next,p.next=null,a.lastBaseUpdate=p,a.shared.pending=null}}if(null===u&&(l=d),a.baseState=l,a.firstBaseUpdate=c,a.lastBaseUpdate=u,null!==(t=a.shared.interleaved)){a=t;do{i|=a.lane,a=a.next}while(a!==t)}else null===o&&(a.shared.lanes=0);Fl|=i,e.lanes=i,e.memoizedState=d}}function Mo(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],a=r.callback;if(null!==a){if(r.callback=null,r=n,"function"!=typeof a)throw Error(o(191,a));a.call(r)}}}var zo=(new r.Component).refs;function Uo(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:F({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var $o={isMounted:function(e){return!!(e=e._reactInternals)&&$e(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=tc(),a=nc(e),o=Io(r,a);o.payload=t,null!=n&&(o.callback=n),null!==(t=Oo(e,o,a))&&(rc(t,e,a,r),Do(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=tc(),a=nc(e),o=Io(r,a);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=Oo(e,o,a))&&(rc(t,e,a,r),Do(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tc(),r=nc(e),a=Io(n,r);a.tag=2,null!=t&&(a.callback=t),null!==(t=Oo(e,a,r))&&(rc(t,e,r,n),Do(t,e,r))}};function qo(e,t,n,r,a,o,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,i):!t.prototype||!t.prototype.isPureReactComponent||(!lr(n,r)||!lr(a,o))}function Ho(e,t,n){var r=!1,a=Ta,o=t.contextType;return"object"==typeof o&&null!==o?o=_o(o):(a=Na(t)?Aa:ja.current,o=(r=null!=(r=t.contextTypes))?Ra(e,a):Ta),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=$o,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=o),t}function Zo(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&$o.enqueueReplaceState(t,t.state,null)}function Go(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs=zo,No(e);var o=t.contextType;"object"==typeof o&&null!==o?a.context=_o(o):(o=Na(t)?Aa:ja.current,a.context=Ra(e,o)),a.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(Uo(e,t,o,n),a.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(t=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&$o.enqueueReplaceState(a,a.state,null),Bo(e,n,a,r),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.flags|=4194308)}function Vo(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(o(309));var r=n.stateNode}if(!r)throw Error(o(147,e));var a=r,i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=a.refs;t===zo&&(t=a.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function Wo(e,t){throw e=Object.prototype.toString.call(t),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Qo(e){return(0,e._init)(e._payload)}function Jo(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function a(e,t){return(e=Ic(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Bc(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function c(e,t,n,r){var o=n.type;return o===S?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===N&&Qo(o)===t.type)?((r=a(t,n.props)).ref=Vo(e,t,n),r.return=e,r):((r=Oc(n.type,n.key,n.props,null,e.mode,r)).ref=Vo(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Mc(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=Dc(n,e.mode,r,o)).return=e,t):((t=a(t,n)).return=e,t)}function p(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Bc(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case k:return(n=Oc(t.type,t.key,t.props,null,e.mode,n)).ref=Vo(e,null,t),n.return=e,n;case x:return(t=Mc(t,e.mode,n)).return=e,t;case N:return p(e,(0,t._init)(t._payload),n)}if(te(t)||O(t))return(t=Dc(t,e.mode,n,null)).return=e,t;Wo(e,t)}return null}function f(e,t,n,r){var a=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==a?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case k:return n.key===a?c(e,t,n,r):null;case x:return n.key===a?u(e,t,n,r):null;case N:return f(e,t,(a=n._init)(n._payload),r)}if(te(n)||O(n))return null!==a?null:d(e,t,n,r,null);Wo(e,n)}return null}function m(e,t,n,r,a){if("string"==typeof r&&""!==r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,a);if("object"==typeof r&&null!==r){switch(r.$$typeof){case k:return c(t,e=e.get(null===r.key?n:r.key)||null,r,a);case x:return u(t,e=e.get(null===r.key?n:r.key)||null,r,a);case N:return m(e,t,n,(0,r._init)(r._payload),a)}if(te(r)||O(r))return d(t,e=e.get(n)||null,r,a,null);Wo(t,r)}return null}function h(a,o,s,l){for(var c=null,u=null,d=o,h=o=0,g=null;null!==d&&h<s.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var b=f(a,d,s[h],l);if(null===b){null===d&&(d=g);break}e&&d&&null===b.alternate&&t(a,d),o=i(b,o,h),null===u?c=b:u.sibling=b,u=b,d=g}if(h===s.length)return n(a,d),ao&&Ka(a,h),c;if(null===d){for(;h<s.length;h++)null!==(d=p(a,s[h],l))&&(o=i(d,o,h),null===u?c=d:u.sibling=d,u=d);return ao&&Ka(a,h),c}for(d=r(a,d);h<s.length;h++)null!==(g=m(d,a,h,s[h],l))&&(e&&null!==g.alternate&&d.delete(null===g.key?h:g.key),o=i(g,o,h),null===u?c=g:u.sibling=g,u=g);return e&&d.forEach((function(e){return t(a,e)})),ao&&Ka(a,h),c}function g(a,s,l,c){var u=O(l);if("function"!=typeof u)throw Error(o(150));if(null==(l=u.call(l)))throw Error(o(151));for(var d=u=null,h=s,g=s=0,b=null,y=l.next();null!==h&&!y.done;g++,y=l.next()){h.index>g?(b=h,h=null):b=h.sibling;var v=f(a,h,y.value,c);if(null===v){null===h&&(h=b);break}e&&h&&null===v.alternate&&t(a,h),s=i(v,s,g),null===d?u=v:d.sibling=v,d=v,h=b}if(y.done)return n(a,h),ao&&Ka(a,g),u;if(null===h){for(;!y.done;g++,y=l.next())null!==(y=p(a,y.value,c))&&(s=i(y,s,g),null===d?u=y:d.sibling=y,d=y);return ao&&Ka(a,g),u}for(h=r(a,h);!y.done;g++,y=l.next())null!==(y=m(h,a,g,y.value,c))&&(e&&null!==y.alternate&&h.delete(null===y.key?g:y.key),s=i(y,s,g),null===d?u=y:d.sibling=y,d=y);return e&&h.forEach((function(e){return t(a,e)})),ao&&Ka(a,g),u}return function e(r,o,i,l){if("object"==typeof i&&null!==i&&i.type===S&&null===i.key&&(i=i.props.children),"object"==typeof i&&null!==i){switch(i.$$typeof){case k:e:{for(var c=i.key,u=o;null!==u;){if(u.key===c){if((c=i.type)===S){if(7===u.tag){n(r,u.sibling),(o=a(u,i.props.children)).return=r,r=o;break e}}else if(u.elementType===c||"object"==typeof c&&null!==c&&c.$$typeof===N&&Qo(c)===u.type){n(r,u.sibling),(o=a(u,i.props)).ref=Vo(r,u,i),o.return=r,r=o;break e}n(r,u);break}t(r,u),u=u.sibling}i.type===S?((o=Dc(i.props.children,r.mode,l,i.key)).return=r,r=o):((l=Oc(i.type,i.key,i.props,null,r.mode,l)).ref=Vo(r,o,i),l.return=r,r=l)}return s(r);case x:e:{for(u=i.key;null!==o;){if(o.key===u){if(4===o.tag&&o.stateNode.containerInfo===i.containerInfo&&o.stateNode.implementation===i.implementation){n(r,o.sibling),(o=a(o,i.children||[])).return=r,r=o;break e}n(r,o);break}t(r,o),o=o.sibling}(o=Mc(i,r.mode,l)).return=r,r=o}return s(r);case N:return e(r,o,(u=i._init)(i._payload),l)}if(te(i))return h(r,o,i,l);if(O(i))return g(r,o,i,l);Wo(r,i)}return"string"==typeof i&&""!==i||"number"==typeof i?(i=""+i,null!==o&&6===o.tag?(n(r,o.sibling),(o=a(o,i)).return=r,r=o):(n(r,o),(o=Bc(i,r.mode,l)).return=r,r=o),s(r)):n(r,o)}}var Yo=Jo(!0),Ko=Jo(!1),Xo={},ei=Ea(Xo),ti=Ea(Xo),ni=Ea(Xo);function ri(e){if(e===Xo)throw Error(o(174));return e}function ai(e,t){switch(_a(ni,t),_a(ti,e),_a(ei,Xo),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Ca(ei),_a(ei,t)}function oi(){Ca(ei),Ca(ti),Ca(ni)}function ii(e){ri(ni.current);var t=ri(ei.current),n=le(t,e.type);t!==n&&(_a(ti,e),_a(ei,n))}function si(e){ti.current===e&&(Ca(ei),Ca(ti))}var li=Ea(0);function ci(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ui=[];function di(){for(var e=0;e<ui.length;e++)ui[e]._workInProgressVersionPrimary=null;ui.length=0}var pi=w.ReactCurrentDispatcher,fi=w.ReactCurrentBatchConfig,mi=0,hi=null,gi=null,bi=null,yi=!1,vi=!1,wi=0,ki=0;function xi(){throw Error(o(321))}function Si(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function Ei(e,t,n,r,a,i){if(mi=i,hi=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,pi.current=null===e||null===e.memoizedState?ss:ls,e=n(r,a),vi){i=0;do{if(vi=!1,wi=0,25<=i)throw Error(o(301));i+=1,bi=gi=null,t.updateQueue=null,pi.current=cs,e=n(r,a)}while(vi)}if(pi.current=is,t=null!==gi&&null!==gi.next,mi=0,bi=gi=hi=null,yi=!1,t)throw Error(o(300));return e}function Ci(){var e=0!==wi;return wi=0,e}function _i(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===bi?hi.memoizedState=bi=e:bi=bi.next=e,bi}function Ti(){if(null===gi){var e=hi.alternate;e=null!==e?e.memoizedState:null}else e=gi.next;var t=null===bi?hi.memoizedState:bi.next;if(null!==t)bi=t,gi=e;else{if(null===e)throw Error(o(310));e={memoizedState:(gi=e).memoizedState,baseState:gi.baseState,baseQueue:gi.baseQueue,queue:gi.queue,next:null},null===bi?hi.memoizedState=bi=e:bi=bi.next=e}return bi}function ji(e,t){return"function"==typeof t?t(e):t}function Pi(e){var t=Ti(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=gi,a=r.baseQueue,i=n.pending;if(null!==i){if(null!==a){var s=a.next;a.next=i.next,i.next=s}r.baseQueue=a=i,n.pending=null}if(null!==a){i=a.next,r=r.baseState;var l=s=null,c=null,u=i;do{var d=u.lane;if((mi&d)===d)null!==c&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var p={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===c?(l=c=p,s=r):c=c.next=p,hi.lanes|=d,Fl|=d}u=u.next}while(null!==u&&u!==i);null===c?s=r:c.next=l,sr(r,t.memoizedState)||(ws=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=c,n.lastRenderedState=r}if(null!==(e=n.interleaved)){a=e;do{i=a.lane,hi.lanes|=i,Fl|=i,a=a.next}while(a!==e)}else null===a&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Ai(e){var t=Ti(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,i=t.memoizedState;if(null!==a){n.pending=null;var s=a=a.next;do{i=e(i,s.action),s=s.next}while(s!==a);sr(i,t.memoizedState)||(ws=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Ri(){}function Ni(e,t){var n=hi,r=Ti(),a=t(),i=!sr(r.memoizedState,a);if(i&&(r.memoizedState=a,ws=!0),r=r.queue,Hi(Oi.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||null!==bi&&1&bi.memoizedState.tag){if(n.flags|=2048,Mi(9,Ii.bind(null,n,r,a,t),void 0,null),null===Al)throw Error(o(349));0!=(30&mi)||Li(n,t,a)}return a}function Li(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=hi.updateQueue)?(t={lastEffect:null,stores:null},hi.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ii(e,t,n,r){t.value=n,t.getSnapshot=r,Di(t)&&Fi(e)}function Oi(e,t,n){return n((function(){Di(t)&&Fi(e)}))}function Di(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sr(e,n)}catch(r){return!0}}function Fi(e){var t=Ao(e,1);null!==t&&rc(t,e,1,-1)}function Bi(e){var t=_i();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ji,lastRenderedState:e},t.queue=e,e=e.dispatch=ns.bind(null,hi,e),[t.memoizedState,e]}function Mi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=hi.updateQueue)?(t={lastEffect:null,stores:null},hi.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function zi(){return Ti().memoizedState}function Ui(e,t,n,r){var a=_i();hi.flags|=e,a.memoizedState=Mi(1|t,n,void 0,void 0===r?null:r)}function $i(e,t,n,r){var a=Ti();r=void 0===r?null:r;var o=void 0;if(null!==gi){var i=gi.memoizedState;if(o=i.destroy,null!==r&&Si(r,i.deps))return void(a.memoizedState=Mi(t,n,o,r))}hi.flags|=e,a.memoizedState=Mi(1|t,n,o,r)}function qi(e,t){return Ui(8390656,8,e,t)}function Hi(e,t){return $i(2048,8,e,t)}function Zi(e,t){return $i(4,2,e,t)}function Gi(e,t){return $i(4,4,e,t)}function Vi(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Wi(e,t,n){return n=null!=n?n.concat([e]):null,$i(4,4,Vi.bind(null,t,e),n)}function Qi(){}function Ji(e,t){var n=Ti();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Si(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Yi(e,t){var n=Ti();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Si(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ki(e,t,n){return 0==(21&mi)?(e.baseState&&(e.baseState=!1,ws=!0),e.memoizedState=n):(sr(n,t)||(n=ht(),hi.lanes|=n,Fl|=n,e.baseState=!0),t)}function Xi(e,t){var n=vt;vt=0!==n&&4>n?n:4,e(!0);var r=fi.transition;fi.transition={};try{e(!1),t()}finally{vt=n,fi.transition=r}}function es(){return Ti().memoizedState}function ts(e,t,n){var r=nc(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rs(e))as(t,n);else if(null!==(n=Po(e,t,n,r))){rc(n,e,r,tc()),os(n,t,r)}}function ns(e,t,n){var r=nc(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rs(e))as(t,a);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var i=t.lastRenderedState,s=o(i,n);if(a.hasEagerState=!0,a.eagerState=s,sr(s,i)){var l=t.interleaved;return null===l?(a.next=a,jo(t)):(a.next=l.next,l.next=a),void(t.interleaved=a)}}catch(c){}null!==(n=Po(e,t,a,r))&&(rc(n,e,r,a=tc()),os(n,t,r))}}function rs(e){var t=e.alternate;return e===hi||null!==t&&t===hi}function as(e,t){vi=yi=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function os(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}var is={readContext:_o,useCallback:xi,useContext:xi,useEffect:xi,useImperativeHandle:xi,useInsertionEffect:xi,useLayoutEffect:xi,useMemo:xi,useReducer:xi,useRef:xi,useState:xi,useDebugValue:xi,useDeferredValue:xi,useTransition:xi,useMutableSource:xi,useSyncExternalStore:xi,useId:xi,unstable_isNewReconciler:!1},ss={readContext:_o,useCallback:function(e,t){return _i().memoizedState=[e,void 0===t?null:t],e},useContext:_o,useEffect:qi,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Ui(4194308,4,Vi.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ui(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ui(4,2,e,t)},useMemo:function(e,t){var n=_i();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=_i();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=ts.bind(null,hi,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},_i().memoizedState=e},useState:Bi,useDebugValue:Qi,useDeferredValue:function(e){return _i().memoizedState=e},useTransition:function(){var e=Bi(!1),t=e[0];return e=Xi.bind(null,e[1]),_i().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=hi,a=_i();if(ao){if(void 0===n)throw Error(o(407));n=n()}else{if(n=t(),null===Al)throw Error(o(349));0!=(30&mi)||Li(r,t,n)}a.memoizedState=n;var i={value:n,getSnapshot:t};return a.queue=i,qi(Oi.bind(null,r,i,e),[e]),r.flags|=2048,Mi(9,Ii.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=_i(),t=Al.identifierPrefix;if(ao){var n=Ya;t=":"+t+"R"+(n=(Ja&~(1<<32-it(Ja)-1)).toString(32)+n),0<(n=wi++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=ki++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ls={readContext:_o,useCallback:Ji,useContext:_o,useEffect:Hi,useImperativeHandle:Wi,useInsertionEffect:Zi,useLayoutEffect:Gi,useMemo:Yi,useReducer:Pi,useRef:zi,useState:function(){return Pi(ji)},useDebugValue:Qi,useDeferredValue:function(e){return Ki(Ti(),gi.memoizedState,e)},useTransition:function(){return[Pi(ji)[0],Ti().memoizedState]},useMutableSource:Ri,useSyncExternalStore:Ni,useId:es,unstable_isNewReconciler:!1},cs={readContext:_o,useCallback:Ji,useContext:_o,useEffect:Hi,useImperativeHandle:Wi,useInsertionEffect:Zi,useLayoutEffect:Gi,useMemo:Yi,useReducer:Ai,useRef:zi,useState:function(){return Ai(ji)},useDebugValue:Qi,useDeferredValue:function(e){var t=Ti();return null===gi?t.memoizedState=e:Ki(t,gi.memoizedState,e)},useTransition:function(){return[Ai(ji)[0],Ti().memoizedState]},useMutableSource:Ri,useSyncExternalStore:Ni,useId:es,unstable_isNewReconciler:!1};function us(e,t){try{var n="",r=t;do{n+=U(r),r=r.return}while(r);var a=n}catch(o){a="\nError generating stack: "+o.message+"\n"+o.stack}return{value:e,source:t,stack:a,digest:null}}function ds(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function ps(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var fs="function"==typeof WeakMap?WeakMap:Map;function ms(e,t,n){(n=Io(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Zl||(Zl=!0,Gl=r),ps(0,t)},n}function hs(e,t,n){(n=Io(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var a=t.value;n.payload=function(){return r(a)},n.callback=function(){ps(0,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){ps(0,t),"function"!=typeof r&&(null===Vl?Vl=new Set([this]):Vl.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function gs(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new fs;var a=new Set;r.set(t,a)}else void 0===(a=r.get(t))&&(a=new Set,r.set(t,a));a.has(n)||(a.add(n),e=_c.bind(null,e,t,n),t.then(e,e))}function bs(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function ys(e,t,n,r,a){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Io(-1,1)).tag=2,Oo(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=a,e)}var vs=w.ReactCurrentOwner,ws=!1;function ks(e,t,n,r){t.child=null===e?Ko(t,null,n,r):Yo(t,e.child,n,r)}function xs(e,t,n,r,a){n=n.render;var o=t.ref;return Co(t,a),r=Ei(e,t,n,r,o,a),n=Ci(),null===e||ws?(ao&&n&&eo(t),t.flags|=1,ks(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Zs(e,t,a))}function Ss(e,t,n,r,a){if(null===e){var o=n.type;return"function"!=typeof o||Lc(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Oc(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Es(e,t,o,r,a))}if(o=e.child,0==(e.lanes&a)){var i=o.memoizedProps;if((n=null!==(n=n.compare)?n:lr)(i,r)&&e.ref===t.ref)return Zs(e,t,a)}return t.flags|=1,(e=Ic(o,r)).ref=t.ref,e.return=t,t.child=e}function Es(e,t,n,r,a){if(null!==e){var o=e.memoizedProps;if(lr(o,r)&&e.ref===t.ref){if(ws=!1,t.pendingProps=r=o,0==(e.lanes&a))return t.lanes=e.lanes,Zs(e,t,a);0!=(131072&e.flags)&&(ws=!0)}}return Ts(e,t,n,r,a)}function Cs(e,t,n){var r=t.pendingProps,a=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},_a(Il,Ll),Ll|=n;else{if(0==(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,_a(Il,Ll),Ll|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,_a(Il,Ll),Ll|=r}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,_a(Il,Ll),Ll|=r;return ks(e,t,a,n),t.child}function _s(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ts(e,t,n,r,a){var o=Na(n)?Aa:ja.current;return o=Ra(t,o),Co(t,a),n=Ei(e,t,n,r,o,a),r=Ci(),null===e||ws?(ao&&r&&eo(t),t.flags|=1,ks(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Zs(e,t,a))}function js(e,t,n,r,a){if(Na(n)){var o=!0;Da(t)}else o=!1;if(Co(t,a),null===t.stateNode)Hs(e,t),Ho(t,n,r),Go(t,n,r,a),r=!0;else if(null===e){var i=t.stateNode,s=t.memoizedProps;i.props=s;var l=i.context,c=n.contextType;"object"==typeof c&&null!==c?c=_o(c):c=Ra(t,c=Na(n)?Aa:ja.current);var u=n.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==r||l!==c)&&Zo(t,i,r,c),Ro=!1;var p=t.memoizedState;i.state=p,Bo(t,r,i,a),l=t.memoizedState,s!==r||p!==l||Pa.current||Ro?("function"==typeof u&&(Uo(t,n,u,r),l=t.memoizedState),(s=Ro||qo(t,n,s,r,p,l,c))?(d||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),i.props=r,i.state=l,i.context=c,r=s):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Lo(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:bo(t.type,s),i.props=c,d=t.pendingProps,p=i.context,"object"==typeof(l=n.contextType)&&null!==l?l=_o(l):l=Ra(t,l=Na(n)?Aa:ja.current);var f=n.getDerivedStateFromProps;(u="function"==typeof f||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==d||p!==l)&&Zo(t,i,r,l),Ro=!1,p=t.memoizedState,i.state=p,Bo(t,r,i,a);var m=t.memoizedState;s!==d||p!==m||Pa.current||Ro?("function"==typeof f&&(Uo(t,n,f,r),m=t.memoizedState),(c=Ro||qo(t,n,c,r,p,m,l)||!1)?(u||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,m,l),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,m,l)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),i.props=r,i.state=m,i.context=l,r=c):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return Ps(e,t,n,r,o,a)}function Ps(e,t,n,r,a,o){_s(e,t);var i=0!=(128&t.flags);if(!r&&!i)return a&&Fa(t,n,!1),Zs(e,t,o);r=t.stateNode,vs.current=t;var s=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=Yo(t,e.child,null,o),t.child=Yo(t,null,s,o)):ks(e,t,s,o),t.memoizedState=r.state,a&&Fa(t,n,!0),t.child}function As(e){var t=e.stateNode;t.pendingContext?Ia(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ia(0,t.context,!1),ai(e,t.containerInfo)}function Rs(e,t,n,r,a){return mo(),ho(a),t.flags|=256,ks(e,t,n,r),t.child}var Ns,Ls,Is,Os,Ds={dehydrated:null,treeContext:null,retryLane:0};function Fs(e){return{baseLanes:e,cachePool:null,transitions:null}}function Bs(e,t,n){var r,a=t.pendingProps,i=li.current,s=!1,l=0!=(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&0!=(2&i)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),_a(li,1&i),null===e)return co(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(l=a.children,e=a.fallback,s?(a=t.mode,s=t.child,l={mode:"hidden",children:l},0==(1&a)&&null!==s?(s.childLanes=0,s.pendingProps=l):s=Fc(l,a,0,null),e=Dc(e,a,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Fs(n),t.memoizedState=Ds,e):Ms(t,l));if(null!==(i=e.memoizedState)&&null!==(r=i.dehydrated))return function(e,t,n,r,a,i,s){if(n)return 256&t.flags?(t.flags&=-257,zs(e,t,s,r=ds(Error(o(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,a=t.mode,r=Fc({mode:"visible",children:r.children},a,0,null),(i=Dc(i,a,s,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,0!=(1&t.mode)&&Yo(t,e.child,null,s),t.child.memoizedState=Fs(s),t.memoizedState=Ds,i);if(0==(1&t.mode))return zs(e,t,s,null);if("$!"===a.data){if(r=a.nextSibling&&a.nextSibling.dataset)var l=r.dgst;return r=l,zs(e,t,s,r=ds(i=Error(o(419)),r,void 0))}if(l=0!=(s&e.childLanes),ws||l){if(null!==(r=Al)){switch(s&-s){case 4:a=2;break;case 16:a=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:a=32;break;case 536870912:a=268435456;break;default:a=0}0!==(a=0!=(a&(r.suspendedLanes|s))?0:a)&&a!==i.retryLane&&(i.retryLane=a,Ao(e,a),rc(r,e,a,-1))}return gc(),zs(e,t,s,r=ds(Error(o(421))))}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=jc.bind(null,e),a._reactRetry=t,null):(e=i.treeContext,ro=ca(a.nextSibling),no=t,ao=!0,oo=null,null!==e&&(Va[Wa++]=Ja,Va[Wa++]=Ya,Va[Wa++]=Qa,Ja=e.id,Ya=e.overflow,Qa=t),t=Ms(t,r.children),t.flags|=4096,t)}(e,t,l,a,r,i,n);if(s){s=a.fallback,l=t.mode,r=(i=e.child).sibling;var c={mode:"hidden",children:a.children};return 0==(1&l)&&t.child!==i?((a=t.child).childLanes=0,a.pendingProps=c,t.deletions=null):(a=Ic(i,c)).subtreeFlags=14680064&i.subtreeFlags,null!==r?s=Ic(r,s):(s=Dc(s,l,n,null)).flags|=2,s.return=t,a.return=t,a.sibling=s,t.child=a,a=s,s=t.child,l=null===(l=e.child.memoizedState)?Fs(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~n,t.memoizedState=Ds,a}return e=(s=e.child).sibling,a=Ic(s,{mode:"visible",children:a.children}),0==(1&t.mode)&&(a.lanes=n),a.return=t,a.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=a,t.memoizedState=null,a}function Ms(e,t){return(t=Fc({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function zs(e,t,n,r){return null!==r&&ho(r),Yo(t,e.child,null,n),(e=Ms(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Us(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Eo(e.return,t,n)}function $s(e,t,n,r,a){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=a)}function qs(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;if(ks(e,t,r.children,n),0!=(2&(r=li.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Us(e,n,t);else if(19===e.tag)Us(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(_a(li,r),0==(1&t.mode))t.memoizedState=null;else switch(a){case"forwards":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===ci(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),$s(t,!1,a,n,o);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===ci(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}$s(t,!0,n,null,o);break;case"together":$s(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Hs(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Zs(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Fl|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Ic(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Ic(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Gs(e,t){if(!ao)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Vs(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=14680064&a.subtreeFlags,r|=14680064&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Ws(e,t,n){var r=t.pendingProps;switch(to(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Vs(t),null;case 1:case 17:return Na(t.type)&&La(),Vs(t),null;case 3:return r=t.stateNode,oi(),Ca(Pa),Ca(ja),di(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(po(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==oo&&(sc(oo),oo=null))),Ls(e,t),Vs(t),null;case 5:si(t);var a=ri(ni.current);if(n=t.type,null!==e&&null!=t.stateNode)Is(e,t,n,r,a),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(o(166));return Vs(t),null}if(e=ri(ei.current),po(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[pa]=t,r[fa]=i,e=0!=(1&t.mode),n){case"dialog":Mr("cancel",r),Mr("close",r);break;case"iframe":case"object":case"embed":Mr("load",r);break;case"video":case"audio":for(a=0;a<Or.length;a++)Mr(Or[a],r);break;case"source":Mr("error",r);break;case"img":case"image":case"link":Mr("error",r),Mr("load",r);break;case"details":Mr("toggle",r);break;case"input":J(r,i),Mr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},Mr("invalid",r);break;case"textarea":ae(r,i),Mr("invalid",r)}for(var l in ye(n,i),a=null,i)if(i.hasOwnProperty(l)){var c=i[l];"children"===l?"string"==typeof c?r.textContent!==c&&(!0!==i.suppressHydrationWarning&&Kr(r.textContent,c,e),a=["children",c]):"number"==typeof c&&r.textContent!==""+c&&(!0!==i.suppressHydrationWarning&&Kr(r.textContent,c,e),a=["children",""+c]):s.hasOwnProperty(l)&&null!=c&&"onScroll"===l&&Mr("scroll",r)}switch(n){case"input":G(r),X(r,i,!0);break;case"textarea":G(r),ie(r);break;case"select":case"option":break;default:"function"==typeof i.onClick&&(r.onclick=Xr)}r=a,t.updateQueue=r,null!==r&&(t.flags|=4)}else{l=9===a.nodeType?a:a.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),"select"===n&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[pa]=t,e[fa]=r,Ns(e,t,!1,!1),t.stateNode=e;e:{switch(l=ve(n,r),n){case"dialog":Mr("cancel",e),Mr("close",e),a=r;break;case"iframe":case"object":case"embed":Mr("load",e),a=r;break;case"video":case"audio":for(a=0;a<Or.length;a++)Mr(Or[a],e);a=r;break;case"source":Mr("error",e),a=r;break;case"img":case"image":case"link":Mr("error",e),Mr("load",e),a=r;break;case"details":Mr("toggle",e),a=r;break;case"input":J(e,r),a=Q(e,r),Mr("invalid",e);break;case"option":default:a=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},a=F({},r,{value:void 0}),Mr("invalid",e);break;case"textarea":ae(e,r),a=re(e,r),Mr("invalid",e)}for(i in ye(n,a),c=a)if(c.hasOwnProperty(i)){var u=c[i];"style"===i?ge(e,u):"dangerouslySetInnerHTML"===i?null!=(u=u?u.__html:void 0)&&de(e,u):"children"===i?"string"==typeof u?("textarea"!==n||""!==u)&&pe(e,u):"number"==typeof u&&pe(e,""+u):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(s.hasOwnProperty(i)?null!=u&&"onScroll"===i&&Mr("scroll",e):null!=u&&v(e,i,u,l))}switch(n){case"input":G(e),X(e,r,!1);break;case"textarea":G(e),ie(e);break;case"option":null!=r.value&&e.setAttribute("value",""+H(r.value));break;case"select":e.multiple=!!r.multiple,null!=(i=r.value)?ne(e,!!r.multiple,i,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof a.onClick&&(e.onclick=Xr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Vs(t),null;case 6:if(e&&null!=t.stateNode)Os(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(o(166));if(n=ri(ni.current),ri(ei.current),po(t)){if(r=t.stateNode,n=t.memoizedProps,r[pa]=t,(i=r.nodeValue!==n)&&null!==(e=no))switch(e.tag){case 3:Kr(r.nodeValue,n,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Kr(r.nodeValue,n,0!=(1&e.mode))}i&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[pa]=t,t.stateNode=r}return Vs(t),null;case 13:if(Ca(li),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ao&&null!==ro&&0!=(1&t.mode)&&0==(128&t.flags))fo(),mo(),t.flags|=98560,i=!1;else if(i=po(t),null!==r&&null!==r.dehydrated){if(null===e){if(!i)throw Error(o(318));if(!(i=null!==(i=t.memoizedState)?i.dehydrated:null))throw Error(o(317));i[pa]=t}else mo(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Vs(t),i=!1}else null!==oo&&(sc(oo),oo=null),i=!0;if(!i)return 65536&t.flags?t:null}return 0!=(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&li.current)?0===Ol&&(Ol=3):gc())),null!==t.updateQueue&&(t.flags|=4),Vs(t),null);case 4:return oi(),Ls(e,t),null===e&&$r(t.stateNode.containerInfo),Vs(t),null;case 10:return So(t.type._context),Vs(t),null;case 19:if(Ca(li),null===(i=t.memoizedState))return Vs(t),null;if(r=0!=(128&t.flags),null===(l=i.rendering))if(r)Gs(i,!1);else{if(0!==Ol||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(l=ci(e))){for(t.flags|=128,Gs(i,!1),null!==(r=l.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(i=n).flags&=14680066,null===(l=i.alternate)?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=l.childLanes,i.lanes=l.lanes,i.child=l.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=l.memoizedProps,i.memoizedState=l.memoizedState,i.updateQueue=l.updateQueue,i.type=l.type,e=l.dependencies,i.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return _a(li,1&li.current|2),t.child}e=e.sibling}null!==i.tail&&Ye()>ql&&(t.flags|=128,r=!0,Gs(i,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ci(l))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Gs(i,!0),null===i.tail&&"hidden"===i.tailMode&&!l.alternate&&!ao)return Vs(t),null}else 2*Ye()-i.renderingStartTime>ql&&1073741824!==n&&(t.flags|=128,r=!0,Gs(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=i.last)?n.sibling=l:t.child=l,i.last=l)}return null!==i.tail?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Ye(),t.sibling=null,n=li.current,_a(li,r?1&n|2:1&n),t):(Vs(t),null);case 22:case 23:return pc(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(1073741824&Ll)&&(Vs(t),6&t.subtreeFlags&&(t.flags|=8192)):Vs(t),null;case 24:case 25:return null}throw Error(o(156,t.tag))}function Qs(e,t){switch(to(t),t.tag){case 1:return Na(t.type)&&La(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return oi(),Ca(Pa),Ca(ja),di(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return si(t),null;case 13:if(Ca(li),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(o(340));mo()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Ca(li),null;case 4:return oi(),null;case 10:return So(t.type._context),null;case 22:case 23:return pc(),null;default:return null}}Ns=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ls=function(){},Is=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,ri(ei.current);var o,i=null;switch(n){case"input":a=Q(e,a),r=Q(e,r),i=[];break;case"select":a=F({},a,{value:void 0}),r=F({},r,{value:void 0}),i=[];break;case"textarea":a=re(e,a),r=re(e,r),i=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(e.onclick=Xr)}for(u in ye(n,r),n=null,a)if(!r.hasOwnProperty(u)&&a.hasOwnProperty(u)&&null!=a[u])if("style"===u){var l=a[u];for(o in l)l.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(s.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var c=r[u];if(l=null!=a?a[u]:void 0,r.hasOwnProperty(u)&&c!==l&&(null!=c||null!=l))if("style"===u)if(l){for(o in l)!l.hasOwnProperty(o)||c&&c.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in c)c.hasOwnProperty(o)&&l[o]!==c[o]&&(n||(n={}),n[o]=c[o])}else n||(i||(i=[]),i.push(u,n)),n=c;else"dangerouslySetInnerHTML"===u?(c=c?c.__html:void 0,l=l?l.__html:void 0,null!=c&&l!==c&&(i=i||[]).push(u,c)):"children"===u?"string"!=typeof c&&"number"!=typeof c||(i=i||[]).push(u,""+c):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(s.hasOwnProperty(u)?(null!=c&&"onScroll"===u&&Mr("scroll",e),i||l===c||(i=[])):(i=i||[]).push(u,c))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}},Os=function(e,t,n,r){n!==r&&(t.flags|=4)};var Js=!1,Ys=!1,Ks="function"==typeof WeakSet?WeakSet:Set,Xs=null;function el(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(r){Cc(e,t,r)}else n.current=null}function tl(e,t,n){try{n()}catch(r){Cc(e,t,r)}}var nl=!1;function rl(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var a=r=r.next;do{if((a.tag&e)===e){var o=a.destroy;a.destroy=void 0,void 0!==o&&tl(t,n,o)}a=a.next}while(a!==r)}}function al(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ol(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function il(e){var t=e.alternate;null!==t&&(e.alternate=null,il(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[pa],delete t[fa],delete t[ha],delete t[ga],delete t[ba])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function sl(e){return 5===e.tag||3===e.tag||4===e.tag}function ll(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||sl(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function cl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Xr));else if(4!==r&&null!==(e=e.child))for(cl(e,t,n),e=e.sibling;null!==e;)cl(e,t,n),e=e.sibling}function ul(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(ul(e,t,n),e=e.sibling;null!==e;)ul(e,t,n),e=e.sibling}var dl=null,pl=!1;function fl(e,t,n){for(n=n.child;null!==n;)ml(e,t,n),n=n.sibling}function ml(e,t,n){if(ot&&"function"==typeof ot.onCommitFiberUnmount)try{ot.onCommitFiberUnmount(at,n)}catch(s){}switch(n.tag){case 5:Ys||el(n,t);case 6:var r=dl,a=pl;dl=null,fl(e,t,n),pl=a,null!==(dl=r)&&(pl?(e=dl,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):dl.removeChild(n.stateNode));break;case 18:null!==dl&&(pl?(e=dl,n=n.stateNode,8===e.nodeType?la(e.parentNode,n):1===e.nodeType&&la(e,n),$t(e)):la(dl,n.stateNode));break;case 4:r=dl,a=pl,dl=n.stateNode.containerInfo,pl=!0,fl(e,t,n),dl=r,pl=a;break;case 0:case 11:case 14:case 15:if(!Ys&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){a=r=r.next;do{var o=a,i=o.destroy;o=o.tag,void 0!==i&&(0!=(2&o)||0!=(4&o))&&tl(n,t,i),a=a.next}while(a!==r)}fl(e,t,n);break;case 1:if(!Ys&&(el(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Cc(n,t,s)}fl(e,t,n);break;case 21:fl(e,t,n);break;case 22:1&n.mode?(Ys=(r=Ys)||null!==n.memoizedState,fl(e,t,n),Ys=r):fl(e,t,n);break;default:fl(e,t,n)}}function hl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Ks),t.forEach((function(t){var r=Pc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function gl(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var a=n[r];try{var i=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 5:dl=l.stateNode,pl=!1;break e;case 3:case 4:dl=l.stateNode.containerInfo,pl=!0;break e}l=l.return}if(null===dl)throw Error(o(160));ml(i,s,a),dl=null,pl=!1;var c=a.alternate;null!==c&&(c.return=null),a.return=null}catch(u){Cc(a,t,u)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)bl(t,e),t=t.sibling}function bl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(gl(t,e),yl(e),4&r){try{rl(3,e,e.return),al(3,e)}catch(g){Cc(e,e.return,g)}try{rl(5,e,e.return)}catch(g){Cc(e,e.return,g)}}break;case 1:gl(t,e),yl(e),512&r&&null!==n&&el(n,n.return);break;case 5:if(gl(t,e),yl(e),512&r&&null!==n&&el(n,n.return),32&e.flags){var a=e.stateNode;try{pe(a,"")}catch(g){Cc(e,e.return,g)}}if(4&r&&null!=(a=e.stateNode)){var i=e.memoizedProps,s=null!==n?n.memoizedProps:i,l=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===l&&"radio"===i.type&&null!=i.name&&Y(a,i),ve(l,s);var u=ve(l,i);for(s=0;s<c.length;s+=2){var d=c[s],p=c[s+1];"style"===d?ge(a,p):"dangerouslySetInnerHTML"===d?de(a,p):"children"===d?pe(a,p):v(a,d,p,u)}switch(l){case"input":K(a,i);break;case"textarea":oe(a,i);break;case"select":var f=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!i.multiple;var m=i.value;null!=m?ne(a,!!i.multiple,m,!1):f!==!!i.multiple&&(null!=i.defaultValue?ne(a,!!i.multiple,i.defaultValue,!0):ne(a,!!i.multiple,i.multiple?[]:"",!1))}a[fa]=i}catch(g){Cc(e,e.return,g)}}break;case 6:if(gl(t,e),yl(e),4&r){if(null===e.stateNode)throw Error(o(162));a=e.stateNode,i=e.memoizedProps;try{a.nodeValue=i}catch(g){Cc(e,e.return,g)}}break;case 3:if(gl(t,e),yl(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{$t(t.containerInfo)}catch(g){Cc(e,e.return,g)}break;case 4:default:gl(t,e),yl(e);break;case 13:gl(t,e),yl(e),8192&(a=e.child).flags&&(i=null!==a.memoizedState,a.stateNode.isHidden=i,!i||null!==a.alternate&&null!==a.alternate.memoizedState||($l=Ye())),4&r&&hl(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Ys=(u=Ys)||d,gl(t,e),Ys=u):gl(t,e),yl(e),8192&r){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!d&&0!=(1&e.mode))for(Xs=e,d=e.child;null!==d;){for(p=Xs=d;null!==Xs;){switch(m=(f=Xs).child,f.tag){case 0:case 11:case 14:case 15:rl(4,f,f.return);break;case 1:el(f,f.return);var h=f.stateNode;if("function"==typeof h.componentWillUnmount){r=f,n=f.return;try{t=r,h.props=t.memoizedProps,h.state=t.memoizedState,h.componentWillUnmount()}catch(g){Cc(r,n,g)}}break;case 5:el(f,f.return);break;case 22:if(null!==f.memoizedState){xl(p);continue}}null!==m?(m.return=f,Xs=m):xl(p)}d=d.sibling}e:for(d=null,p=e;;){if(5===p.tag){if(null===d){d=p;try{a=p.stateNode,u?"function"==typeof(i=a.style).setProperty?i.setProperty("display","none","important"):i.display="none":(l=p.stateNode,s=null!=(c=p.memoizedProps.style)&&c.hasOwnProperty("display")?c.display:null,l.style.display=he("display",s))}catch(g){Cc(e,e.return,g)}}}else if(6===p.tag){if(null===d)try{p.stateNode.nodeValue=u?"":p.memoizedProps}catch(g){Cc(e,e.return,g)}}else if((22!==p.tag&&23!==p.tag||null===p.memoizedState||p===e)&&null!==p.child){p.child.return=p,p=p.child;continue}if(p===e)break e;for(;null===p.sibling;){if(null===p.return||p.return===e)break e;d===p&&(d=null),p=p.return}d===p&&(d=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:gl(t,e),yl(e),4&r&&hl(e);case 21:}}function yl(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(sl(n)){var r=n;break e}n=n.return}throw Error(o(160))}switch(r.tag){case 5:var a=r.stateNode;32&r.flags&&(pe(a,""),r.flags&=-33),ul(e,ll(e),a);break;case 3:case 4:var i=r.stateNode.containerInfo;cl(e,ll(e),i);break;default:throw Error(o(161))}}catch(s){Cc(e,e.return,s)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function vl(e,t,n){Xs=e,wl(e,t,n)}function wl(e,t,n){for(var r=0!=(1&e.mode);null!==Xs;){var a=Xs,o=a.child;if(22===a.tag&&r){var i=null!==a.memoizedState||Js;if(!i){var s=a.alternate,l=null!==s&&null!==s.memoizedState||Ys;s=Js;var c=Ys;if(Js=i,(Ys=l)&&!c)for(Xs=a;null!==Xs;)l=(i=Xs).child,22===i.tag&&null!==i.memoizedState?Sl(a):null!==l?(l.return=i,Xs=l):Sl(a);for(;null!==o;)Xs=o,wl(o,t,n),o=o.sibling;Xs=a,Js=s,Ys=c}kl(e)}else 0!=(8772&a.subtreeFlags)&&null!==o?(o.return=a,Xs=o):kl(e)}}function kl(e){for(;null!==Xs;){var t=Xs;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Ys||al(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Ys)if(null===n)r.componentDidMount();else{var a=t.elementType===t.type?n.memoizedProps:bo(t.type,n.memoizedProps);r.componentDidUpdate(a,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&Mo(t,i,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Mo(t,s,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var d=u.memoizedState;if(null!==d){var p=d.dehydrated;null!==p&&$t(p)}}}break;default:throw Error(o(163))}Ys||512&t.flags&&ol(t)}catch(f){Cc(t,t.return,f)}}if(t===e){Xs=null;break}if(null!==(n=t.sibling)){n.return=t.return,Xs=n;break}Xs=t.return}}function xl(e){for(;null!==Xs;){var t=Xs;if(t===e){Xs=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Xs=n;break}Xs=t.return}}function Sl(e){for(;null!==Xs;){var t=Xs;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{al(4,t)}catch(l){Cc(t,n,l)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var a=t.return;try{r.componentDidMount()}catch(l){Cc(t,a,l)}}var o=t.return;try{ol(t)}catch(l){Cc(t,o,l)}break;case 5:var i=t.return;try{ol(t)}catch(l){Cc(t,i,l)}}}catch(l){Cc(t,t.return,l)}if(t===e){Xs=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Xs=s;break}Xs=t.return}}var El,Cl=Math.ceil,_l=w.ReactCurrentDispatcher,Tl=w.ReactCurrentOwner,jl=w.ReactCurrentBatchConfig,Pl=0,Al=null,Rl=null,Nl=0,Ll=0,Il=Ea(0),Ol=0,Dl=null,Fl=0,Bl=0,Ml=0,zl=null,Ul=null,$l=0,ql=1/0,Hl=null,Zl=!1,Gl=null,Vl=null,Wl=!1,Ql=null,Jl=0,Yl=0,Kl=null,Xl=-1,ec=0;function tc(){return 0!=(6&Pl)?Ye():-1!==Xl?Xl:Xl=Ye()}function nc(e){return 0==(1&e.mode)?1:0!=(2&Pl)&&0!==Nl?Nl&-Nl:null!==go.transition?(0===ec&&(ec=ht()),ec):0!==(e=vt)?e:e=void 0===(e=window.event)?16:Jt(e.type)}function rc(e,t,n,r){if(50<Yl)throw Yl=0,Kl=null,Error(o(185));bt(e,n,r),0!=(2&Pl)&&e===Al||(e===Al&&(0==(2&Pl)&&(Bl|=n),4===Ol&&lc(e,Nl)),ac(e,r),1===n&&0===Pl&&0==(1&t.mode)&&(ql=Ye()+500,Ma&&$a()))}function ac(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,a=e.expirationTimes,o=e.pendingLanes;0<o;){var i=31-it(o),s=1<<i,l=a[i];-1===l?0!=(s&n)&&0==(s&r)||(a[i]=ft(s,t)):l<=t&&(e.expiredLanes|=s),o&=~s}}(e,t);var r=pt(e,e===Al?Nl:0);if(0===r)null!==n&&We(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&We(n),1===t)0===e.tag?function(e){Ma=!0,Ua(e)}(cc.bind(null,e)):Ua(cc.bind(null,e)),ia((function(){0==(6&Pl)&&$a()})),n=null;else{switch(wt(r)){case 1:n=Xe;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Ac(n,oc.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function oc(e,t){if(Xl=-1,ec=0,0!=(6&Pl))throw Error(o(327));var n=e.callbackNode;if(Sc()&&e.callbackNode!==n)return null;var r=pt(e,e===Al?Nl:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=bc(e,r);else{t=r;var a=Pl;Pl|=2;var i=hc();for(Al===e&&Nl===t||(Hl=null,ql=Ye()+500,fc(e,t));;)try{vc();break}catch(l){mc(e,l)}xo(),_l.current=i,Pl=a,null!==Rl?t=0:(Al=null,Nl=0,t=Ol)}if(0!==t){if(2===t&&(0!==(a=mt(e))&&(r=a,t=ic(e,a))),1===t)throw n=Dl,fc(e,0),lc(e,r),ac(e,Ye()),n;if(6===t)lc(e,r);else{if(a=e.current.alternate,0==(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var a=n[r],o=a.getSnapshot;a=a.value;try{if(!sr(o(),a))return!1}catch(s){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(a)&&(2===(t=bc(e,r))&&(0!==(i=mt(e))&&(r=i,t=ic(e,i))),1===t))throw n=Dl,fc(e,0),lc(e,r),ac(e,Ye()),n;switch(e.finishedWork=a,e.finishedLanes=r,t){case 0:case 1:throw Error(o(345));case 2:case 5:xc(e,Ul,Hl);break;case 3:if(lc(e,r),(130023424&r)===r&&10<(t=$l+500-Ye())){if(0!==pt(e,0))break;if(((a=e.suspendedLanes)&r)!==r){tc(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=ra(xc.bind(null,e,Ul,Hl),t);break}xc(e,Ul,Hl);break;case 4:if(lc(e,r),(4194240&r)===r)break;for(t=e.eventTimes,a=-1;0<r;){var s=31-it(r);i=1<<s,(s=t[s])>a&&(a=s),r&=~i}if(r=a,10<(r=(120>(r=Ye()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Cl(r/1960))-r)){e.timeoutHandle=ra(xc.bind(null,e,Ul,Hl),r);break}xc(e,Ul,Hl);break;default:throw Error(o(329))}}}return ac(e,Ye()),e.callbackNode===n?oc.bind(null,e):null}function ic(e,t){var n=zl;return e.current.memoizedState.isDehydrated&&(fc(e,t).flags|=256),2!==(e=bc(e,t))&&(t=Ul,Ul=n,null!==t&&sc(t)),e}function sc(e){null===Ul?Ul=e:Ul.push.apply(Ul,e)}function lc(e,t){for(t&=~Ml,t&=~Bl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-it(t),r=1<<n;e[n]=-1,t&=~r}}function cc(e){if(0!=(6&Pl))throw Error(o(327));Sc();var t=pt(e,0);if(0==(1&t))return ac(e,Ye()),null;var n=bc(e,t);if(0!==e.tag&&2===n){var r=mt(e);0!==r&&(t=r,n=ic(e,r))}if(1===n)throw n=Dl,fc(e,0),lc(e,t),ac(e,Ye()),n;if(6===n)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,xc(e,Ul,Hl),ac(e,Ye()),null}function uc(e,t){var n=Pl;Pl|=1;try{return e(t)}finally{0===(Pl=n)&&(ql=Ye()+500,Ma&&$a())}}function dc(e){null!==Ql&&0===Ql.tag&&0==(6&Pl)&&Sc();var t=Pl;Pl|=1;var n=jl.transition,r=vt;try{if(jl.transition=null,vt=1,e)return e()}finally{vt=r,jl.transition=n,0==(6&(Pl=t))&&$a()}}function pc(){Ll=Il.current,Ca(Il)}function fc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,aa(n)),null!==Rl)for(n=Rl.return;null!==n;){var r=n;switch(to(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&La();break;case 3:oi(),Ca(Pa),Ca(ja),di();break;case 5:si(r);break;case 4:oi();break;case 13:case 19:Ca(li);break;case 10:So(r.type._context);break;case 22:case 23:pc()}n=n.return}if(Al=e,Rl=e=Ic(e.current,null),Nl=Ll=t,Ol=0,Dl=null,Ml=Bl=Fl=0,Ul=zl=null,null!==To){for(t=0;t<To.length;t++)if(null!==(r=(n=To[t]).interleaved)){n.interleaved=null;var a=r.next,o=n.pending;if(null!==o){var i=o.next;o.next=a,r.next=i}n.pending=r}To=null}return e}function mc(e,t){for(;;){var n=Rl;try{if(xo(),pi.current=is,yi){for(var r=hi.memoizedState;null!==r;){var a=r.queue;null!==a&&(a.pending=null),r=r.next}yi=!1}if(mi=0,bi=gi=hi=null,vi=!1,wi=0,Tl.current=null,null===n||null===n.return){Ol=1,Dl=t,Rl=null;break}e:{var i=e,s=n.return,l=n,c=t;if(t=Nl,l.flags|=32768,null!==c&&"object"==typeof c&&"function"==typeof c.then){var u=c,d=l,p=d.tag;if(0==(1&d.mode)&&(0===p||11===p||15===p)){var f=d.alternate;f?(d.updateQueue=f.updateQueue,d.memoizedState=f.memoizedState,d.lanes=f.lanes):(d.updateQueue=null,d.memoizedState=null)}var m=bs(s);if(null!==m){m.flags&=-257,ys(m,s,l,0,t),1&m.mode&&gs(i,u,t),c=u;var h=(t=m).updateQueue;if(null===h){var g=new Set;g.add(c),t.updateQueue=g}else h.add(c);break e}if(0==(1&t)){gs(i,u,t),gc();break e}c=Error(o(426))}else if(ao&&1&l.mode){var b=bs(s);if(null!==b){0==(65536&b.flags)&&(b.flags|=256),ys(b,s,l,0,t),ho(us(c,l));break e}}i=c=us(c,l),4!==Ol&&(Ol=2),null===zl?zl=[i]:zl.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,Fo(i,ms(0,c,t));break e;case 1:l=c;var y=i.type,v=i.stateNode;if(0==(128&i.flags)&&("function"==typeof y.getDerivedStateFromError||null!==v&&"function"==typeof v.componentDidCatch&&(null===Vl||!Vl.has(v)))){i.flags|=65536,t&=-t,i.lanes|=t,Fo(i,hs(i,l,t));break e}}i=i.return}while(null!==i)}kc(n)}catch(w){t=w,Rl===n&&null!==n&&(Rl=n=n.return);continue}break}}function hc(){var e=_l.current;return _l.current=is,null===e?is:e}function gc(){0!==Ol&&3!==Ol&&2!==Ol||(Ol=4),null===Al||0==(268435455&Fl)&&0==(268435455&Bl)||lc(Al,Nl)}function bc(e,t){var n=Pl;Pl|=2;var r=hc();for(Al===e&&Nl===t||(Hl=null,fc(e,t));;)try{yc();break}catch(a){mc(e,a)}if(xo(),Pl=n,_l.current=r,null!==Rl)throw Error(o(261));return Al=null,Nl=0,Ol}function yc(){for(;null!==Rl;)wc(Rl)}function vc(){for(;null!==Rl&&!Qe();)wc(Rl)}function wc(e){var t=El(e.alternate,e,Ll);e.memoizedProps=e.pendingProps,null===t?kc(e):Rl=t,Tl.current=null}function kc(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=Ws(n,t,Ll)))return void(Rl=n)}else{if(null!==(n=Qs(n,t)))return n.flags&=32767,void(Rl=n);if(null===e)return Ol=6,void(Rl=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Rl=t);Rl=t=e}while(null!==t);0===Ol&&(Ol=5)}function xc(e,t,n){var r=vt,a=jl.transition;try{jl.transition=null,vt=1,function(e,t,n,r){do{Sc()}while(null!==Ql);if(0!=(6&Pl))throw Error(o(327));n=e.finishedWork;var a=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var a=31-it(n),o=1<<a;t[a]=0,r[a]=-1,e[a]=-1,n&=~o}}(e,i),e===Al&&(Rl=Al=null,Nl=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||Wl||(Wl=!0,Ac(tt,(function(){return Sc(),null}))),i=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||i){i=jl.transition,jl.transition=null;var s=vt;vt=1;var l=Pl;Pl|=4,Tl.current=null,function(e,t){if(ea=Ht,fr(e=pr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var a=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch(k){n=null;break e}var s=0,l=-1,c=-1,u=0,d=0,p=e,f=null;t:for(;;){for(var m;p!==n||0!==a&&3!==p.nodeType||(l=s+a),p!==i||0!==r&&3!==p.nodeType||(c=s+r),3===p.nodeType&&(s+=p.nodeValue.length),null!==(m=p.firstChild);)f=p,p=m;for(;;){if(p===e)break t;if(f===n&&++u===a&&(l=s),f===i&&++d===r&&(c=s),null!==(m=p.nextSibling))break;f=(p=f).parentNode}p=m}n=-1===l||-1===c?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(ta={focusedElem:e,selectionRange:n},Ht=!1,Xs=t;null!==Xs;)if(e=(t=Xs).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,Xs=e;else for(;null!==Xs;){t=Xs;try{var h=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==h){var g=h.memoizedProps,b=h.memoizedState,y=t.stateNode,v=y.getSnapshotBeforeUpdate(t.elementType===t.type?g:bo(t.type,g),b);y.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(o(163))}}catch(k){Cc(t,t.return,k)}if(null!==(e=t.sibling)){e.return=t.return,Xs=e;break}Xs=t.return}h=nl,nl=!1}(e,n),bl(n,e),mr(ta),Ht=!!ea,ta=ea=null,e.current=n,vl(n,e,a),Je(),Pl=l,vt=s,jl.transition=i}else e.current=n;if(Wl&&(Wl=!1,Ql=e,Jl=a),i=e.pendingLanes,0===i&&(Vl=null),function(e){if(ot&&"function"==typeof ot.onCommitFiberRoot)try{ot.onCommitFiberRoot(at,e,void 0,128==(128&e.current.flags))}catch(t){}}(n.stateNode),ac(e,Ye()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)a=t[n],r(a.value,{componentStack:a.stack,digest:a.digest});if(Zl)throw Zl=!1,e=Gl,Gl=null,e;0!=(1&Jl)&&0!==e.tag&&Sc(),i=e.pendingLanes,0!=(1&i)?e===Kl?Yl++:(Yl=0,Kl=e):Yl=0,$a()}(e,t,n,r)}finally{jl.transition=a,vt=r}return null}function Sc(){if(null!==Ql){var e=wt(Jl),t=jl.transition,n=vt;try{if(jl.transition=null,vt=16>e?16:e,null===Ql)var r=!1;else{if(e=Ql,Ql=null,Jl=0,0!=(6&Pl))throw Error(o(331));var a=Pl;for(Pl|=4,Xs=e.current;null!==Xs;){var i=Xs,s=i.child;if(0!=(16&Xs.flags)){var l=i.deletions;if(null!==l){for(var c=0;c<l.length;c++){var u=l[c];for(Xs=u;null!==Xs;){var d=Xs;switch(d.tag){case 0:case 11:case 15:rl(8,d,i)}var p=d.child;if(null!==p)p.return=d,Xs=p;else for(;null!==Xs;){var f=(d=Xs).sibling,m=d.return;if(il(d),d===u){Xs=null;break}if(null!==f){f.return=m,Xs=f;break}Xs=m}}}var h=i.alternate;if(null!==h){var g=h.child;if(null!==g){h.child=null;do{var b=g.sibling;g.sibling=null,g=b}while(null!==g)}}Xs=i}}if(0!=(2064&i.subtreeFlags)&&null!==s)s.return=i,Xs=s;else e:for(;null!==Xs;){if(0!=(2048&(i=Xs).flags))switch(i.tag){case 0:case 11:case 15:rl(9,i,i.return)}var y=i.sibling;if(null!==y){y.return=i.return,Xs=y;break e}Xs=i.return}}var v=e.current;for(Xs=v;null!==Xs;){var w=(s=Xs).child;if(0!=(2064&s.subtreeFlags)&&null!==w)w.return=s,Xs=w;else e:for(s=v;null!==Xs;){if(0!=(2048&(l=Xs).flags))try{switch(l.tag){case 0:case 11:case 15:al(9,l)}}catch(x){Cc(l,l.return,x)}if(l===s){Xs=null;break e}var k=l.sibling;if(null!==k){k.return=l.return,Xs=k;break e}Xs=l.return}}if(Pl=a,$a(),ot&&"function"==typeof ot.onPostCommitFiberRoot)try{ot.onPostCommitFiberRoot(at,e)}catch(x){}r=!0}return r}finally{vt=n,jl.transition=t}}return!1}function Ec(e,t,n){e=Oo(e,t=ms(0,t=us(n,t),1),1),t=tc(),null!==e&&(bt(e,1,t),ac(e,t))}function Cc(e,t,n){if(3===e.tag)Ec(e,e,n);else for(;null!==t;){if(3===t.tag){Ec(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Vl||!Vl.has(r))){t=Oo(t,e=hs(t,e=us(n,e),1),1),e=tc(),null!==t&&(bt(t,1,e),ac(t,e));break}}t=t.return}}function _c(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=tc(),e.pingedLanes|=e.suspendedLanes&n,Al===e&&(Nl&n)===n&&(4===Ol||3===Ol&&(130023424&Nl)===Nl&&500>Ye()-$l?fc(e,0):Ml|=n),ac(e,t)}function Tc(e,t){0===t&&(0==(1&e.mode)?t=1:(t=ut,0==(130023424&(ut<<=1))&&(ut=4194304)));var n=tc();null!==(e=Ao(e,t))&&(bt(e,t,n),ac(e,n))}function jc(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Tc(e,n)}function Pc(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(o(314))}null!==r&&r.delete(t),Tc(e,n)}function Ac(e,t){return Ve(e,t)}function Rc(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Nc(e,t,n,r){return new Rc(e,t,n,r)}function Lc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ic(e,t){var n=e.alternate;return null===n?((n=Nc(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Oc(e,t,n,r,a,i){var s=2;if(r=e,"function"==typeof e)Lc(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case S:return Dc(n.children,a,i,t);case E:s=8,a|=8;break;case C:return(e=Nc(12,n,t,2|a)).elementType=C,e.lanes=i,e;case P:return(e=Nc(13,n,t,a)).elementType=P,e.lanes=i,e;case A:return(e=Nc(19,n,t,a)).elementType=A,e.lanes=i,e;case L:return Fc(n,a,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case _:s=10;break e;case T:s=9;break e;case j:s=11;break e;case R:s=14;break e;case N:s=16,r=null;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Nc(s,n,t,a)).elementType=e,t.type=r,t.lanes=i,t}function Dc(e,t,n,r){return(e=Nc(7,e,r,t)).lanes=n,e}function Fc(e,t,n,r){return(e=Nc(22,e,r,t)).elementType=L,e.lanes=n,e.stateNode={isHidden:!1},e}function Bc(e,t,n){return(e=Nc(6,e,null,t)).lanes=n,e}function Mc(e,t,n){return(t=Nc(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function zc(e,t,n,r,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=gt(0),this.expirationTimes=gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gt(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function Uc(e,t,n,r,a,o,i,s,l){return e=new zc(e,t,n,s,l),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Nc(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},No(o),e}function $c(e){if(!e)return Ta;e:{if($e(e=e._reactInternals)!==e||1!==e.tag)throw Error(o(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Na(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(o(171))}if(1===e.tag){var n=e.type;if(Na(n))return Oa(e,n,t)}return t}function qc(e,t,n,r,a,o,i,s,l){return(e=Uc(n,r,!0,e,0,o,0,s,l)).context=$c(null),n=e.current,(o=Io(r=tc(),a=nc(n))).callback=null!=t?t:null,Oo(n,o,a),e.current.lanes=a,bt(e,a,r),ac(e,r),e}function Hc(e,t,n,r){var a=t.current,o=tc(),i=nc(a);return n=$c(n),null===t.context?t.context=n:t.pendingContext=n,(t=Io(o,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Oo(a,t,i))&&(rc(e,a,i,o),Do(e,a,i)),i}function Zc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Gc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Vc(e,t){Gc(e,t),(e=e.alternate)&&Gc(e,t)}El=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Pa.current)ws=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return ws=!1,function(e,t,n){switch(t.tag){case 3:As(t),mo();break;case 5:ii(t);break;case 1:Na(t.type)&&Da(t);break;case 4:ai(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,a=t.memoizedProps.value;_a(yo,r._currentValue),r._currentValue=a;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(_a(li,1&li.current),t.flags|=128,null):0!=(n&t.child.childLanes)?Bs(e,t,n):(_a(li,1&li.current),null!==(e=Zs(e,t,n))?e.sibling:null);_a(li,1&li.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return qs(e,t,n);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),_a(li,li.current),r)break;return null;case 22:case 23:return t.lanes=0,Cs(e,t,n)}return Zs(e,t,n)}(e,t,n);ws=0!=(131072&e.flags)}else ws=!1,ao&&0!=(1048576&t.flags)&&Xa(t,Ga,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Hs(e,t),e=t.pendingProps;var a=Ra(t,ja.current);Co(t,n),a=Ei(null,t,r,e,a,n);var i=Ci();return t.flags|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Na(r)?(i=!0,Da(t)):i=!1,t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,No(t),a.updater=$o,t.stateNode=a,a._reactInternals=t,Go(t,r,e,n),t=Ps(null,t,r,!0,i,n)):(t.tag=0,ao&&i&&eo(t),ks(null,t,a,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Hs(e,t),e=t.pendingProps,r=(a=r._init)(r._payload),t.type=r,a=t.tag=function(e){if("function"==typeof e)return Lc(e)?1:0;if(null!=e){if((e=e.$$typeof)===j)return 11;if(e===R)return 14}return 2}(r),e=bo(r,e),a){case 0:t=Ts(null,t,r,e,n);break e;case 1:t=js(null,t,r,e,n);break e;case 11:t=xs(null,t,r,e,n);break e;case 14:t=Ss(null,t,r,bo(r.type,e),n);break e}throw Error(o(306,r,""))}return t;case 0:return r=t.type,a=t.pendingProps,Ts(e,t,r,a=t.elementType===r?a:bo(r,a),n);case 1:return r=t.type,a=t.pendingProps,js(e,t,r,a=t.elementType===r?a:bo(r,a),n);case 3:e:{if(As(t),null===e)throw Error(o(387));r=t.pendingProps,a=(i=t.memoizedState).element,Lo(e,t),Bo(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated){if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=Rs(e,t,r,n,a=us(Error(o(423)),t));break e}if(r!==a){t=Rs(e,t,r,n,a=us(Error(o(424)),t));break e}for(ro=ca(t.stateNode.containerInfo.firstChild),no=t,ao=!0,oo=null,n=Ko(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(mo(),r===a){t=Zs(e,t,n);break e}ks(e,t,r,n)}t=t.child}return t;case 5:return ii(t),null===e&&co(t),r=t.type,a=t.pendingProps,i=null!==e?e.memoizedProps:null,s=a.children,na(r,a)?s=null:null!==i&&na(r,i)&&(t.flags|=32),_s(e,t),ks(e,t,s,n),t.child;case 6:return null===e&&co(t),null;case 13:return Bs(e,t,n);case 4:return ai(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Yo(t,null,r,n):ks(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,xs(e,t,r,a=t.elementType===r?a:bo(r,a),n);case 7:return ks(e,t,t.pendingProps,n),t.child;case 8:case 12:return ks(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,a=t.pendingProps,i=t.memoizedProps,s=a.value,_a(yo,r._currentValue),r._currentValue=s,null!==i)if(sr(i.value,s)){if(i.children===a.children&&!Pa.current){t=Zs(e,t,n);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var l=i.dependencies;if(null!==l){s=i.child;for(var c=l.firstContext;null!==c;){if(c.context===r){if(1===i.tag){(c=Io(-1,n&-n)).tag=2;var u=i.updateQueue;if(null!==u){var d=(u=u.shared).pending;null===d?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}i.lanes|=n,null!==(c=i.alternate)&&(c.lanes|=n),Eo(i.return,n,t),l.lanes|=n;break}c=c.next}}else if(10===i.tag)s=i.type===t.type?null:i.child;else if(18===i.tag){if(null===(s=i.return))throw Error(o(341));s.lanes|=n,null!==(l=s.alternate)&&(l.lanes|=n),Eo(s,n,t),s=i.sibling}else s=i.child;if(null!==s)s.return=i;else for(s=i;null!==s;){if(s===t){s=null;break}if(null!==(i=s.sibling)){i.return=s.return,s=i;break}s=s.return}i=s}ks(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=t.pendingProps.children,Co(t,n),r=r(a=_o(a)),t.flags|=1,ks(e,t,r,n),t.child;case 14:return a=bo(r=t.type,t.pendingProps),Ss(e,t,r,a=bo(r.type,a),n);case 15:return Es(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:bo(r,a),Hs(e,t),t.tag=1,Na(r)?(e=!0,Da(t)):e=!1,Co(t,n),Ho(t,r,a),Go(t,r,a,n),Ps(null,t,r,!0,e,n);case 19:return qs(e,t,n);case 22:return Cs(e,t,n)}throw Error(o(156,t.tag))};var Wc="function"==typeof reportError?reportError:function(e){console.error(e)};function Qc(e){this._internalRoot=e}function Jc(e){this._internalRoot=e}function Yc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Kc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Xc(){}function eu(e,t,n,r,a){var o=n._reactRootContainer;if(o){var i=o;if("function"==typeof a){var s=a;a=function(){var e=Zc(i);s.call(e)}}Hc(t,i,e,a)}else i=function(e,t,n,r,a){if(a){if("function"==typeof r){var o=r;r=function(){var e=Zc(i);o.call(e)}}var i=qc(t,r,e,0,null,!1,0,"",Xc);return e._reactRootContainer=i,e[ma]=i.current,$r(8===e.nodeType?e.parentNode:e),dc(),i}for(;a=e.lastChild;)e.removeChild(a);if("function"==typeof r){var s=r;r=function(){var e=Zc(l);s.call(e)}}var l=Uc(e,0,!1,null,0,!1,0,"",Xc);return e._reactRootContainer=l,e[ma]=l.current,$r(8===e.nodeType?e.parentNode:e),dc((function(){Hc(t,l,n,r)})),l}(n,t,e,a,r);return Zc(i)}Jc.prototype.render=Qc.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(o(409));Hc(e,t,null,null)},Jc.prototype.unmount=Qc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;dc((function(){Hc(null,e,null,null)})),t[ma]=null}},Jc.prototype.unstable_scheduleHydration=function(e){if(e){var t=Et();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Lt.length&&0!==t&&t<Lt[n].priority;n++);Lt.splice(n,0,e),0===n&&Ft(e)}},kt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(yt(t,1|n),ac(t,Ye()),0==(6&Pl)&&(ql=Ye()+500,$a()))}break;case 13:dc((function(){var t=Ao(e,1);if(null!==t){var n=tc();rc(t,e,1,n)}})),Vc(e,1)}},xt=function(e){if(13===e.tag){var t=Ao(e,134217728);if(null!==t)rc(t,e,134217728,tc());Vc(e,134217728)}},St=function(e){if(13===e.tag){var t=nc(e),n=Ao(e,t);if(null!==n)rc(n,e,t,tc());Vc(e,t)}},Et=function(){return vt},Ct=function(e,t){var n=vt;try{return vt=e,t()}finally{vt=n}},xe=function(e,t,n){switch(t){case"input":if(K(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=ka(r);if(!a)throw Error(o(90));V(r),K(r,a)}}}break;case"textarea":oe(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},je=uc,Pe=dc;var tu={usingClientEntryPoint:!1,Events:[va,wa,ka,_e,Te,uc]},nu={findFiberByHostInstance:ya,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},ru={bundleType:nu.bundleType,version:nu.version,rendererPackageName:nu.rendererPackageName,rendererConfig:nu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ze(e))?null:e.stateNode},findFiberByHostInstance:nu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var au=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!au.isDisabled&&au.supportsFiber)try{at=au.inject(ru),ot=au}catch(ue){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tu,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Yc(t))throw Error(o(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:x,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Yc(e))throw Error(o(299));var n=!1,r="",a=Wc;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(a=t.onRecoverableError)),t=Uc(e,1,!1,null,0,n,0,r,a),e[ma]=t.current,$r(8===e.nodeType?e.parentNode:e),new Qc(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(o(188));throw e=Object.keys(e).join(","),Error(o(268,e))}return e=null===(e=Ze(t))?null:e.stateNode},t.flushSync=function(e){return dc(e)},t.hydrate=function(e,t,n){if(!Kc(t))throw Error(o(200));return eu(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Yc(e))throw Error(o(405));var r=null!=n&&n.hydratedSources||null,a=!1,i="",s=Wc;if(null!=n&&(!0===n.unstable_strictMode&&(a=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=qc(t,null,e,1,null!=n?n:null,a,0,i,s),e[ma]=t.current,$r(e),r)for(e=0;e<r.length;e++)a=(a=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,a]:t.mutableSourceEagerHydrationData.push(n,a);return new Jc(t)},t.render=function(e,t,n){if(!Kc(t))throw Error(o(200));return eu(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Kc(e))throw Error(o(40));return!!e._reactRootContainer&&(dc((function(){eu(null,null,e,!1,(function(){e._reactRootContainer=null,e[ma]=null}))})),!0)},t.unstable_batchedUpdates=uc,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Kc(n))throw Error(o(200));if(null==e||void 0===e._reactInternals)throw Error(o(38));return eu(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},745:(e,t,n)=>{"use strict";var r=n(3935);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},3935:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(4448)},9590:e=>{var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,a="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){if(e.constructor!==i.constructor)return!1;var s,l,c,u;if(Array.isArray(e)){if((s=e.length)!=i.length)return!1;for(l=s;0!=l--;)if(!o(e[l],i[l]))return!1;return!0}if(n&&e instanceof Map&&i instanceof Map){if(e.size!==i.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!i.has(l.value[0]))return!1;for(u=e.entries();!(l=u.next()).done;)if(!o(l.value[1],i.get(l.value[0])))return!1;return!0}if(r&&e instanceof Set&&i instanceof Set){if(e.size!==i.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!i.has(l.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(i)){if((s=e.length)!=i.length)return!1;for(l=s;0!=l--;)if(e[l]!==i[l])return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof i.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof i.toString)return e.toString()===i.toString();if((s=(c=Object.keys(e)).length)!==Object.keys(i).length)return!1;for(l=s;0!=l--;)if(!Object.prototype.hasOwnProperty.call(i,c[l]))return!1;if(t&&e instanceof Element)return!1;for(l=s;0!=l--;)if(("_owner"!==c[l]&&"__v"!==c[l]&&"__o"!==c[l]||!e.$$typeof)&&!o(e[c[l]],i[c[l]]))return!1;return!0}return e!=e&&i!=i}e.exports=function(e,t){try{return o(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},405:(e,t,n)=>{"use strict";n.d(t,{B6:()=>Z,ql:()=>X});var r=n(7294),a=n(5697),o=n.n(a),i=n(9590),s=n.n(i),l=n(1143),c=n.n(l),u=n(6774),d=n.n(u);function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(this,arguments)}function f(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,m(e,t)}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function h(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(a[n]=e[n]);return a}var g={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},b={rel:["amphtml","canonical","alternate"]},y={type:["application/ld+json"]},v={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},w=Object.keys(g).map((function(e){return g[e]})),k={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},x=Object.keys(k).reduce((function(e,t){return e[k[t]]=t,e}),{}),S=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},E=function(e){var t=S(e,g.TITLE),n=S(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,(function(){return t}));var r=S(e,"defaultTitle");return t||r||void 0},C=function(e){return S(e,"onChangeClientState")||function(){}},_=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return p({},e,t)}),{})},T=function(e,t){return t.filter((function(e){return void 0!==e[g.BASE]})).map((function(e){return e[g.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),a=0;a<r.length;a+=1){var o=r[a].toLowerCase();if(-1!==e.indexOf(o)&&n[o])return t.concat(n)}return t}),[])},j=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof t[e]+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var a={};n.filter((function(e){for(var n,o=Object.keys(e),i=0;i<o.length;i+=1){var s=o[i],l=s.toLowerCase();-1===t.indexOf(l)||"rel"===n&&"canonical"===e[n].toLowerCase()||"rel"===l&&"stylesheet"===e[l].toLowerCase()||(n=l),-1===t.indexOf(s)||"innerHTML"!==s&&"cssText"!==s&&"itemprop"!==s||(n=s)}if(!n||!e[n])return!1;var c=e[n].toLowerCase();return r[n]||(r[n]={}),a[n]||(a[n]={}),!r[n][c]&&(a[n][c]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var o=Object.keys(a),i=0;i<o.length;i+=1){var s=o[i],l=p({},r[s],a[s]);r[s]=l}return e}),[]).reverse()},P=function(e,t){if(Array.isArray(e)&&e.length)for(var n=0;n<e.length;n+=1)if(e[n][t])return!0;return!1},A=function(e){return Array.isArray(e)?e.join(""):e},R=function(e,t){return Array.isArray(e)?e.reduce((function(e,n){return function(e,t){for(var n=Object.keys(e),r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1}(n,t)?e.priority.push(n):e.default.push(n),e}),{priority:[],default:[]}):{default:e}},N=function(e,t){var n;return p({},e,((n={})[t]=void 0,n))},L=[g.NOSCRIPT,g.SCRIPT,g.STYLE],I=function(e,t){return void 0===t&&(t=!0),!1===t?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},O=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},D=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce((function(t,n){return t[k[n]||n]=e[n],t}),t)},F=function(e,t){return t.map((function(t,n){var a,o=((a={key:n})["data-rh"]=!0,a);return Object.keys(t).forEach((function(e){var n=k[e]||e;"innerHTML"===n||"cssText"===n?o.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:o[n]=t[e]})),r.createElement(e,o)}))},B=function(e,t,n){switch(e){case g.TITLE:return{toComponent:function(){return n=t.titleAttributes,(a={key:e=t.title})["data-rh"]=!0,o=D(n,a),[r.createElement(g.TITLE,o,e)];var e,n,a,o},toString:function(){return function(e,t,n,r){var a=O(n),o=A(t);return a?"<"+e+' data-rh="true" '+a+">"+I(o,r)+"</"+e+">":"<"+e+' data-rh="true">'+I(o,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return D(t)},toString:function(){return O(t)}};default:return{toComponent:function(){return F(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var a=Object.keys(r).filter((function(e){return!("innerHTML"===e||"cssText"===e)})).reduce((function(e,t){var a=void 0===r[t]?t:t+'="'+I(r[t],n)+'"';return e?e+" "+a:a}),""),o=r.innerHTML||r.cssText||"",i=-1===L.indexOf(e);return t+"<"+e+' data-rh="true" '+a+(i?"/>":">"+o+"</"+e+">")}),"")}(e,t,n)}}}},M=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,a=e.htmlAttributes,o=e.noscriptTags,i=e.styleTags,s=e.title,l=void 0===s?"":s,c=e.titleAttributes,u=e.linkTags,d=e.metaTags,p=e.scriptTags,f={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var m=function(e){var t=e.linkTags,n=e.scriptTags,r=e.encode,a=R(e.metaTags,v),o=R(t,b),i=R(n,y);return{priorityMethods:{toComponent:function(){return[].concat(F(g.META,a.priority),F(g.LINK,o.priority),F(g.SCRIPT,i.priority))},toString:function(){return B(g.META,a.priority,r)+" "+B(g.LINK,o.priority,r)+" "+B(g.SCRIPT,i.priority,r)}},metaTags:a.default,linkTags:o.default,scriptTags:i.default}}(e);f=m.priorityMethods,u=m.linkTags,d=m.metaTags,p=m.scriptTags}return{priority:f,base:B(g.BASE,t,r),bodyAttributes:B("bodyAttributes",n,r),htmlAttributes:B("htmlAttributes",a,r),link:B(g.LINK,u,r),meta:B(g.META,d,r),noscript:B(g.NOSCRIPT,o,r),script:B(g.SCRIPT,p,r),style:B(g.STYLE,i,r),title:B(g.TITLE,{title:l,titleAttributes:c},r)}},z=[],U=function(e,t){var n=this;void 0===t&&(t="undefined"!=typeof document),this.instances=[],this.value={setHelmet:function(e){n.context.helmet=e},helmetInstances:{get:function(){return n.canUseDOM?z:n.instances},add:function(e){(n.canUseDOM?z:n.instances).push(e)},remove:function(e){var t=(n.canUseDOM?z:n.instances).indexOf(e);(n.canUseDOM?z:n.instances).splice(t,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=M({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},$=r.createContext({}),q=o().shape({setHelmet:o().func,helmetInstances:o().shape({get:o().func,add:o().func,remove:o().func})}),H="undefined"!=typeof document,Z=function(e){function t(n){var r;return(r=e.call(this,n)||this).helmetData=new U(r.props.context,t.canUseDOM),r}return f(t,e),t.prototype.render=function(){return r.createElement($.Provider,{value:this.helmetData.value},this.props.children)},t}(r.Component);Z.canUseDOM=H,Z.propTypes={context:o().shape({helmet:o().shape()}),children:o().node.isRequired},Z.defaultProps={context:{}},Z.displayName="HelmetProvider";var G=function(e,t){var n,r=document.head||document.querySelector(g.HEAD),a=r.querySelectorAll(e+"[data-rh]"),o=[].slice.call(a),i=[];return t&&t.length&&t.forEach((function(t){var r=document.createElement(e);for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&("innerHTML"===a?r.innerHTML=t.innerHTML:"cssText"===a?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(a,void 0===t[a]?"":t[a]));r.setAttribute("data-rh","true"),o.some((function(e,t){return n=t,r.isEqualNode(e)}))?o.splice(n,1):i.push(r)})),o.forEach((function(e){return e.parentNode.removeChild(e)})),i.forEach((function(e){return r.appendChild(e)})),{oldTags:o,newTags:i}},V=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-rh"),a=r?r.split(","):[],o=[].concat(a),i=Object.keys(t),s=0;s<i.length;s+=1){var l=i[s],c=t[l]||"";n.getAttribute(l)!==c&&n.setAttribute(l,c),-1===a.indexOf(l)&&a.push(l);var u=o.indexOf(l);-1!==u&&o.splice(u,1)}for(var d=o.length-1;d>=0;d-=1)n.removeAttribute(o[d]);a.length===o.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==i.join(",")&&n.setAttribute("data-rh",i.join(","))}},W=function(e,t){var n=e.baseTag,r=e.htmlAttributes,a=e.linkTags,o=e.metaTags,i=e.noscriptTags,s=e.onChangeClientState,l=e.scriptTags,c=e.styleTags,u=e.title,d=e.titleAttributes;V(g.BODY,e.bodyAttributes),V(g.HTML,r),function(e,t){void 0!==e&&document.title!==e&&(document.title=A(e)),V(g.TITLE,t)}(u,d);var p={baseTag:G(g.BASE,n),linkTags:G(g.LINK,a),metaTags:G(g.META,o),noscriptTags:G(g.NOSCRIPT,i),scriptTags:G(g.SCRIPT,l),styleTags:G(g.STYLE,c)},f={},m={};Object.keys(p).forEach((function(e){var t=p[e],n=t.newTags,r=t.oldTags;n.length&&(f[e]=n),r.length&&(m[e]=p[e].oldTags)})),t&&t(),s(e,f,m)},Q=null,J=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).rendered=!1,t}f(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!d()(e,this.props)},n.componentDidUpdate=function(){this.emitChange()},n.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},n.emitChange=function(){var e,t,n=this.props.context,r=n.setHelmet,a=null,o=(e=n.helmetInstances.get().map((function(e){var t=p({},e.props);return delete t.context,t})),{baseTag:T(["href"],e),bodyAttributes:_("bodyAttributes",e),defer:S(e,"defer"),encode:S(e,"encodeSpecialCharacters"),htmlAttributes:_("htmlAttributes",e),linkTags:j(g.LINK,["rel","href"],e),metaTags:j(g.META,["name","charset","http-equiv","property","itemprop"],e),noscriptTags:j(g.NOSCRIPT,["innerHTML"],e),onChangeClientState:C(e),scriptTags:j(g.SCRIPT,["src","innerHTML"],e),styleTags:j(g.STYLE,["cssText"],e),title:E(e),titleAttributes:_("titleAttributes",e),prioritizeSeoTags:P(e,"prioritizeSeoTags")});Z.canUseDOM?(t=o,Q&&cancelAnimationFrame(Q),t.defer?Q=requestAnimationFrame((function(){W(t,(function(){Q=null}))})):(W(t),Q=null)):M&&(a=M(o)),r(a)},n.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},n.render=function(){return this.init(),null},t}(r.Component);J.propTypes={context:q.isRequired},J.displayName="HelmetDispatcher";var Y=["children"],K=["children"],X=function(e){function t(){return e.apply(this,arguments)||this}f(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!s()(N(this.props,"helmetData"),N(e,"helmetData"))},n.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case g.SCRIPT:case g.NOSCRIPT:return{innerHTML:t};case g.STYLE:return{cssText:t};default:throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},n.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren;return p({},r,((t={})[n.type]=[].concat(r[n.type]||[],[p({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},n.mapObjectTypeChildren=function(e){var t,n,r=e.child,a=e.newProps,o=e.newChildProps,i=e.nestedChildren;switch(r.type){case g.TITLE:return p({},a,((t={})[r.type]=i,t.titleAttributes=p({},o),t));case g.BODY:return p({},a,{bodyAttributes:p({},o)});case g.HTML:return p({},a,{htmlAttributes:p({},o)});default:return p({},a,((n={})[r.type]=p({},o),n))}},n.mapArrayTypeChildrenToProps=function(e,t){var n=p({},t);return Object.keys(e).forEach((function(t){var r;n=p({},n,((r={})[t]=e[t],r))})),n},n.warnOnInvalidChildren=function(e,t){return c()(w.some((function(t){return e.type===t})),"function"==typeof e.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+w.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),c()(!t||"string"==typeof t||Array.isArray(t)&&!t.some((function(e){return"string"!=typeof e})),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``}</"+e.type+"> ) Refer to our API for more information."),!0},n.mapChildrenToProps=function(e,t){var n=this,a={};return r.Children.forEach(e,(function(e){if(e&&e.props){var r=e.props,o=r.children,i=h(r,Y),s=Object.keys(i).reduce((function(e,t){return e[x[t]||t]=i[t],e}),{}),l=e.type;switch("symbol"==typeof l?l=l.toString():n.warnOnInvalidChildren(e,o),l){case g.FRAGMENT:t=n.mapChildrenToProps(o,t);break;case g.LINK:case g.META:case g.NOSCRIPT:case g.SCRIPT:case g.STYLE:a=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:a,newChildProps:s,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:s,nestedChildren:o})}}})),this.mapArrayTypeChildrenToProps(a,t)},n.render=function(){var e=this.props,t=e.children,n=h(e,K),a=p({},n),o=n.helmetData;return t&&(a=this.mapChildrenToProps(t,a)),!o||o instanceof U||(o=new U(o.context,o.instances)),o?r.createElement(J,p({},a,{context:o.value,helmetData:void 0})):r.createElement($.Consumer,null,(function(e){return r.createElement(J,p({},a,{context:e}))}))},t}(r.Component);X.propTypes={base:o().object,bodyAttributes:o().object,children:o().oneOfType([o().arrayOf(o().node),o().node]),defaultTitle:o().string,defer:o().bool,encodeSpecialCharacters:o().bool,htmlAttributes:o().object,link:o().arrayOf(o().object),meta:o().arrayOf(o().object),noscript:o().arrayOf(o().object),onChangeClientState:o().func,script:o().arrayOf(o().object),style:o().arrayOf(o().object),title:o().string,titleAttributes:o().object,titleTemplate:o().string,prioritizeSeoTags:o().bool,helmetData:o().object},X.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},X.displayName="Helmet"},9921:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,m=n?Symbol.for("react.suspense_list"):60120,h=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,b=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,v=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case o:case s:case i:case f:return e;default:switch(e=e&&e.$$typeof){case c:case p:case g:case h:case l:return e;default:return t}}case a:return t}}}function x(e){return k(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=p,t.Fragment=o,t.Lazy=g,t.Memo=h,t.Portal=a,t.Profiler=s,t.StrictMode=i,t.Suspense=f,t.isAsyncMode=function(e){return x(e)||k(e)===u},t.isConcurrentMode=x,t.isContextConsumer=function(e){return k(e)===c},t.isContextProvider=function(e){return k(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return k(e)===p},t.isFragment=function(e){return k(e)===o},t.isLazy=function(e){return k(e)===g},t.isMemo=function(e){return k(e)===h},t.isPortal=function(e){return k(e)===a},t.isProfiler=function(e){return k(e)===s},t.isStrictMode=function(e){return k(e)===i},t.isSuspense=function(e){return k(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===s||e===i||e===f||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===h||e.$$typeof===l||e.$$typeof===c||e.$$typeof===p||e.$$typeof===y||e.$$typeof===v||e.$$typeof===w||e.$$typeof===b)},t.typeOf=k},9864:(e,t,n)=>{"use strict";e.exports=n(9921)},8356:(e,t,n)=>{"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}var s=n(7294),l=n(5697),c=[],u=[];function d(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((function(e){return n.loading=!1,n.loaded=e,e})).catch((function(e){throw n.loading=!1,n.error=e,e})),n}function p(e){var t={loading:!1,loaded:{},error:null},n=[];try{Object.keys(e).forEach((function(r){var a=d(e[r]);a.loading?t.loading=!0:(t.loaded[r]=a.loaded,t.error=a.error),n.push(a.promise),a.promise.then((function(e){t.loaded[r]=e})).catch((function(e){t.error=e}))}))}catch(r){t.error=r}return t.promise=Promise.all(n).then((function(e){return t.loading=!1,e})).catch((function(e){throw t.loading=!1,e})),t}function f(e,t){return s.createElement((n=e)&&n.__esModule?n.default:n,t);var n}function m(e,t){var d,p;if(!t.loading)throw new Error("react-loadable requires a `loading` component");var m=i({loader:null,loading:null,delay:200,timeout:null,render:f,webpack:null,modules:null},t),h=null;function g(){return h||(h=e(m.loader)),h.promise}return c.push(g),"function"==typeof m.webpack&&u.push((function(){if((0,m.webpack)().every((function(e){return void 0!==e&&void 0!==n.m[e]})))return g()})),p=d=function(t){function n(n){var r;return o(a(a(r=t.call(this,n)||this)),"retry",(function(){r.setState({error:null,loading:!0,timedOut:!1}),h=e(m.loader),r._loadModule()})),g(),r.state={error:h.error,pastDelay:!1,timedOut:!1,loading:h.loading,loaded:h.loaded},r}r(n,t),n.preload=function(){return g()};var i=n.prototype;return i.UNSAFE_componentWillMount=function(){this._loadModule()},i.componentDidMount=function(){this._mounted=!0},i._loadModule=function(){var e=this;if(this.context.loadable&&Array.isArray(m.modules)&&m.modules.forEach((function(t){e.context.loadable.report(t)})),h.loading){var t=function(t){e._mounted&&e.setState(t)};"number"==typeof m.delay&&(0===m.delay?this.setState({pastDelay:!0}):this._delay=setTimeout((function(){t({pastDelay:!0})}),m.delay)),"number"==typeof m.timeout&&(this._timeout=setTimeout((function(){t({timedOut:!0})}),m.timeout));var n=function(){t({error:h.error,loaded:h.loaded,loading:h.loading}),e._clearTimeouts()};h.promise.then((function(){return n(),null})).catch((function(e){return n(),null}))}},i.componentWillUnmount=function(){this._mounted=!1,this._clearTimeouts()},i._clearTimeouts=function(){clearTimeout(this._delay),clearTimeout(this._timeout)},i.render=function(){return this.state.loading||this.state.error?s.createElement(m.loading,{isLoading:this.state.loading,pastDelay:this.state.pastDelay,timedOut:this.state.timedOut,error:this.state.error,retry:this.retry}):this.state.loaded?m.render(this.state.loaded,this.props):null},n}(s.Component),o(d,"contextTypes",{loadable:l.shape({report:l.func.isRequired})}),p}function h(e){return m(d,e)}h.Map=function(e){if("function"!=typeof e.render)throw new Error("LoadableMap requires a `render(loaded, props)` function");return m(p,e)};var g=function(e){function t(){return e.apply(this,arguments)||this}r(t,e);var n=t.prototype;return n.getChildContext=function(){return{loadable:{report:this.props.report}}},n.render=function(){return s.Children.only(this.props.children)},t}(s.Component);function b(e){for(var t=[];e.length;){var n=e.pop();t.push(n())}return Promise.all(t).then((function(){if(e.length)return b(e)}))}o(g,"propTypes",{report:l.func.isRequired}),o(g,"childContextTypes",{loadable:l.shape({report:l.func.isRequired}).isRequired}),h.Capture=g,h.preloadAll=function(){return new Promise((function(e,t){b(c).then(e,t)}))},h.preloadReady=function(){return new Promise((function(e,t){b(u).then(e,e)}))},e.exports=h},8790:(e,t,n)=>{"use strict";n.d(t,{H:()=>s,f:()=>i});var r=n(6550),a=n(7462),o=n(7294);function i(e,t,n){return void 0===n&&(n=[]),e.some((function(e){var a=e.path?(0,r.LX)(t,e):n.length?n[n.length-1].match:r.F0.computeRootMatch(t);return a&&(n.push({route:e,match:a}),e.routes&&i(e.routes,t,n)),a})),n}function s(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),e?o.createElement(r.rs,n,e.map((function(e,n){return o.createElement(r.AW,{key:e.key||n,path:e.path,exact:e.exact,strict:e.strict,render:function(n){return e.render?e.render((0,a.Z)({},n,{},t,{route:e})):o.createElement(e.component,(0,a.Z)({},n,t,{route:e}))}})}))):null}},3727:(e,t,n)=>{"use strict";n.d(t,{OL:()=>v,VK:()=>u,rU:()=>g});var r=n(6550),a=n(5068),o=n(7294),i=n(9318),s=n(7462),l=n(3366),c=n(8776),u=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,i.lX)(t.props),t}return(0,a.Z)(t,e),t.prototype.render=function(){return o.createElement(r.F0,{history:this.history,children:this.props.children})},t}(o.Component);o.Component;var d=function(e,t){return"function"==typeof e?e(t):e},p=function(e,t){return"string"==typeof e?(0,i.ob)(e,null,null,t):e},f=function(e){return e},m=o.forwardRef;void 0===m&&(m=f);var h=m((function(e,t){var n=e.innerRef,r=e.navigate,a=e.onClick,i=(0,l.Z)(e,["innerRef","navigate","onClick"]),c=i.target,u=(0,s.Z)({},i,{onClick:function(e){try{a&&a(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||c&&"_self"!==c||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return u.ref=f!==m&&t||n,o.createElement("a",u)}));var g=m((function(e,t){var n=e.component,a=void 0===n?h:n,u=e.replace,g=e.to,b=e.innerRef,y=(0,l.Z)(e,["component","replace","to","innerRef"]);return o.createElement(r.s6.Consumer,null,(function(e){e||(0,c.Z)(!1);var n=e.history,r=p(d(g,e.location),e.location),l=r?n.createHref(r):"",h=(0,s.Z)({},y,{href:l,navigate:function(){var t=d(g,e.location),r=(0,i.Ep)(e.location)===(0,i.Ep)(p(t));(u||r?n.replace:n.push)(t)}});return f!==m?h.ref=t||b:h.innerRef=b,o.createElement(a,h)}))})),b=function(e){return e},y=o.forwardRef;void 0===y&&(y=b);var v=y((function(e,t){var n=e["aria-current"],a=void 0===n?"page":n,i=e.activeClassName,u=void 0===i?"active":i,f=e.activeStyle,m=e.className,h=e.exact,v=e.isActive,w=e.location,k=e.sensitive,x=e.strict,S=e.style,E=e.to,C=e.innerRef,_=(0,l.Z)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return o.createElement(r.s6.Consumer,null,(function(e){e||(0,c.Z)(!1);var n=w||e.location,i=p(d(E,n),n),l=i.pathname,T=l&&l.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),j=T?(0,r.LX)(n.pathname,{path:T,exact:h,sensitive:k,strict:x}):null,P=!!(v?v(j,n):j),A="function"==typeof m?m(P):m,R="function"==typeof S?S(P):S;P&&(A=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(A,u),R=(0,s.Z)({},R,f));var N=(0,s.Z)({"aria-current":P&&a||null,className:A,style:R,to:i},_);return b!==y?N.ref=t||C:N.innerRef=C,o.createElement(g,N)}))}))},6550:(e,t,n)=>{"use strict";n.d(t,{AW:()=>E,F0:()=>v,LX:()=>S,TH:()=>L,k6:()=>N,rs:()=>A,s6:()=>y});var r=n(5068),a=n(7294),o=n(5697),i=n.n(o),s=n(9318),l=n(8776),c=n(7462),u=n(9658),d=n.n(u),p=(n(9864),n(3366)),f=(n(8679),1073741823),m="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{};var h=a.createContext||function(e,t){var n,o,s="__create-react-context-"+function(){var e="__global_unique_id__";return m[e]=(m[e]||0)+1}()+"__",l=function(e){function n(){for(var t,n,r,a=arguments.length,o=new Array(a),i=0;i<a;i++)o[i]=arguments[i];return(t=e.call.apply(e,[this].concat(o))||this).emitter=(n=t.props.value,r=[],{on:function(e){r.push(e)},off:function(e){r=r.filter((function(t){return t!==e}))},get:function(){return n},set:function(e,t){n=e,r.forEach((function(e){return e(n,t)}))}}),t}(0,r.Z)(n,e);var a=n.prototype;return a.getChildContext=function(){var e;return(e={})[s]=this.emitter,e},a.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,a=e.value;((o=r)===(i=a)?0!==o||1/o==1/i:o!=o&&i!=i)?n=0:(n="function"==typeof t?t(r,a):f,0!==(n|=0)&&this.emitter.set(e.value,n))}var o,i},a.render=function(){return this.props.children},n}(a.Component);l.childContextTypes=((n={})[s]=i().object.isRequired,n);var c=function(t){function n(){for(var e,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(e=t.call.apply(t,[this].concat(r))||this).observedBits=void 0,e.state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}(0,r.Z)(n,t);var a=n.prototype;return a.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?f:t},a.componentDidMount=function(){this.context[s]&&this.context[s].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?f:e},a.componentWillUnmount=function(){this.context[s]&&this.context[s].off(this.onUpdate)},a.getValue=function(){return this.context[s]?this.context[s].get():e},a.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(a.Component);return c.contextTypes=((o={})[s]=i().object,o),{Provider:l,Consumer:c}},g=function(e){var t=h();return t.displayName=e,t},b=g("Router-History"),y=g("Router"),v=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._pendingLocation=e}))),n}(0,r.Z)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){var e=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen((function(t){e._isMounted&&e.setState({location:t})}))),this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return a.createElement(y.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},a.createElement(b.Provider,{children:this.props.children||null,value:this.props.history}))},t}(a.Component);a.Component;a.Component;var w={},k=1e4,x=0;function S(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,a=n.exact,o=void 0!==a&&a,i=n.strict,s=void 0!==i&&i,l=n.sensitive,c=void 0!==l&&l;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=w[n]||(w[n]={});if(r[e])return r[e];var a=[],o={regexp:d()(e,a,t),keys:a};return x<k&&(r[e]=o,x++),o}(n,{end:o,strict:s,sensitive:c}),a=r.regexp,i=r.keys,l=a.exec(e);if(!l)return null;var u=l[0],p=l.slice(1),f=e===u;return o&&!f?null:{path:n,url:"/"===n&&""===u?"/":u,isExact:f,params:i.reduce((function(e,t,n){return e[t.name]=p[n],e}),{})}}),null)}var E=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return a.createElement(y.Consumer,null,(function(t){t||(0,l.Z)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?S(n.pathname,e.props):t.match,o=(0,c.Z)({},t,{location:n,match:r}),i=e.props,s=i.children,u=i.component,d=i.render;return Array.isArray(s)&&function(e){return 0===a.Children.count(e)}(s)&&(s=null),a.createElement(y.Provider,{value:o},o.match?s?"function"==typeof s?s(o):s:u?a.createElement(u,o):d?d(o):null:"function"==typeof s?s(o):null)}))},t}(a.Component);function C(e){return"/"===e.charAt(0)?e:"/"+e}function _(e,t){if(!e)return t;var n=C(e);return 0!==t.pathname.indexOf(n)?t:(0,c.Z)({},t,{pathname:t.pathname.substr(n.length)})}function T(e){return"string"==typeof e?e:(0,s.Ep)(e)}function j(e){return function(){(0,l.Z)(!1)}}function P(){}a.Component;var A=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return a.createElement(y.Consumer,null,(function(t){t||(0,l.Z)(!1);var n,r,o=e.props.location||t.location;return a.Children.forEach(e.props.children,(function(e){if(null==r&&a.isValidElement(e)){n=e;var i=e.props.path||e.props.from;r=i?S(o.pathname,(0,c.Z)({},e.props,{path:i})):t.match}})),r?a.cloneElement(n,{location:o,computedMatch:r}):null}))},t}(a.Component);var R=a.useContext;function N(){return R(b)}function L(){return R(y).location}},9658:(e,t,n)=>{var r=n(5826);e.exports=f,e.exports.parse=o,e.exports.compile=function(e,t){return s(o(e,t),t)},e.exports.tokensToFunction=s,e.exports.tokensToRegExp=p;var a=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(e,t){for(var n,r=[],o=0,i=0,s="",u=t&&t.delimiter||"/";null!=(n=a.exec(e));){var d=n[0],p=n[1],f=n.index;if(s+=e.slice(i,f),i=f+d.length,p)s+=p[1];else{var m=e[i],h=n[2],g=n[3],b=n[4],y=n[5],v=n[6],w=n[7];s&&(r.push(s),s="");var k=null!=h&&null!=m&&m!==h,x="+"===v||"*"===v,S="?"===v||"*"===v,E=n[2]||u,C=b||y;r.push({name:g||o++,prefix:h||"",delimiter:E,optional:S,repeat:x,partial:k,asterisk:!!w,pattern:C?c(C):w?".*":"[^"+l(E)+"]+?"})}}return i<e.length&&(s+=e.substr(i)),s&&r.push(s),r}function i(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function s(e,t){for(var n=new Array(e.length),a=0;a<e.length;a++)"object"==typeof e[a]&&(n[a]=new RegExp("^(?:"+e[a].pattern+")$",d(t)));return function(t,a){for(var o="",s=t||{},l=(a||{}).pretty?i:encodeURIComponent,c=0;c<e.length;c++){var u=e[c];if("string"!=typeof u){var d,p=s[u.name];if(null==p){if(u.optional){u.partial&&(o+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(r(p)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(p)+"`");if(0===p.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var f=0;f<p.length;f++){if(d=l(p[f]),!n[c].test(d))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(d)+"`");o+=(0===f?u.prefix:u.delimiter)+d}}else{if(d=u.asterisk?encodeURI(p).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):l(p),!n[c].test(d))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+d+'"');o+=u.prefix+d}}else o+=u}return o}}function l(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function c(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function u(e,t){return e.keys=t,e}function d(e){return e&&e.sensitive?"":"i"}function p(e,t,n){r(t)||(n=t||n,t=[]);for(var a=(n=n||{}).strict,o=!1!==n.end,i="",s=0;s<e.length;s++){var c=e[s];if("string"==typeof c)i+=l(c);else{var p=l(c.prefix),f="(?:"+c.pattern+")";t.push(c),c.repeat&&(f+="(?:"+p+f+")*"),i+=f=c.optional?c.partial?p+"("+f+")?":"(?:"+p+"("+f+"))?":p+"("+f+")"}}var m=l(n.delimiter||"/"),h=i.slice(-m.length)===m;return a||(i=(h?i.slice(0,-m.length):i)+"(?:"+m+"(?=$))?"),i+=o?"$":a&&h?"":"(?="+m+"|$)",u(new RegExp("^"+i,d(n)),t)}function f(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return u(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],a=0;a<e.length;a++)r.push(f(e[a],t,n).source);return u(new RegExp("(?:"+r.join("|")+")",d(n)),t)}(e,t,n):function(e,t,n){return p(o(e,n),t,n)}(e,t,n)}},5251:(e,t,n)=>{"use strict";var r=n(7294),a=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,o={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)i.call(t,r)&&!l.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:a,type:e,key:c,ref:u,props:o,_owner:s.current}}t.Fragment=o,t.jsx=c,t.jsxs=c},2408:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),f=Symbol.iterator;var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,g={};function b(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}function y(){}function v(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=b.prototype;var w=v.prototype=new y;w.constructor=v,h(w,b.prototype),w.isPureReactComponent=!0;var k=Array.isArray,x=Object.prototype.hasOwnProperty,S={current:null},E={key:!0,ref:!0,__self:!0,__source:!0};function C(e,t,r){var a,o={},i=null,s=null;if(null!=t)for(a in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(i=""+t.key),t)x.call(t,a)&&!E.hasOwnProperty(a)&&(o[a]=t[a]);var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];o.children=c}if(e&&e.defaultProps)for(a in l=e.defaultProps)void 0===o[a]&&(o[a]=l[a]);return{$$typeof:n,type:e,key:i,ref:s,props:o,_owner:S.current}}function _(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var T=/\/+/g;function j(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function P(e,t,a,o,i){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case n:case r:l=!0}}if(l)return i=i(l=e),e=""===o?"."+j(l,0):o,k(i)?(a="",null!=e&&(a=e.replace(T,"$&/")+"/"),P(i,t,a,"",(function(e){return e}))):null!=i&&(_(i)&&(i=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(i,a+(!i.key||l&&l.key===i.key?"":(""+i.key).replace(T,"$&/")+"/")+e)),t.push(i)),1;if(l=0,o=""===o?".":o+":",k(e))for(var c=0;c<e.length;c++){var u=o+j(s=e[c],c);l+=P(s,t,a,u,i)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=f&&e[f]||e["@@iterator"])?e:null}(e),"function"==typeof u)for(e=u.call(e),c=0;!(s=e.next()).done;)l+=P(s=s.value,t,a,u=o+j(s,c++),i);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function A(e,t,n){if(null==e)return e;var r=[],a=0;return P(e,r,"","",(function(e){return t.call(n,e,a++)})),r}function R(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var N={current:null},L={transition:null},I={ReactCurrentDispatcher:N,ReactCurrentBatchConfig:L,ReactCurrentOwner:S};t.Children={map:A,forEach:function(e,t,n){A(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return A(e,(function(){t++})),t},toArray:function(e){return A(e,(function(e){return e}))||[]},only:function(e){if(!_(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=b,t.Fragment=a,t.Profiler=i,t.PureComponent=v,t.StrictMode=o,t.Suspense=u,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=I,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var a=h({},e.props),o=e.key,i=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,s=S.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)x.call(t,c)&&!E.hasOwnProperty(c)&&(a[c]=void 0===t[c]&&void 0!==l?l[c]:t[c])}var c=arguments.length-2;if(1===c)a.children=r;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];a.children=l}return{$$typeof:n,type:e.type,key:o,ref:i,props:a,_owner:s}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=C,t.createFactory=function(e){var t=C.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=_,t.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:R}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=L.transition;L.transition={};try{e()}finally{L.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return N.current.useCallback(e,t)},t.useContext=function(e){return N.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return N.current.useDeferredValue(e)},t.useEffect=function(e,t){return N.current.useEffect(e,t)},t.useId=function(){return N.current.useId()},t.useImperativeHandle=function(e,t,n){return N.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return N.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return N.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return N.current.useMemo(e,t)},t.useReducer=function(e,t,n){return N.current.useReducer(e,t,n)},t.useRef=function(e){return N.current.useRef(e)},t.useState=function(e){return N.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return N.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return N.current.useTransition()},t.version="18.2.0"},7294:(e,t,n)=>{"use strict";e.exports=n(2408)},5893:(e,t,n)=>{"use strict";e.exports=n(5251)},53:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,a=e[r];if(!(0<o(a,t)))break e;e[r]=t,e[n]=a,n=r}}function r(e){return 0===e.length?null:e[0]}function a(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length,i=a>>>1;r<i;){var s=2*(r+1)-1,l=e[s],c=s+1,u=e[c];if(0>o(l,n))c<a&&0>o(u,l)?(e[r]=u,e[c]=n,r=c):(e[r]=l,e[s]=n,r=s);else{if(!(c<a&&0>o(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var c=[],u=[],d=1,p=null,f=3,m=!1,h=!1,g=!1,b="function"==typeof setTimeout?setTimeout:null,y="function"==typeof clearTimeout?clearTimeout:null,v="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var t=r(u);null!==t;){if(null===t.callback)a(u);else{if(!(t.startTime<=e))break;a(u),t.sortIndex=t.expirationTime,n(c,t)}t=r(u)}}function k(e){if(g=!1,w(e),!h)if(null!==r(c))h=!0,L(x);else{var t=r(u);null!==t&&I(k,t.startTime-e)}}function x(e,n){h=!1,g&&(g=!1,y(_),_=-1),m=!0;var o=f;try{for(w(n),p=r(c);null!==p&&(!(p.expirationTime>n)||e&&!P());){var i=p.callback;if("function"==typeof i){p.callback=null,f=p.priorityLevel;var s=i(p.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?p.callback=s:p===r(c)&&a(c),w(n)}else a(c);p=r(c)}if(null!==p)var l=!0;else{var d=r(u);null!==d&&I(k,d.startTime-n),l=!1}return l}finally{p=null,f=o,m=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,E=!1,C=null,_=-1,T=5,j=-1;function P(){return!(t.unstable_now()-j<T)}function A(){if(null!==C){var e=t.unstable_now();j=e;var n=!0;try{n=C(!0,e)}finally{n?S():(E=!1,C=null)}}else E=!1}if("function"==typeof v)S=function(){v(A)};else if("undefined"!=typeof MessageChannel){var R=new MessageChannel,N=R.port2;R.port1.onmessage=A,S=function(){N.postMessage(null)}}else S=function(){b(A,0)};function L(e){C=e,E||(E=!0,S())}function I(e,n){_=b((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){h||m||(h=!0,L(x))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):T=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return f},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},t.unstable_scheduleCallback=function(e,a,o){var i=t.unstable_now();switch("object"==typeof o&&null!==o?o="number"==typeof(o=o.delay)&&0<o?i+o:i:o=i,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:d++,callback:a,priorityLevel:e,startTime:o,expirationTime:s=o+s,sortIndex:-1},o>i?(e.sortIndex=o,n(u,e),null===r(c)&&e===r(u)&&(g?(y(_),_=-1):g=!0,I(k,o-i))):(e.sortIndex=s,n(c,e),h||m||(h=!0,L(x))),e},t.unstable_shouldYield=P,t.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}},3840:(e,t,n)=>{"use strict";e.exports=n(53)},6774:e=>{e.exports=function(e,t,n,r){var a=n?n.call(r,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<o.length;l++){var c=o[l];if(!s(c))return!1;var u=e[c],d=t[c];if(!1===(a=n?n.call(r,u,d,c):void 0)||void 0===a&&u!==d)return!1}return!0}},6809:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={title:"asn1js",tagline:"asn1.js",favicon:"img/favicon.ico",url:"https://asn1js.org",baseUrl:"/",onBrokenLinks:"throw",onBrokenMarkdownLinks:"warn",i18n:{defaultLocale:"en",locales:["en"],path:"i18n",localeConfigs:{}},customFields:{description:"asn1js is a pure JavaScript library implementing this standard. ASN.1 is the basis of all X.509 related data structures and numerous other protocols used on the web"},presets:[["classic",{docs:{path:"docs",sidebarPath:"./sidebars.ts"},theme:{customCss:"./src/css/custom.css"},blog:!1}]],plugins:[["docusaurus-plugin-typedoc",{entryPoints:["../src/index.ts"],tsconfig:"../tsconfig.json",disableSources:!0,hideInPageTOC:!0,readme:"none"}],"docusaurus-plugin-sass"],themeConfig:{prism:{theme:{plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(220, 14%, 71%)"}}]},additionalLanguages:[],magicComments:[{className:"theme-code-block-highlighted-line",line:"highlight-next-line",block:{start:"highlight-start",end:"highlight-end"}}]},image:"img/card.png",colorMode:{defaultMode:"light",disableSwitch:!0,respectPrefersColorScheme:!1},navbar:{style:"dark",logo:{alt:"asn1.js",src:"/img/logo.svg",width:75},items:[{type:"docSidebar",position:"right",sidebarId:"docs",label:"Docs"},{type:"docSidebar",position:"right",sidebarId:"examples",label:"Examples"},{href:"https://github.com/PeculiarVentures/ASN1.js",position:"right",className:"header-github-link","aria-label":"GitHub repository"}],hideOnScroll:!1},footer:{style:"dark",copyright:"Made with \u2764\ufe0f across the globe",links:[{title:"Learn",items:[{label:"Installation",to:"/docs/installation"},{label:"Examples",to:"/docs/examples/create-new-asn-structures-by-calling-constructors-with-parameters"},{label:"API",to:"/docs/api/"}]},{title:"More",items:[{label:"GitHub",href:"https://github.com/PeculiarVentures/ASN1.js"},{label:"Contact us",href:"mailto:info@peculiarventures.com"}]},{title:"Version: 3.0.5",items:[]}]},docs:{versionPersistence:"localStorage",sidebar:{hideable:!1,autoCollapseCategories:!1}},metadata:[],tableOfContents:{minHeadingLevel:2,maxHeadingLevel:3}},baseUrlIssueBanner:!0,onBrokenAnchors:"warn",onDuplicateRoutes:"warn",staticDirectories:["static"],themes:[],scripts:[],headTags:[],stylesheets:[],clientModules:[],titleDelimiter:"|",noIndex:!1,markdown:{format:"mdx",mermaid:!1,mdx1Compat:{comments:!0,admonitions:!0,headingIds:!0}}}},7462:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:()=>r})},5068:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{Z:()=>a})},3366:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}n.d(t,{Z:()=>r})},512:(e,t,n)=>{"use strict";function r(e){var t,n,a="";if("string"==typeof e||"number"==typeof e)a+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=r(e[t]))&&(a&&(a+=" "),a+=n)}else for(n in e)e[n]&&(a&&(a+=" "),a+=n);return a}n.d(t,{Z:()=>a});const a=function(){for(var e,t,n=0,a="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=r(e))&&(a&&(a+=" "),a+=t);return a}},2573:(e,t,n)=>{"use strict";n.d(t,{p1:()=>T,y$:()=>ee});var r,a,o,i,s,l,c,u=n(7294),d=n(512),p=Object.create,f=Object.defineProperty,m=Object.defineProperties,h=Object.getOwnPropertyDescriptor,g=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertyNames,y=Object.getOwnPropertySymbols,v=Object.getPrototypeOf,w=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable,x=(e,t,n)=>t in e?f(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,S=(e,t)=>{for(var n in t||(t={}))w.call(t,n)&&x(e,n,t[n]);if(y)for(var n of y(t))k.call(t,n)&&x(e,n,t[n]);return e},E=(e,t)=>m(e,g(t)),C=(e,t)=>{var n={};for(var r in e)w.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&y)for(var r of y(e))t.indexOf(r)<0&&k.call(e,r)&&(n[r]=e[r]);return n},_=(r={"../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(e,t){var n=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},r={util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:function e(t,n){var a,o;switch(n=n||{},r.util.type(t)){case"Object":if(o=r.util.objId(t),n[o])return n[o];for(var i in a={},n[o]=a,t)t.hasOwnProperty(i)&&(a[i]=e(t[i],n));return a;case"Array":return o=r.util.objId(t),n[o]?n[o]:(a=[],n[o]=a,t.forEach((function(t,r){a[r]=e(t,n)})),a);default:return t}},getLanguage:function(t){for(;t;){var n=e.exec(t.className);if(n)return n[1].toLowerCase();t=t.parentElement}return"none"},setLanguage:function(t,n){t.className=t.className.replace(RegExp(e,"gi"),""),t.classList.add("language-"+n)},isActive:function(e,t,n){for(var r="no-"+t;e;){var a=e.classList;if(a.contains(t))return!0;if(a.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:n,plaintext:n,text:n,txt:n,extend:function(e,t){var n=r.util.clone(r.languages[e]);for(var a in t)n[a]=t[a];return n},insertBefore:function(e,t,n,a){var o=(a=a||r.languages)[e],i={};for(var s in o)if(o.hasOwnProperty(s)){if(s==t)for(var l in n)n.hasOwnProperty(l)&&(i[l]=n[l]);n.hasOwnProperty(s)||(i[s]=o[s])}var c=a[e];return a[e]=i,r.languages.DFS(r.languages,(function(t,n){n===c&&t!=e&&(this[t]=i)})),i},DFS:function e(t,n,a,o){o=o||{};var i=r.util.objId;for(var s in t)if(t.hasOwnProperty(s)){n.call(t,s,t[s],a||s);var l=t[s],c=r.util.type(l);"Object"!==c||o[i(l)]?"Array"!==c||o[i(l)]||(o[i(l)]=!0,e(l,n,s,o)):(o[i(l)]=!0,e(l,n,null,o))}}},plugins:{},highlight:function(e,t,n){var o={code:e,grammar:t,language:n};if(r.hooks.run("before-tokenize",o),!o.grammar)throw new Error('The language "'+o.language+'" has no grammar.');return o.tokens=r.tokenize(o.code,o.grammar),r.hooks.run("after-tokenize",o),a.stringify(r.util.encode(o.tokens),o.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var a=new s;return l(a,a.head,e),i(e,a,t,a.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(a)},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var a,o=0;a=n[o++];)a(t)}},Token:a};function a(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var o=a[1].length;a.index+=o,a[0]=a[0].slice(o)}return a}function i(e,t,n,s,u,d){for(var p in n)if(n.hasOwnProperty(p)&&n[p]){var f=n[p];f=Array.isArray(f)?f:[f];for(var m=0;m<f.length;++m){if(d&&d.cause==p+","+m)return;var h=f[m],g=h.inside,b=!!h.lookbehind,y=!!h.greedy,v=h.alias;if(y&&!h.pattern.global){var w=h.pattern.toString().match(/[imsuy]*$/)[0];h.pattern=RegExp(h.pattern.source,w+"g")}for(var k=h.pattern||h,x=s.next,S=u;x!==t.tail&&!(d&&S>=d.reach);S+=x.value.length,x=x.next){var E=x.value;if(t.length>e.length)return;if(!(E instanceof a)){var C,_=1;if(y){if(!(C=o(k,S,e,b))||C.index>=e.length)break;var T=C.index,j=C.index+C[0].length,P=S;for(P+=x.value.length;T>=P;)P+=(x=x.next).value.length;if(S=P-=x.value.length,x.value instanceof a)continue;for(var A=x;A!==t.tail&&(P<j||"string"==typeof A.value);A=A.next)_++,P+=A.value.length;_--,E=e.slice(S,P),C.index-=S}else if(!(C=o(k,0,E,b)))continue;T=C.index;var R=C[0],N=E.slice(0,T),L=E.slice(T+R.length),I=S+E.length;d&&I>d.reach&&(d.reach=I);var O=x.prev;if(N&&(O=l(t,O,N),S+=N.length),c(t,O,_),x=l(t,O,new a(p,g?r.tokenize(R,g):R,v,R)),L&&l(t,x,L),_>1){var D={cause:p+","+m,reach:I};i(e,t,n,x.prev,S,D),d&&D.reach>d.reach&&(d.reach=D.reach)}}}}}}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}function c(e,t,n){for(var r=t.next,a=0;a<n&&r!==e.tail;a++)r=r.next;t.next=r,r.prev=t,e.length-=a}return a.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var a="";return t.forEach((function(t){a+=e(t,n)})),a}var o={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},i=t.alias;i&&(Array.isArray(i)?Array.prototype.push.apply(o.classes,i):o.classes.push(i)),r.hooks.run("wrap",o);var s="";for(var l in o.attributes)s+=" "+l+'="'+(o.attributes[l]||"").replace(/"/g,""")+'"';return"<"+o.tag+' class="'+o.classes.join(" ")+'"'+s+">"+o.content+"</"+o.tag+">"},r}();t.exports=n,n.default=n}},function(){return a||(0,r[b(r)[0]])((a={exports:{}}).exports,a),a.exports}),T=((e,t,n)=>(n=null!=e?p(v(e)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of b(t))w.call(e,a)||a===n||f(e,a,{get:()=>t[a],enumerable:!(r=h(t,a))||r.enumerable});return e})(!t&&e&&e.__esModule?n:f(n,"default",{value:e,enumerable:!0}),e)))(_());T.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},T.languages.markup.tag.inside["attr-value"].inside.entity=T.languages.markup.entity,T.languages.markup.doctype.inside["internal-subset"].inside=T.languages.markup,T.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(T.languages.markup.tag,"addInlined",{value:function(e,t){var n;(t=((n=((n={})["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:T.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i,{"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}}))["language-"+t]={pattern:/[\s\S]+/,inside:T.languages[t]},{}))[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:n},T.languages.insertBefore("markup","cdata",t)}}),Object.defineProperty(T.languages.markup.tag,"addAttribute",{value:function(e,t){T.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:T.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),T.languages.html=T.languages.markup,T.languages.mathml=T.languages.markup,T.languages.svg=T.languages.markup,T.languages.xml=T.languages.extend("markup",{}),T.languages.ssml=T.languages.xml,T.languages.atom=T.languages.xml,T.languages.rss=T.languages.xml,o=T,i={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},l="(?:[^\\\\-]|"+(s=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/).source+")",l=RegExp(l+"-"+l),c={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},o.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:l,inside:{escape:s,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":i,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:s}},"special-escape":i,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":c}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:s,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":c}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}},T.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},T.languages.javascript=T.languages.extend("clike",{"class-name":[T.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),T.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,T.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:T.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:T.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:T.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:T.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:T.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),T.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:T.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),T.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),T.languages.markup&&(T.languages.markup.tag.addInlined("script","javascript"),T.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),T.languages.js=T.languages.javascript,T.languages.actionscript=T.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),T.languages.actionscript["class-name"].alias="function",delete T.languages.actionscript.parameter,delete T.languages.actionscript["literal-property"],T.languages.markup&&T.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:T.languages.markup}}),function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(T),function(e){var t=e.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};Object.defineProperty(t,"addSupport",{value:function(t,n){(t="string"==typeof t?[t]:t).forEach((function(t){var r=function(e){e.inside||(e.inside={}),e.inside.rest=n},a="doc-comment";if(o=e.languages[t]){var o,i=o[a];if((i=i||(o=e.languages.insertBefore(t,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[a])instanceof RegExp&&(i=o[a]={pattern:i}),Array.isArray(i))for(var s=0,l=i.length;s<l;s++)i[s]instanceof RegExp&&(i[s]={pattern:i[s]}),r(i[s]);else r(i)}}))}}),t.addSupport(["java","javascript","php"],t)}(T),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;(t=(e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css,e.languages.markup))&&(t.tag.addInlined("style","css"),t.tag.addAttribute("style","css"))}(T),function(e){var t=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,n=(t=(e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+t.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[t,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),{pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0});e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,number:n})}(T),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),o=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<value>>/g,(function(){return e}));return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,(function(){return r}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<key>>/g,(function(){return"(?:"+a+"|"+o+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(o),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(T),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,i=(e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+o+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+o+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n<r;n++){var a,o=t[n];"code"!==o.type?e(o.content):(a=o.content[1],o=o.content[3],a&&o&&"code-language"===a.type&&"code-block"===o.type&&"string"==typeof a.content&&(a=a.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),a="language-"+(a=(/[a-z][\w-]*/i.exec(a)||[""])[0].toLowerCase()),o.alias?"string"==typeof o.alias?o.alias=[o.alias,a]:o.alias.push(a):o.alias=[a]))}}(e.tokens)})),e.hooks.add("wrap",(function(t){if("code-block"===t.type){for(var n="",r=0,a=t.classes.length;r<a;r++){var o=t.classes[r];if(o=/language-(.+)/.exec(o)){n=o[1];break}}var c,u=e.languages[n];u?t.content=e.highlight(t.content.replace(i,"").replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,(function(e,t){var n;return"#"===(t=t.toLowerCase())[0]?(n="x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)),l(n)):s[t]||e})),u,n):n&&"none"!==n&&e.plugins.autoloader&&(c="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random()),t.attributes.id=c,e.plugins.autoloader.loadLanguages(n,(function(){var t=document.getElementById(c);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[n],n))})))}})),RegExp(e.languages.markup.tag.pattern.source,"gi")),s={amp:"&",lt:"<",gt:">",quot:'"'},l=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(T),T.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:T.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},T.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var t=e.tokens.filter((function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type})),n=0;n<t.length;){var r=t[n++];if("keyword"===r.type&&"mutation"===r.content){var a=[];if(d(["definition-mutation","punctuation"])&&"("===u(1).content){n+=2;var o=p(/^\($/,/^\)$/);if(-1===o)continue;for(;n<o;n++){var i=u(0);"variable"===i.type&&(f(i,"variable-input"),a.push(i.content))}n=o+1}if(d(["punctuation","property-query"])&&"{"===u(0).content&&(n++,f(u(0),"property-mutation"),0<a.length)){var s=p(/^\{$/,/^\}$/);if(-1!==s)for(var l=n;l<s;l++){var c=t[l];"variable"===c.type&&0<=a.indexOf(c.content)&&f(c,"variable-input")}}}}function u(e){return t[n+e]}function d(e,t){t=t||0;for(var n=0;n<e.length;n++){var r=u(n+t);if(!r||r.type!==e[n])return}return 1}function p(e,r){for(var a=1,o=n;o<t.length;o++){var i=t[o],s=i.content;if("punctuation"===i.type&&"string"==typeof s)if(e.test(s))a++;else if(r.test(s)&&0==--a)return o}return-1}function f(e,t){var n=e.alias;n?Array.isArray(n)||(e.alias=n=[n]):e.alias=n=[],n.push(t)}})),T.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,a=r.inside["interpolation-punctuation"],o=r.pattern.source;function i(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function s(t,n,r){return t={code:t,grammar:n,language:r},e.hooks.run("before-tokenize",t),t.tokens=e.tokenize(t.code,t.grammar),e.hooks.run("after-tokenize",t),t.tokens}function l(t,n,i){var l=e.tokenize(t,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),c=0,u={},d=(l=s(l.map((function(e){if("string"==typeof e)return e;var n,r;for(e=e.content;-1!==t.indexOf((r=c++,n="___"+i.toUpperCase()+"_"+r+"___")););return u[n]=e,n})).join(""),n,i),Object.keys(u));return c=0,function t(n){for(var o=0;o<n.length;o++){if(c>=d.length)return;var i,l,p,f,m,h,g,b=n[o];"string"==typeof b||"string"==typeof b.content?(i=d[c],-1!==(g=(h="string"==typeof b?b:b.content).indexOf(i))&&(++c,l=h.substring(0,g),m=u[i],p=void 0,(f={})["interpolation-punctuation"]=a,3===(f=e.tokenize(m,f)).length&&((p=[1,1]).push.apply(p,s(f[1],e.languages.javascript,"javascript")),f.splice.apply(f,p)),p=new e.Token("interpolation",f,r.alias,m),f=h.substring(g+i.length),m=[],l&&m.push(l),m.push(p),f&&(t(h=[f]),m.push.apply(m,h)),"string"==typeof b?(n.splice.apply(n,[o,1].concat(m)),o+=m.length-1):b.content=m)):(g=b.content,Array.isArray(g)?t(g):t([g]))}}(l),new e.Token(i,l,"language-"+i,t)}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var c={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function u(e){return"string"==typeof e?e:Array.isArray(e)?e.map(u).join(""):u(e.content)}e.hooks.add("after-tokenize",(function(t){t.language in c&&function t(n){for(var r=0,a=n.length;r<a;r++){var o,i,s,c=n[r];"string"!=typeof c&&(o=c.content,Array.isArray(o)?"template-string"===c.type?(c=o[1],3===o.length&&"string"!=typeof c&&"embedded-code"===c.type&&(i=u(c),c=c.alias,c=Array.isArray(c)?c[0]:c,s=e.languages[c])&&(o[1]=l(i,s,c))):t(o):"string"!=typeof o&&t([o]))}}(t.tokens)}))}(T),function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(T),function(e){var t=e.languages.javascript,n=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,r="(@(?:arg|argument|param|property)\\s+(?:"+n+"\\s+)?)";e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(r+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(r+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:t,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,(function(){return n}))),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{string:t.string,number:t.number,boolean:t.boolean,keyword:e.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}(T),function(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),e.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}(T),T.languages.n4js=T.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),T.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),T.languages.n4jsd=T.languages.n4js,function(e){function t(e,t){return RegExp(e.replace(/<ID>/g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r<n.length;r++){var a=n[r],o=e.languages.javascript[a];a=(o="RegExp"===e.util.type(o)?e.languages.javascript[a]={pattern:o}:o).inside||{};(o.inside=a)["maybe-class-name"]=/^[A-Z][\s\S]*/}}(T),function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,a=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function o(e,t){return e=e.replace(/<S>/g,(function(){return n})).replace(/<BRACES>/g,(function(){return r})).replace(/<SPREAD>/g,(function(){return a})),RegExp(e,t)}function i(t){for(var n=[],r=0;r<t.length;r++){var a=t[r],o=!1;"string"!=typeof a&&("tag"===a.type&&a.content[0]&&"tag"===a.content[0].type?"</"===a.content[0].content[0].content?0<n.length&&n[n.length-1].tagName===s(a.content[0].content[1])&&n.pop():"/>"!==a.content[a.content.length-1].content&&n.push({tagName:s(a.content[0].content[1]),openedBraces:0}):0<n.length&&"punctuation"===a.type&&"{"===a.content?n[n.length-1].openedBraces++:0<n.length&&0<n[n.length-1].openedBraces&&"punctuation"===a.type&&"}"===a.content?n[n.length-1].openedBraces--:o=!0),(o||"string"==typeof a)&&0<n.length&&0===n[n.length-1].openedBraces&&(o=s(a),r<t.length-1&&("string"==typeof t[r+1]||"plain-text"===t[r+1].type)&&(o+=s(t[r+1]),t.splice(r+1,1)),0<r&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(o=s(t[r-1])+o,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",o,null,o)),a.content&&"string"!=typeof a.content&&i(a.content)}}a=o(a).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=o(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:o(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var s=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(s).join(""):""};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||i(e.tokens)}))}(T),function(e){var t=e.util.clone(e.languages.typescript);(t=(e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"],e.languages.tsx.tag)).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+t.pattern.source+")",t.pattern.flags),t.lookbehind=!0}(T),T.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ \t]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},T.languages.swift["string-literal"].forEach((function(e){e.inside.interpolation.inside=T.languages.swift})),function(e){e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"];var t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}};e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}(T),T.languages.c=T.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),T.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),T.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},T.languages.c.string],char:T.languages.c.char,comment:T.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:T.languages.c}}}}),T.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete T.languages.c.boolean,T.languages.objectivec=T.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete T.languages.objectivec["class-name"],T.languages.objc=T.languages.objectivec,T.languages.reason=T.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),T.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete T.languages.reason.function,function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,n=0;n<2;n++)t=t.replace(/<self>/g,(function(){return t}));t=t.replace(/<self>/g,(function(){return/[^\s\S]/.source})),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(T),T.languages.go=T.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),T.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete T.languages.go["class-name"],function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(T),T.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},T.languages.python["string-interpolation"].inside.interpolation.inside.rest=T.languages.python,T.languages.py=T.languages.python;((e,t)=>{for(var n in t)f(e,n,{get:t[n],enumerable:!0})})({},{dracula:()=>j,duotoneDark:()=>P,duotoneLight:()=>A,github:()=>R,jettwaveDark:()=>H,jettwaveLight:()=>Z,nightOwl:()=>N,nightOwlLight:()=>L,oceanicNext:()=>D,okaidia:()=>F,oneDark:()=>G,oneLight:()=>V,palenight:()=>B,shadesOfPurple:()=>M,synthwave84:()=>z,ultramin:()=>U,vsDark:()=>$,vsLight:()=>q});var j={plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},P={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},A={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#896724"}}]},R={plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},N={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},L={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}},{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},I="#c5a5c5",O="#8dc891",D={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:I}},{types:["attr-value"],style:{color:O}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:"#999999"}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:"#5a9bcf"}},{types:["boolean"],style:{color:"#ff8b50"}},{types:["tag"],style:{color:"#fc929e"}},{types:["string"],style:{color:O}},{types:["punctuation"],style:{color:O}},{types:["selector","char","builtin","inserted"],style:{color:"#D8DEE9"}},{types:["function"],style:{color:"#79b6f2"}},{types:["operator","entity","url","variable"],style:{color:"#d7deea"}},{types:["keyword"],style:{color:I}},{types:["atrule","class-name"],style:{color:"#FAC863"}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},F={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},B={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},M={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},z={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},U={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]},$={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},q={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},H={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},Z={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},G={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(220, 14%, 71%)"}}]},V={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(230, 8%, 24%)"}}]},W=(e,t)=>{const{plain:n}=e,r=e.styles.reduce(((e,n)=>{const{languages:r,style:a}=n;return r&&!r.includes(t)||n.types.forEach((t=>{const n=S(S({},e[t]),a);e[t]=n})),e}),{});return r.root=n,r.plain=E(S({},n),{backgroundColor:void 0}),r},Q=/\r\n|\r|\n/,J=e=>{0===e.length?e.push({types:["plain"],content:"\n",empty:!0}):1===e.length&&""===e[0].content&&(e[0].content="\n",e[0].empty=!0)},Y=(e,t)=>{const n=e.length;return n>0&&e[n-1]===t?e:e.concat(t)},K=e=>{const t=[[]],n=[e],r=[0],a=[e.length];let o=0,i=0,s=[];const l=[s];for(;i>-1;){for(;(o=r[i]++)<a[i];){let e,c=t[i];const u=n[i][o];if("string"==typeof u?(c=i>0?c:["plain"],e=u):(c=Y(c,u.type),u.alias&&(c=Y(c,u.alias)),e=u.content),"string"!=typeof e){i++,t.push(c),n.push(e),r.push(0),a.push(e.length);continue}const d=e.split(Q),p=d.length;s.push({types:c,content:d[0]});for(let t=1;t<p;t++)J(s),l.push(s=[]),s.push({types:c,content:d[t]})}i--,t.pop(),n.pop(),r.pop(),a.pop()}return J(s),l},X=({children:e,language:t,code:n,theme:r,prism:a})=>{const o=t.toLowerCase(),i=((e,t)=>{const[n,r]=(0,u.useState)(W(t,e)),a=(0,u.useRef)(),o=(0,u.useRef)();return(0,u.useEffect)((()=>{t===a.current&&e===o.current||(a.current=t,o.current=e,r(W(t,e)))}),[e,t]),n})(o,r),s=(e=>(0,u.useCallback)((t=>{var n=t,{className:r,style:a,line:o}=n,i=C(n,["className","style","line"]);const s=E(S({},i),{className:(0,d.Z)("token-line",r)});return"object"==typeof e&&"plain"in e&&(s.style=e.plain),"object"==typeof a&&(s.style=S(S({},s.style||{}),a)),s}),[e]))(i),l=(e=>{const t=(0,u.useCallback)((({types:t,empty:n})=>{if(null!=e)return 1===t.length&&"plain"===t[0]?null!=n?{display:"inline-block"}:void 0:1===t.length&&null!=n?e[t[0]]:Object.assign(null!=n?{display:"inline-block"}:{},...t.map((t=>e[t])))}),[e]);return(0,u.useCallback)((e=>{var n=e,{token:r,className:a,style:o}=n,i=C(n,["token","className","style"]);const s=E(S({},i),{className:(0,d.Z)("token",...r.types,a),children:r.content,style:t(r)});return null!=o&&(s.style=S(S({},s.style||{}),o)),s}),[t])})(i),c=(({prism:e,code:t,grammar:n,language:r})=>{const a=(0,u.useRef)(e);return(0,u.useMemo)((()=>{if(null==n)return K([t]);const e={code:t,grammar:n,language:r,tokens:[]};return a.current.hooks.run("before-tokenize",e),e.tokens=a.current.tokenize(t,n),a.current.hooks.run("after-tokenize",e),K(e.tokens)}),[t,n,r])})({prism:a,language:o,code:n,grammar:a.languages[o]});return e({tokens:c,className:`prism-code language-${o}`,style:null!=i?i.root:{},getLineProps:s,getTokenProps:l})},ee=e=>(0,u.createElement)(X,E(S({},e),{prism:e.prism||T,theme:e.theme||$,code:e.code,language:e.language}))},8776:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=!0,a="Invariant failed";function o(e,t){if(!e){if(r)throw new Error(a);var n="function"==typeof t?t():t,o=n?"".concat(a,": ").concat(n):a;throw new Error(o)}}},7529:e=>{"use strict";e.exports={}},6887:e=>{"use strict";e.exports=JSON.parse('{"/docs-8b4":{"__comp":"5e95c892","__context":{"plugin":"4d00faf8"}},"/docs-af9":{"__comp":"a7bd4aaa","version":"935f2afb"},"/docs-153":{"__comp":"a94703ab"},"/docs/api/-8cc":{"__comp":"17896441","content":"5e8c322a"},"/docs/api/classes/Any-222":{"__comp":"17896441","content":"51825ba5"},"/docs/api/classes/BaseBlock-0fa":{"__comp":"17896441","content":"5b192a6a"},"/docs/api/classes/BaseStringBlock-ede":{"__comp":"17896441","content":"59a44bca"},"/docs/api/classes/BitString-174":{"__comp":"17896441","content":"a8b24391"},"/docs/api/classes/BmpString-650":{"__comp":"17896441","content":"c708d43d"},"/docs/api/classes/Boolean-985":{"__comp":"17896441","content":"98a64537"},"/docs/api/classes/CharacterString-d57":{"__comp":"17896441","content":"e70d9cd9"},"/docs/api/classes/Choice-7cd":{"__comp":"17896441","content":"d85db04f"},"/docs/api/classes/Constructed-1cd":{"__comp":"17896441","content":"16465fe8"},"/docs/api/classes/DATE-b69":{"__comp":"17896441","content":"576f065d"},"/docs/api/classes/DateTime-d7a":{"__comp":"17896441","content":"dd1ee862"},"/docs/api/classes/Duration-bd3":{"__comp":"17896441","content":"b4213769"},"/docs/api/classes/EndOfContent-5e9":{"__comp":"17896441","content":"bc871e21"},"/docs/api/classes/Enumerated-16a":{"__comp":"17896441","content":"4c16353d"},"/docs/api/classes/GeneralizedTime-f51":{"__comp":"17896441","content":"3d5a6bf6"},"/docs/api/classes/GeneralString-85e":{"__comp":"17896441","content":"b36e3652"},"/docs/api/classes/GraphicString-00d":{"__comp":"17896441","content":"4ba0dc1c"},"/docs/api/classes/IA5String-da1":{"__comp":"17896441","content":"b31edc1e"},"/docs/api/classes/Integer-fb8":{"__comp":"17896441","content":"3926a858"},"/docs/api/classes/Null-0e6":{"__comp":"17896441","content":"44cf8793"},"/docs/api/classes/NumericString-cf6":{"__comp":"17896441","content":"c4e7b44f"},"/docs/api/classes/ObjectIdentifier-c2d":{"__comp":"17896441","content":"f79827ba"},"/docs/api/classes/OctetString-c37":{"__comp":"17896441","content":"1e333d5e"},"/docs/api/classes/Primitive-23e":{"__comp":"17896441","content":"adc29927"},"/docs/api/classes/PrintableString-daa":{"__comp":"17896441","content":"026391f0"},"/docs/api/classes/RawData-987":{"__comp":"17896441","content":"03bd3e3d"},"/docs/api/classes/RelativeObjectIdentifier-bd6":{"__comp":"17896441","content":"65e69e3f"},"/docs/api/classes/Repeated-fb7":{"__comp":"17896441","content":"8c440dac"},"/docs/api/classes/Sequence-460":{"__comp":"17896441","content":"e26d31f6"},"/docs/api/classes/Set-181":{"__comp":"17896441","content":"ba90fb9a"},"/docs/api/classes/TeletexString-137":{"__comp":"17896441","content":"b11e0698"},"/docs/api/classes/TIME-a04":{"__comp":"17896441","content":"f4b374d8"},"/docs/api/classes/TimeOfDay-99c":{"__comp":"17896441","content":"b1119fb3"},"/docs/api/classes/UniversalString-db3":{"__comp":"17896441","content":"5acba2f0"},"/docs/api/classes/UTCTime-46b":{"__comp":"17896441","content":"5bfd37b4"},"/docs/api/classes/Utf8String-d2f":{"__comp":"17896441","content":"7b53a246"},"/docs/api/classes/ValueBlock-253":{"__comp":"17896441","content":"c955d05a"},"/docs/api/classes/VideotexString-d0d":{"__comp":"17896441","content":"30edd11b"},"/docs/api/classes/ViewWriter-4fa":{"__comp":"17896441","content":"c9e84786"},"/docs/api/classes/VisibleString-4d0":{"__comp":"17896441","content":"59cc6c35"},"/docs/api/interfaces/BaseBlockJson-7ef":{"__comp":"17896441","content":"aa339c64"},"/docs/api/interfaces/BaseBlockParams-971":{"__comp":"17896441","content":"b2471d4f"},"/docs/api/interfaces/BaseStringBlockParams-267":{"__comp":"17896441","content":"a9257c3b"},"/docs/api/interfaces/BitStringParams-b7c":{"__comp":"17896441","content":"20190980"},"/docs/api/interfaces/BooleanParams-2ae":{"__comp":"17896441","content":"4691bf8d"},"/docs/api/interfaces/CompareSchemaFail-7b6":{"__comp":"17896441","content":"a1dc7e8a"},"/docs/api/interfaces/CompareSchemaSuccess-541":{"__comp":"17896441","content":"394c73fc"},"/docs/api/interfaces/ConstructedParams-91f":{"__comp":"17896441","content":"00675d3b"},"/docs/api/interfaces/FromBerResult-14f":{"__comp":"17896441","content":"84852306"},"/docs/api/interfaces/GeneralizedTimeJson-807":{"__comp":"17896441","content":"713f63a6"},"/docs/api/interfaces/HexBlockJson-3f0":{"__comp":"17896441","content":"b3870161"},"/docs/api/interfaces/IAny-c90":{"__comp":"17896441","content":"e6869291"},"/docs/api/interfaces/IBaseBlock-59c":{"__comp":"17896441","content":"2c629d30"},"/docs/api/interfaces/IBerConvertible-8ba":{"__comp":"17896441","content":"278d5f50"},"/docs/api/interfaces/IChoice-644":{"__comp":"17896441","content":"fab20cb6"},"/docs/api/interfaces/IDateConvertible-8ca":{"__comp":"17896441","content":"13f75f52"},"/docs/api/interfaces/IDerConvertible-090":{"__comp":"17896441","content":"dec0f600"},"/docs/api/interfaces/IGeneralizedTime-850":{"__comp":"17896441","content":"0f29e150"},"/docs/api/interfaces/IHexBlock-6e0":{"__comp":"17896441","content":"12c2209e"},"/docs/api/interfaces/IntegerParams-4f7":{"__comp":"17896441","content":"e3f2a5d8"},"/docs/api/interfaces/IRawData-ac5":{"__comp":"17896441","content":"d8ca53b9"},"/docs/api/interfaces/IRepeated-e00":{"__comp":"17896441","content":"cb5be62c"},"/docs/api/interfaces/IStringConvertible-1d9":{"__comp":"17896441","content":"b4057b68"},"/docs/api/interfaces/IUTCTime-550":{"__comp":"17896441","content":"eb5a32c0"},"/docs/api/interfaces/ObjectIdentifierJson-4d6":{"__comp":"17896441","content":"5e73ccd4"},"/docs/api/interfaces/ObjectIdentifierParams-4d0":{"__comp":"17896441","content":"74b950b8"},"/docs/api/interfaces/OctetStringParams-1d1":{"__comp":"17896441","content":"f7d69949"},"/docs/api/interfaces/PrimitiveParams-fe0":{"__comp":"17896441","content":"1d77307c"},"/docs/api/interfaces/RelativeObjectIdentifierJson-2a1":{"__comp":"17896441","content":"d612a68c"},"/docs/api/interfaces/RelativeObjectIdentifierParams-e77":{"__comp":"17896441","content":"869c68c6"},"/docs/api/interfaces/UTCTimeJson-b69":{"__comp":"17896441","content":"f086b950"},"/docs/api/interfaces/UTCTimeParams-465":{"__comp":"17896441","content":"7e6180b7"},"/docs/api/interfaces/Utf8StringParams-16e":{"__comp":"17896441","content":"7b30025a"},"/docs/api/interfaces/ValueBlockConstructor-00a":{"__comp":"17896441","content":"0c4223ed"},"/docs/examples/create-new-asn-structures-39e":{"__comp":"17896441","content":"f641567d"},"/docs/examples/create-new-asn-structures-by-calling-constructors-with-parameters-0eb":{"__comp":"17896441","content":"44975b2a"},"/docs/examples/use-internal-schemas-for-primitively-encoded-data-types-bbf":{"__comp":"17896441","content":"9fb4cf70"},"/docs/examples/validate-asn-against-pre-defined-schema-d38":{"__comp":"17896441","content":"fb457659"},"/docs/installation-4f3":{"__comp":"17896441","content":"3b8c55ea"},"/-92c":{"__comp":"1df93b7f","__context":{"plugin":"30dc882d"},"config":"5e9f5e1a"}}')}},e=>{e.O(0,[532],(()=>{return t=7221,e(e.s=t);var t}));e.O()}]); \ No newline at end of file diff --git a/assets/js/main.8b95885d.js.LICENSE.txt b/assets/js/main.8b95885d.js.LICENSE.txt new file mode 100644 index 0000000..91dc894 --- /dev/null +++ b/assets/js/main.8b95885d.js.LICENSE.txt @@ -0,0 +1,64 @@ +/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress + * @license MIT */ + +/*! Bundled license information: + +prismjs/prism.js: + (** + * Prism: Lightweight, robust, elegant syntax highlighting + * + * @license MIT <https://opensource.org/licenses/MIT> + * @author Lea Verou <https://lea.verou.me> + * @namespace + * @public + *) +*/ + +/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** + * @license React + * react-jsx-runtime.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** + * @license React + * scheduler.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** @license React v16.13.1 + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ diff --git a/assets/js/runtime~main.ff59b885.js b/assets/js/runtime~main.ff59b885.js new file mode 100644 index 0000000..c3c661d --- /dev/null +++ b/assets/js/runtime~main.ff59b885.js @@ -0,0 +1 @@ +(()=>{"use strict";var e,a,c,b,d,f={},t={};function r(e){var a=t[e];if(void 0!==a)return a.exports;var c=t[e]={id:e,loaded:!1,exports:{}};return f[e].call(c.exports,c,c.exports,r),c.loaded=!0,c.exports}r.m=f,r.c=t,e=[],r.O=(a,c,b,d)=>{if(!c){var f=1/0;for(i=0;i<e.length;i++){c=e[i][0],b=e[i][1],d=e[i][2];for(var t=!0,o=0;o<c.length;o++)(!1&d||f>=d)&&Object.keys(r.O).every((e=>r.O[e](c[o])))?c.splice(o--,1):(t=!1,d<f&&(f=d));if(t){e.splice(i--,1);var n=b();void 0!==n&&(a=n)}}return a}d=d||0;for(var i=e.length;i>0&&e[i-1][2]>d;i--)e[i]=e[i-1];e[i]=[c,b,d]},r.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return r.d(a,{a:a}),a},c=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(e,b){if(1&b&&(e=this(e)),8&b)return e;if("object"==typeof e&&e){if(4&b&&e.__esModule)return e;if(16&b&&"function"==typeof e.then)return e}var d=Object.create(null);r.r(d);var f={};a=a||[null,c({}),c([]),c(c)];for(var t=2&b&&e;"object"==typeof t&&!~a.indexOf(t);t=c(t))Object.getOwnPropertyNames(t).forEach((a=>f[a]=()=>e[a]));return f.default=()=>e,r.d(d,f),d},r.d=(e,a)=>{for(var c in a)r.o(a,c)&&!r.o(e,c)&&Object.defineProperty(e,c,{enumerable:!0,get:a[c]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((a,c)=>(r.f[c](e,a),a)),[])),r.u=e=>"assets/js/"+({53:"935f2afb",95:"f7d69949",299:"2c629d30",302:"3d5a6bf6",397:"f79827ba",557:"00675d3b",590:"869c68c6",682:"b2471d4f",694:"cb5be62c",1050:"84852306",1080:"30edd11b",1088:"e26d31f6",1154:"74b950b8",1293:"e3f2a5d8",1686:"3926a858",1749:"eb5a32c0",1795:"65e69e3f",2113:"98a64537",2521:"1e333d5e",2526:"b31edc1e",2591:"59cc6c35",2760:"e70d9cd9",2780:"59a44bca",2807:"44cf8793",3217:"3b8c55ea",3237:"1df93b7f",3333:"4691bf8d",3627:"20190980",3640:"9fb4cf70",3963:"b1119fb3",4024:"c9e84786",4033:"0f29e150",4079:"13f75f52",4081:"1d77307c",4258:"f086b950",4368:"a94703ab",4417:"026391f0",4578:"c4e7b44f",4767:"12c2209e",4770:"4d00faf8",4808:"e6869291",4914:"7e6180b7",4936:"7b53a246",5055:"bc871e21",5156:"aa339c64",5200:"713f63a6",5204:"b4057b68",5292:"fab20cb6",5352:"30dc882d",5689:"278d5f50",5705:"a9257c3b",5831:"44975b2a",5903:"03bd3e3d",6355:"a1dc7e8a",6453:"d612a68c",6494:"5acba2f0",6628:"b4213769",6815:"ba90fb9a",6871:"5e73ccd4",6896:"576f065d",7506:"d85db04f",7588:"dd1ee862",7597:"5e8c322a",7699:"7b30025a",7737:"51825ba5",7802:"a8b24391",7815:"c955d05a",7918:"17896441",8020:"adc29927",8067:"394c73fc",8229:"8c440dac",8271:"5b192a6a",8286:"c708d43d",8370:"4ba0dc1c",8518:"a7bd4aaa",8547:"4c16353d",8564:"d8ca53b9",8575:"f641567d",8858:"dec0f600",8907:"16465fe8",8967:"b11e0698",9131:"b3870161",9345:"fb457659",9370:"0c4223ed",9661:"5e95c892",9669:"b36e3652",9871:"f4b374d8",9936:"5bfd37b4"}[e]||e)+"."+{53:"571b41c3",95:"375f74ee",299:"ae80f2e5",302:"b1cc0428",397:"5414ade1",557:"27fd1268",590:"a1c6ad5e",682:"c3f4c4d3",694:"5d502d02",1050:"823aaeef",1080:"46642cdd",1088:"2c2b2a44",1154:"786d2040",1293:"d437201d",1686:"51f70f26",1749:"e35e2869",1772:"531d94c5",1795:"c64c5044",2113:"3194c388",2312:"e0182ad9",2521:"30396e0e",2526:"8151967b",2591:"6f0244ff",2760:"83b31897",2780:"0422944a",2807:"66f48c73",3217:"37a9f190",3237:"a7122a82",3333:"6283969a",3627:"8948c1a9",3640:"5d67b993",3963:"93af97a8",4024:"94e4e5c5",4033:"edf2bbf6",4079:"403f4ee7",4081:"5f2b7f24",4258:"43b462c5",4368:"3b903456",4417:"e5df5c98",4578:"36e7d951",4767:"231039ed",4770:"691364e8",4808:"969f38ee",4914:"feec1ea7",4936:"8d05aefd",5055:"8696fd78",5156:"0f6b14c5",5200:"94f572dc",5204:"835fdd88",5292:"c98bc9cf",5352:"cce6f87a",5689:"cab4b4cf",5705:"1884461b",5831:"4af1d5a6",5903:"d854d8e3",6355:"badc52d1",6453:"558f9b3f",6494:"9b64d274",6628:"3cdbe8d0",6815:"1995cea4",6871:"a953521f",6896:"febb078e",7506:"4a172987",7588:"c7c3401a",7597:"6957584d",7699:"d42760f6",7737:"36e4dd88",7802:"2422b1a4",7815:"e9e3b760",7918:"27295a3b",8020:"116e918a",8067:"988ed41c",8229:"7d355723",8271:"f5d7d5d0",8286:"76331c0e",8370:"e4f22e3f",8518:"687d6c08",8547:"6028b784",8564:"5b818301",8575:"40ac5e98",8858:"8d87d858",8907:"ca713548",8967:"19fa86df",9131:"a68c2e4f",9345:"fed5eb68",9370:"faa8b589",9661:"e9a018bf",9669:"75d8aa4e",9871:"e694db6b",9936:"a548e0ab"}[e]+".js",r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),b={},d="website:",r.l=(e,a,c,f)=>{if(b[e])b[e].push(a);else{var t,o;if(void 0!==c)for(var n=document.getElementsByTagName("script"),i=0;i<n.length;i++){var u=n[i];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==d+c){t=u;break}}t||(o=!0,(t=document.createElement("script")).charset="utf-8",t.timeout=120,r.nc&&t.setAttribute("nonce",r.nc),t.setAttribute("data-webpack",d+c),t.src=e),b[e]=[a];var l=(a,c)=>{t.onerror=t.onload=null,clearTimeout(s);var d=b[e];if(delete b[e],t.parentNode&&t.parentNode.removeChild(t),d&&d.forEach((e=>e(c))),a)return a(c)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=l.bind(null,t.onerror),t.onload=l.bind(null,t.onload),o&&document.head.appendChild(t)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.p="/",r.gca=function(e){return e={17896441:"7918",20190980:"3627",84852306:"1050","935f2afb":"53",f7d69949:"95","2c629d30":"299","3d5a6bf6":"302",f79827ba:"397","00675d3b":"557","869c68c6":"590",b2471d4f:"682",cb5be62c:"694","30edd11b":"1080",e26d31f6:"1088","74b950b8":"1154",e3f2a5d8:"1293","3926a858":"1686",eb5a32c0:"1749","65e69e3f":"1795","98a64537":"2113","1e333d5e":"2521",b31edc1e:"2526","59cc6c35":"2591",e70d9cd9:"2760","59a44bca":"2780","44cf8793":"2807","3b8c55ea":"3217","1df93b7f":"3237","4691bf8d":"3333","9fb4cf70":"3640",b1119fb3:"3963",c9e84786:"4024","0f29e150":"4033","13f75f52":"4079","1d77307c":"4081",f086b950:"4258",a94703ab:"4368","026391f0":"4417",c4e7b44f:"4578","12c2209e":"4767","4d00faf8":"4770",e6869291:"4808","7e6180b7":"4914","7b53a246":"4936",bc871e21:"5055",aa339c64:"5156","713f63a6":"5200",b4057b68:"5204",fab20cb6:"5292","30dc882d":"5352","278d5f50":"5689",a9257c3b:"5705","44975b2a":"5831","03bd3e3d":"5903",a1dc7e8a:"6355",d612a68c:"6453","5acba2f0":"6494",b4213769:"6628",ba90fb9a:"6815","5e73ccd4":"6871","576f065d":"6896",d85db04f:"7506",dd1ee862:"7588","5e8c322a":"7597","7b30025a":"7699","51825ba5":"7737",a8b24391:"7802",c955d05a:"7815",adc29927:"8020","394c73fc":"8067","8c440dac":"8229","5b192a6a":"8271",c708d43d:"8286","4ba0dc1c":"8370",a7bd4aaa:"8518","4c16353d":"8547",d8ca53b9:"8564",f641567d:"8575",dec0f600:"8858","16465fe8":"8907",b11e0698:"8967",b3870161:"9131",fb457659:"9345","0c4223ed":"9370","5e95c892":"9661",b36e3652:"9669",f4b374d8:"9871","5bfd37b4":"9936"}[e]||e,r.p+r.u(e)},(()=>{var e={1303:0,532:0};r.f.j=(a,c)=>{var b=r.o(e,a)?e[a]:void 0;if(0!==b)if(b)c.push(b[2]);else if(/^(1303|532)$/.test(a))e[a]=0;else{var d=new Promise(((c,d)=>b=e[a]=[c,d]));c.push(b[2]=d);var f=r.p+r.u(a),t=new Error;r.l(f,(c=>{if(r.o(e,a)&&(0!==(b=e[a])&&(e[a]=void 0),b)){var d=c&&("load"===c.type?"missing":c.type),f=c&&c.target&&c.target.src;t.message="Loading chunk "+a+" failed.\n("+d+": "+f+")",t.name="ChunkLoadError",t.type=d,t.request=f,b[1](t)}}),"chunk-"+a,a)}},r.O.j=a=>0===e[a];var a=(a,c)=>{var b,d,f=c[0],t=c[1],o=c[2],n=0;if(f.some((a=>0!==e[a]))){for(b in t)r.o(t,b)&&(r.m[b]=t[b]);if(o)var i=o(r)}for(a&&a(c);n<f.length;n++)d=f[n],r.o(e,d)&&e[d]&&e[d][0](),e[d]=0;return r.O(i)},c=self.webpackChunkwebsite=self.webpackChunkwebsite||[];c.forEach(a.bind(null,0)),c.push=a.bind(null,c.push.bind(c))})()})(); \ No newline at end of file diff --git a/docs/api/classes/Any/index.html b/docs/api/classes/Any/index.html new file mode 100644 index 0000000..d0e61d4 --- /dev/null +++ b/docs/api/classes/Any/index.html @@ -0,0 +1,41 @@ +<!doctype html> +<html lang="en" dir="ltr" class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-api/classes/Any" data-has-hydrated="false"> +<head> +<meta charset="UTF-8"> +<meta name="generator" content="Docusaurus v3.1.0"> +<title data-rh="true">Class: Any | asn1js + + + + + + + \ No newline at end of file diff --git a/docs/api/classes/BaseBlock/index.html b/docs/api/classes/BaseBlock/index.html new file mode 100644 index 0000000..6717ab9 --- /dev/null +++ b/docs/api/classes/BaseBlock/index.html @@ -0,0 +1,175 @@ + + + + + +Class: BaseBlock<T, J> | asn1js + + + + +

Class: BaseBlock<T, J>

Type parameters

+
NameType
Textends ValueBlock = ValueBlock
Jextends ValueBlockJson = ValueBlockJson
+

Hierarchy

+ +

Implements

+ +

Constructors

+

constructor

+

new BaseBlock<T, J>(«destructured»?, valueBlockType?): BaseBlock<T, J>

+

Type parameters

+
NameType
Textends ValueBlock = ValueBlock
Jextends LocalBaseBlockJson = LocalBaseBlockJson
+

Parameters

+
NameType
«destructured»BaseBlockParams
valueBlockType?ValueBlockConstructor<T>
+

Returns

+

BaseBlock<T, J>

+

Overrides

+

LocalBaseBlock.constructor

+

Properties

+

blockLength

+

blockLength: number

+

Inherited from

+

LocalBaseBlock.blockLength

+
+

error

+

error: string

+

Inherited from

+

LocalBaseBlock.error

+
+

idBlock

+

idBlock: LocalIdentificationBlock

+
+

lenBlock

+

lenBlock: LocalLengthBlock

+
+

name

+

name: string

+

Implementation of

+

IBaseBlock.name

+
+

optional

+

optional: boolean

+

Implementation of

+

IBaseBlock.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlock<ValueBlock, LocalBaseBlockJson>

+

Implementation of

+

IBaseBlock.primitiveSchema

+
+

valueBeforeDecodeView

+

valueBeforeDecodeView: Uint8Array

+

Since

+

3.0.0

+

Inherited from

+

LocalBaseBlock.valueBeforeDecodeView

+
+

valueBlock

+

valueBlock: T

+
+

warnings

+

warnings: string[]

+

Inherited from

+

LocalBaseBlock.warnings

+
+

NAME

+

Static NAME: string = "BaseBlock"

+

Overrides

+

LocalBaseBlock.NAME

+

Accessors

+

valueBeforeDecode

+

get valueBeforeDecode(): ArrayBuffer

+

Returns

+

ArrayBuffer

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

LocalBaseBlock.valueBeforeDecode

+

set valueBeforeDecode(value): void

+

Parameters

+
NameType
valueArrayBuffer
+

Returns

+

void

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

LocalBaseBlock.valueBeforeDecode

+

Methods

+

fromBER

+

fromBER(inputBuffer, inputOffset, inputLength): number

+

Base function for converting block from BER encoded array of bytes

+

Parameters

+
NameTypeDescription
inputBufferUint8Array | ArrayBufferASN.1 BER encoded array
inputOffsetnumberOffset in ASN.1 BER encoded array where decoding should be started
inputLengthnumberMaximum length of array of bytes which can be using in this function
+

Returns

+

number

+

Offset after least decoded byte

+

Implementation of

+

IBerConvertible.fromBER

+
+

isEqual

+

isEqual(other): other is BaseBlock<T, J>

+

Determines whether two object instances are equal

+

Parameters

+
NameTypeDescription
otherunknownObject to compare with the current object
+

Returns

+

other is BaseBlock<T, J>

+
+

onAsciiEncoding

+

onAsciiEncoding(): string

+

Returns

+

string

+
+

toBER

+

toBER(sizeOnly?, writer?): ArrayBuffer

+

Encoding of current ASN.1 block into ASN.1 encoded array (BER rules)

+

Parameters

+
NameTypeDescription
sizeOnly?booleanFlag that we need only a size of encoding, not a real array of bytes
writer?ViewWriter-
+

Returns

+

ArrayBuffer

+

ASN.1 BER encoded array

+

Implementation of

+

IBerConvertible.toBER

+
+

toJSON

+

toJSON(): BaseBlockJson<J>

+

Returns

+

BaseBlockJson<J>

+

Overrides

+

LocalBaseBlock.toJSON

+
+

toString

+

toString(encoding?): string

+

Parameters

+
NameTypeDefault value
encodingStringEncoding"ascii"
+

Returns

+

string

+
+

blockName

+

blockName(): string

+

Aux function, need to get a block name. Need to have it here for inheritance

+

Returns

+

string

+

Returns name of the block

+

Inherited from

+

LocalBaseBlock.blockName

+ + \ No newline at end of file diff --git a/docs/api/classes/BaseStringBlock/index.html b/docs/api/classes/BaseStringBlock/index.html new file mode 100644 index 0000000..d5f25d4 --- /dev/null +++ b/docs/api/classes/BaseStringBlock/index.html @@ -0,0 +1,215 @@ + + + + + +Class: BaseStringBlock<T, J> | asn1js + + + + +

Class: BaseStringBlock<T, J>

Type parameters

+
NameType
Textends LocalStringValueBlock = LocalStringValueBlock
Jextends BaseStringBlockJson = BaseStringBlockJson
+

Hierarchy

+ +

Implements

+ +

Constructors

+

constructor

+

new BaseStringBlock<T, J>(«destructured»?, stringValueBlockType): BaseStringBlock<T, J>

+

Type parameters

+
NameType
Textends LocalStringValueBlock = LocalStringValueBlock
Jextends LocalStringValueBlockJson = LocalStringValueBlockJson
+

Parameters

+
NameType
«destructured»BaseStringBlockParams
stringValueBlockType() => T
+

Returns

+

BaseStringBlock<T, J>

+

Overrides

+

BaseBlock.constructor

+

Properties

+

blockLength

+

blockLength: number

+

Inherited from

+

BaseBlock.blockLength

+
+

error

+

error: string

+

Inherited from

+

BaseBlock.error

+
+

idBlock

+

idBlock: LocalIdentificationBlock

+

Inherited from

+

BaseBlock.idBlock

+
+

lenBlock

+

lenBlock: LocalLengthBlock

+

Inherited from

+

BaseBlock.lenBlock

+
+

name

+

name: string

+

Inherited from

+

BaseBlock.name

+
+

optional

+

optional: boolean

+

Inherited from

+

BaseBlock.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlock<ValueBlock, LocalBaseBlockJson>

+

Inherited from

+

BaseBlock.primitiveSchema

+
+

valueBeforeDecodeView

+

valueBeforeDecodeView: Uint8Array

+

Since

+

3.0.0

+

Inherited from

+

BaseBlock.valueBeforeDecodeView

+
+

valueBlock

+

valueBlock: T

+

Inherited from

+

BaseBlock.valueBlock

+
+

warnings

+

warnings: string[]

+

Inherited from

+

BaseBlock.warnings

+
+

NAME

+

Static NAME: string = "BaseStringBlock"

+

Overrides

+

BaseBlock.NAME

+

Accessors

+

valueBeforeDecode

+

get valueBeforeDecode(): ArrayBuffer

+

Returns

+

ArrayBuffer

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

BaseBlock.valueBeforeDecode

+

set valueBeforeDecode(value): void

+

Parameters

+
NameType
valueArrayBuffer
+

Returns

+

void

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

BaseBlock.valueBeforeDecode

+

Methods

+

fromBER

+

fromBER(inputBuffer, inputOffset, inputLength): number

+

Base function for converting block from BER encoded array of bytes

+

Parameters

+
NameTypeDescription
inputBufferUint8Array | ArrayBufferASN.1 BER encoded array
inputOffsetnumberOffset in ASN.1 BER encoded array where decoding should be started
inputLengthnumberMaximum length of array of bytes which can be using in this function
+

Returns

+

number

+

Offset after least decoded byte

+

Overrides

+

BaseBlock.fromBER

+
+

fromBuffer

+

fromBuffer(inputBuffer): void

+

Function converting ArrayBuffer into ASN.1 internal string

+

Parameters

+
NameTypeDescription
inputBufferUint8Array | ArrayBufferASN.1 BER encoded array
+

Returns

+

void

+
+

fromString

+

fromString(inputString): void

+

Creates a class object from the string

+

Parameters

+
NameTypeDescription
inputStringstringInput string to convert from
+

Returns

+

void

+

Implementation of

+

IStringConvertible.fromString

+
+

getValue

+

getValue(): string

+

String value

+

Returns

+

string

+

Since

+

3.0.0

+
+

isEqual

+

isEqual(other): other is BaseStringBlock<T, J>

+

Determines whether two object instances are equal

+

Parameters

+
NameTypeDescription
otherunknownObject to compare with the current object
+

Returns

+

other is BaseStringBlock<T, J>

+

Inherited from

+

BaseBlock.isEqual

+
+

onAsciiEncoding

+

onAsciiEncoding(): string

+

Returns

+

string

+

Overrides

+

BaseBlock.onAsciiEncoding

+
+

setValue

+

setValue(value): void

+

String value

+

Parameters

+
NameTypeDescription
valuestringString value
+

Returns

+

void

+

Since

+

3.0.0

+
+

toBER

+

toBER(sizeOnly?, writer?): ArrayBuffer

+

Encoding of current ASN.1 block into ASN.1 encoded array (BER rules)

+

Parameters

+
NameTypeDescription
sizeOnly?booleanFlag that we need only a size of encoding, not a real array of bytes
writer?ViewWriter-
+

Returns

+

ArrayBuffer

+

ASN.1 BER encoded array

+

Inherited from

+

BaseBlock.toBER

+
+

toJSON

+

toJSON(): BaseBlockJson<J>

+

Returns

+

BaseBlockJson<J>

+

Inherited from

+

BaseBlock.toJSON

+
+

toString

+

toString(encoding?): string

+

Returns a string representation of an object

+

Parameters

+
NameTypeDefault value
encodingStringEncoding"ascii"
+

Returns

+

string

+

String representation of the class object

+

Implementation of

+

IStringConvertible.toString

+

Inherited from

+

BaseBlock.toString

+
+

blockName

+

blockName(): string

+

Aux function, need to get a block name. Need to have it here for inheritance

+

Returns

+

string

+

Returns name of the block

+

Inherited from

+

BaseBlock.blockName

+ + \ No newline at end of file diff --git a/docs/api/classes/BitString/index.html b/docs/api/classes/BitString/index.html new file mode 100644 index 0000000..3a1979f --- /dev/null +++ b/docs/api/classes/BitString/index.html @@ -0,0 +1,167 @@ + + + + + +Class: BitString | asn1js + + + + +

Class: BitString

Hierarchy

+
    +
  • +

    BaseBlock<LocalBitStringValueBlock, LocalBitStringValueBlockJson>

    +

    BitString

    +
  • +
+

Constructors

+

constructor

+

new BitString(«destructured»?): BitString

+

Parameters

+
NameType
«destructured»BitStringParams
+

Returns

+

BitString

+

Overrides

+

BaseBlock.constructor

+

Properties

+

blockLength

+

blockLength: number

+

Inherited from

+

BaseBlock.blockLength

+
+

error

+

error: string

+

Inherited from

+

BaseBlock.error

+
+

idBlock

+

idBlock: LocalIdentificationBlock

+

Inherited from

+

BaseBlock.idBlock

+
+

lenBlock

+

lenBlock: LocalLengthBlock

+

Inherited from

+

BaseBlock.lenBlock

+
+

name

+

name: string

+

Inherited from

+

BaseBlock.name

+
+

optional

+

optional: boolean

+

Inherited from

+

BaseBlock.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlock<ValueBlock, LocalBaseBlockJson>

+

Inherited from

+

BaseBlock.primitiveSchema

+
+

valueBeforeDecodeView

+

valueBeforeDecodeView: Uint8Array

+

Since

+

3.0.0

+

Inherited from

+

BaseBlock.valueBeforeDecodeView

+
+

valueBlock

+

valueBlock: LocalBitStringValueBlock

+

Inherited from

+

BaseBlock.valueBlock

+
+

warnings

+

warnings: string[]

+

Inherited from

+

BaseBlock.warnings

+
+

NAME

+

Static NAME: string = BIT_STRING_NAME

+

Overrides

+

BaseBlock.NAME

+

Accessors

+

valueBeforeDecode

+

get valueBeforeDecode(): ArrayBuffer

+

Returns

+

ArrayBuffer

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

BaseBlock.valueBeforeDecode

+

set valueBeforeDecode(value): void

+

Parameters

+
NameType
valueArrayBuffer
+

Returns

+

void

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

BaseBlock.valueBeforeDecode

+

Methods

+

fromBER

+

fromBER(inputBuffer, inputOffset, inputLength): number

+

Base function for converting block from BER encoded array of bytes

+

Parameters

+
NameTypeDescription
inputBufferUint8Array | ArrayBufferASN.1 BER encoded array
inputOffsetnumberOffset in ASN.1 BER encoded array where decoding should be started
inputLengthnumberMaximum length of array of bytes which can be using in this function
+

Returns

+

number

+

Offset after least decoded byte

+

Overrides

+

BaseBlock.fromBER

+
+

isEqual

+

isEqual(other): other is BitString

+

Determines whether two object instances are equal

+

Parameters

+
NameTypeDescription
otherunknownObject to compare with the current object
+

Returns

+

other is BitString

+

Inherited from

+

BaseBlock.isEqual

+
+

onAsciiEncoding

+

onAsciiEncoding(): string

+

Returns

+

string

+

Overrides

+

BaseBlock.onAsciiEncoding

+
+

toBER

+

toBER(sizeOnly?, writer?): ArrayBuffer

+

Encoding of current ASN.1 block into ASN.1 encoded array (BER rules)

+

Parameters

+
NameTypeDescription
sizeOnly?booleanFlag that we need only a size of encoding, not a real array of bytes
writer?ViewWriter-
+

Returns

+

ArrayBuffer

+

ASN.1 BER encoded array

+

Inherited from

+

BaseBlock.toBER

+
+

toJSON

+

toJSON(): BaseBlockJson<LocalBitStringValueBlockJson>

+

Returns

+

BaseBlockJson<LocalBitStringValueBlockJson>

+

Inherited from

+

BaseBlock.toJSON

+
+

toString

+

toString(encoding?): string

+

Parameters

+
NameTypeDefault value
encodingStringEncoding"ascii"
+

Returns

+

string

+

Inherited from

+

BaseBlock.toString

+
+

blockName

+

blockName(): string

+

Aux function, need to get a block name. Need to have it here for inheritance

+

Returns

+

string

+

Returns name of the block

+

Inherited from

+

BaseBlock.blockName

+ + \ No newline at end of file diff --git a/docs/api/classes/BmpString/index.html b/docs/api/classes/BmpString/index.html new file mode 100644 index 0000000..f70348a --- /dev/null +++ b/docs/api/classes/BmpString/index.html @@ -0,0 +1,203 @@ + + + + + +Class: BmpString | asn1js + + + + +

Class: BmpString

Hierarchy

+
    +
  • +

    LocalBmpStringValueBlock

    +

    BmpString

    +
  • +
+

Constructors

+

constructor

+

new BmpString(«destructured»?): BmpString

+

Parameters

+
NameType
«destructured»LocalSimpleStringBlockParams
+

Returns

+

BmpString

+

Overrides

+

LocalBmpStringValueBlock.constructor

+

Properties

+

blockLength

+

blockLength: number

+

Inherited from

+

LocalBmpStringValueBlock.blockLength

+
+

error

+

error: string

+

Inherited from

+

LocalBmpStringValueBlock.error

+
+

idBlock

+

idBlock: LocalIdentificationBlock

+

Inherited from

+

LocalBmpStringValueBlock.idBlock

+
+

lenBlock

+

lenBlock: LocalLengthBlock

+

Inherited from

+

LocalBmpStringValueBlock.lenBlock

+
+

name

+

name: string

+

Inherited from

+

LocalBmpStringValueBlock.name

+
+

optional

+

optional: boolean

+

Inherited from

+

LocalBmpStringValueBlock.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlock<ValueBlock, LocalBaseBlockJson>

+

Inherited from

+

LocalBmpStringValueBlock.primitiveSchema

+
+

valueBeforeDecodeView

+

valueBeforeDecodeView: Uint8Array

+

Since

+

3.0.0

+

Inherited from

+

LocalBmpStringValueBlock.valueBeforeDecodeView

+
+

valueBlock

+

valueBlock: LocalSimpleStringValueBlock

+

Inherited from

+

LocalBmpStringValueBlock.valueBlock

+
+

warnings

+

warnings: string[]

+

Inherited from

+

LocalBmpStringValueBlock.warnings

+
+

NAME

+

Static NAME: string = "BMPString"

+

Overrides

+

LocalBmpStringValueBlock.NAME

+

Accessors

+

valueBeforeDecode

+

get valueBeforeDecode(): ArrayBuffer

+

Returns

+

ArrayBuffer

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

LocalBmpStringValueBlock.valueBeforeDecode

+

set valueBeforeDecode(value): void

+

Parameters

+
NameType
valueArrayBuffer
+

Returns

+

void

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

LocalBmpStringValueBlock.valueBeforeDecode

+

Methods

+

fromBER

+

fromBER(inputBuffer, inputOffset, inputLength): number

+

Parameters

+
NameType
inputBufferUint8Array | ArrayBuffer
inputOffsetnumber
inputLengthnumber
+

Returns

+

number

+

Inherited from

+

LocalBmpStringValueBlock.fromBER

+
+

fromBuffer

+

fromBuffer(inputBuffer): void

+

Parameters

+
NameType
inputBufferUint8Array | ArrayBuffer
+

Returns

+

void

+

Inherited from

+

LocalBmpStringValueBlock.fromBuffer

+
+

fromString

+

fromString(inputString): void

+

Parameters

+
NameType
inputStringstring
+

Returns

+

void

+

Inherited from

+

LocalBmpStringValueBlock.fromString

+
+

getValue

+

getValue(): string

+

String value

+

Returns

+

string

+

Since

+

3.0.0

+

Inherited from

+

LocalBmpStringValueBlock.getValue

+
+

isEqual

+

isEqual(other): other is BmpString

+

Determines whether two object instances are equal

+

Parameters

+
NameTypeDescription
otherunknownObject to compare with the current object
+

Returns

+

other is BmpString

+

Inherited from

+

LocalBmpStringValueBlock.isEqual

+
+

onAsciiEncoding

+

onAsciiEncoding(): string

+

Returns

+

string

+

Inherited from

+

LocalBmpStringValueBlock.onAsciiEncoding

+
+

setValue

+

setValue(value): void

+

String value

+

Parameters

+
NameTypeDescription
valuestringString value
+

Returns

+

void

+

Since

+

3.0.0

+

Inherited from

+

LocalBmpStringValueBlock.setValue

+
+

toBER

+

toBER(sizeOnly?, writer?): ArrayBuffer

+

Parameters

+
NameType
sizeOnly?boolean
writer?ViewWriter
+

Returns

+

ArrayBuffer

+

Inherited from

+

LocalBmpStringValueBlock.toBER

+
+

toJSON

+

toJSON(): BaseBlockJson<LocalStringValueBlockJson>

+

Returns

+

BaseBlockJson<LocalStringValueBlockJson>

+

Inherited from

+

LocalBmpStringValueBlock.toJSON

+
+

toString

+

toString(encoding?): string

+

Parameters

+
NameTypeDefault value
encodingStringEncoding"ascii"
+

Returns

+

string

+

Inherited from

+

LocalBmpStringValueBlock.toString

+
+

blockName

+

blockName(): string

+

Aux function, need to get a block name. Need to have it here for inheritance

+

Returns

+

string

+

Returns name of the block

+

Inherited from

+

LocalBmpStringValueBlock.blockName

+ + \ No newline at end of file diff --git a/docs/api/classes/Boolean/index.html b/docs/api/classes/Boolean/index.html new file mode 100644 index 0000000..24f9c97 --- /dev/null +++ b/docs/api/classes/Boolean/index.html @@ -0,0 +1,185 @@ + + + + + +Class: Boolean | asn1js + + + + +

Class: Boolean

Hierarchy

+
    +
  • +

    BaseBlock<LocalBooleanValueBlock, LocalBooleanValueBlockJson>

    +

    Boolean

    +
  • +
+

Constructors

+

constructor

+

new Boolean(parameters?): Boolean

+

Parameters

+
NameType
parametersBooleanParams
+

Returns

+

Boolean

+

Overrides

+

BaseBlock.constructor

+

Properties

+

blockLength

+

blockLength: number

+

Inherited from

+

BaseBlock.blockLength

+
+

error

+

error: string

+

Inherited from

+

BaseBlock.error

+
+

idBlock

+

idBlock: LocalIdentificationBlock

+

Inherited from

+

BaseBlock.idBlock

+
+

lenBlock

+

lenBlock: LocalLengthBlock

+

Inherited from

+

BaseBlock.lenBlock

+
+

name

+

name: string

+

Inherited from

+

BaseBlock.name

+
+

optional

+

optional: boolean

+

Inherited from

+

BaseBlock.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlock<ValueBlock, LocalBaseBlockJson>

+

Inherited from

+

BaseBlock.primitiveSchema

+
+

valueBeforeDecodeView

+

valueBeforeDecodeView: Uint8Array

+

Since

+

3.0.0

+

Inherited from

+

BaseBlock.valueBeforeDecodeView

+
+

valueBlock

+

valueBlock: LocalBooleanValueBlock

+

Inherited from

+

BaseBlock.valueBlock

+
+

warnings

+

warnings: string[]

+

Inherited from

+

BaseBlock.warnings

+
+

NAME

+

Static NAME: string = "BOOLEAN"

+

Overrides

+

BaseBlock.NAME

+

Accessors

+

valueBeforeDecode

+

get valueBeforeDecode(): ArrayBuffer

+

Returns

+

ArrayBuffer

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

BaseBlock.valueBeforeDecode

+

set valueBeforeDecode(value): void

+

Parameters

+
NameType
valueArrayBuffer
+

Returns

+

void

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

BaseBlock.valueBeforeDecode

+

Methods

+

fromBER

+

fromBER(inputBuffer, inputOffset, inputLength): number

+

Base function for converting block from BER encoded array of bytes

+

Parameters

+
NameTypeDescription
inputBufferUint8Array | ArrayBufferASN.1 BER encoded array
inputOffsetnumberOffset in ASN.1 BER encoded array where decoding should be started
inputLengthnumberMaximum length of array of bytes which can be using in this function
+

Returns

+

number

+

Offset after least decoded byte

+

Inherited from

+

BaseBlock.fromBER

+
+

getValue

+

getValue(): boolean

+

Gets value

+

Returns

+

boolean

+

Since

+

3.0.0

+
+

isEqual

+

isEqual(other): other is Boolean

+

Determines whether two object instances are equal

+

Parameters

+
NameTypeDescription
otherunknownObject to compare with the current object
+

Returns

+

other is Boolean

+

Inherited from

+

BaseBlock.isEqual

+
+

onAsciiEncoding

+

onAsciiEncoding(): string

+

Returns

+

string

+

Overrides

+

BaseBlock.onAsciiEncoding

+
+

setValue

+

setValue(value): void

+

Sets value

+

Parameters

+
NameTypeDescription
valuebooleanBoolean value
+

Returns

+

void

+

Since

+

3.0.0

+
+

toBER

+

toBER(sizeOnly?, writer?): ArrayBuffer

+

Encoding of current ASN.1 block into ASN.1 encoded array (BER rules)

+

Parameters

+
NameTypeDescription
sizeOnly?booleanFlag that we need only a size of encoding, not a real array of bytes
writer?ViewWriter-
+

Returns

+

ArrayBuffer

+

ASN.1 BER encoded array

+

Inherited from

+

BaseBlock.toBER

+
+

toJSON

+

toJSON(): BaseBlockJson<LocalBooleanValueBlockJson>

+

Returns

+

BaseBlockJson<LocalBooleanValueBlockJson>

+

Inherited from

+

BaseBlock.toJSON

+
+

toString

+

toString(encoding?): string

+

Parameters

+
NameTypeDefault value
encodingStringEncoding"ascii"
+

Returns

+

string

+

Inherited from

+

BaseBlock.toString

+
+

blockName

+

blockName(): string

+

Aux function, need to get a block name. Need to have it here for inheritance

+

Returns

+

string

+

Returns name of the block

+

Inherited from

+

BaseBlock.blockName

+ + \ No newline at end of file diff --git a/docs/api/classes/CharacterString/index.html b/docs/api/classes/CharacterString/index.html new file mode 100644 index 0000000..d7b5d48 --- /dev/null +++ b/docs/api/classes/CharacterString/index.html @@ -0,0 +1,203 @@ + + + + + +Class: CharacterString | asn1js + + + + +

Class: CharacterString

Hierarchy

+
    +
  • +

    LocalSimpleStringBlock

    +

    CharacterString

    +
  • +
+

Constructors

+

constructor

+

new CharacterString(parameters?): CharacterString

+

Parameters

+
NameType
parametersLocalSimpleStringBlockParams
+

Returns

+

CharacterString

+

Overrides

+

LocalSimpleStringBlock.constructor

+

Properties

+

blockLength

+

blockLength: number

+

Inherited from

+

LocalSimpleStringBlock.blockLength

+
+

error

+

error: string

+

Inherited from

+

LocalSimpleStringBlock.error

+
+

idBlock

+

idBlock: LocalIdentificationBlock

+

Inherited from

+

LocalSimpleStringBlock.idBlock

+
+

lenBlock

+

lenBlock: LocalLengthBlock

+

Inherited from

+

LocalSimpleStringBlock.lenBlock

+
+

name

+

name: string

+

Inherited from

+

LocalSimpleStringBlock.name

+
+

optional

+

optional: boolean

+

Inherited from

+

LocalSimpleStringBlock.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlock<ValueBlock, LocalBaseBlockJson>

+

Inherited from

+

LocalSimpleStringBlock.primitiveSchema

+
+

valueBeforeDecodeView

+

valueBeforeDecodeView: Uint8Array

+

Since

+

3.0.0

+

Inherited from

+

LocalSimpleStringBlock.valueBeforeDecodeView

+
+

valueBlock

+

valueBlock: LocalSimpleStringValueBlock

+

Inherited from

+

LocalSimpleStringBlock.valueBlock

+
+

warnings

+

warnings: string[]

+

Inherited from

+

LocalSimpleStringBlock.warnings

+
+

NAME

+

Static NAME: string = "CharacterString"

+

Overrides

+

LocalSimpleStringBlock.NAME

+

Accessors

+

valueBeforeDecode

+

get valueBeforeDecode(): ArrayBuffer

+

Returns

+

ArrayBuffer

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

LocalSimpleStringBlock.valueBeforeDecode

+

set valueBeforeDecode(value): void

+

Parameters

+
NameType
valueArrayBuffer
+

Returns

+

void

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

LocalSimpleStringBlock.valueBeforeDecode

+

Methods

+

fromBER

+

fromBER(inputBuffer, inputOffset, inputLength): number

+

Parameters

+
NameType
inputBufferUint8Array | ArrayBuffer
inputOffsetnumber
inputLengthnumber
+

Returns

+

number

+

Inherited from

+

LocalSimpleStringBlock.fromBER

+
+

fromBuffer

+

fromBuffer(inputBuffer): void

+

Parameters

+
NameType
inputBufferUint8Array | ArrayBuffer
+

Returns

+

void

+

Inherited from

+

LocalSimpleStringBlock.fromBuffer

+
+

fromString

+

fromString(inputString): void

+

Parameters

+
NameType
inputStringstring
+

Returns

+

void

+

Inherited from

+

LocalSimpleStringBlock.fromString

+
+

getValue

+

getValue(): string

+

String value

+

Returns

+

string

+

Since

+

3.0.0

+

Inherited from

+

LocalSimpleStringBlock.getValue

+
+

isEqual

+

isEqual(other): other is CharacterString

+

Determines whether two object instances are equal

+

Parameters

+
NameTypeDescription
otherunknownObject to compare with the current object
+

Returns

+

other is CharacterString

+

Inherited from

+

LocalSimpleStringBlock.isEqual

+
+

onAsciiEncoding

+

onAsciiEncoding(): string

+

Returns

+

string

+

Inherited from

+

LocalSimpleStringBlock.onAsciiEncoding

+
+

setValue

+

setValue(value): void

+

String value

+

Parameters

+
NameTypeDescription
valuestringString value
+

Returns

+

void

+

Since

+

3.0.0

+

Inherited from

+

LocalSimpleStringBlock.setValue

+
+

toBER

+

toBER(sizeOnly?, writer?): ArrayBuffer

+

Parameters

+
NameType
sizeOnly?boolean
writer?ViewWriter
+

Returns

+

ArrayBuffer

+

Inherited from

+

LocalSimpleStringBlock.toBER

+
+

toJSON

+

toJSON(): BaseBlockJson<LocalStringValueBlockJson>

+

Returns

+

BaseBlockJson<LocalStringValueBlockJson>

+

Inherited from

+

LocalSimpleStringBlock.toJSON

+
+

toString

+

toString(encoding?): string

+

Parameters

+
NameTypeDefault value
encodingStringEncoding"ascii"
+

Returns

+

string

+

Inherited from

+

LocalSimpleStringBlock.toString

+
+

blockName

+

blockName(): string

+

Aux function, need to get a block name. Need to have it here for inheritance

+

Returns

+

string

+

Returns name of the block

+

Inherited from

+

LocalSimpleStringBlock.blockName

+ + \ No newline at end of file diff --git a/docs/api/classes/Choice/index.html b/docs/api/classes/Choice/index.html new file mode 100644 index 0000000..4f88dca --- /dev/null +++ b/docs/api/classes/Choice/index.html @@ -0,0 +1,51 @@ + + + + + +Class: Choice | asn1js + + + + + + + \ No newline at end of file diff --git a/docs/api/classes/Constructed/index.html b/docs/api/classes/Constructed/index.html new file mode 100644 index 0000000..967c54f --- /dev/null +++ b/docs/api/classes/Constructed/index.html @@ -0,0 +1,169 @@ + + + + + +Class: Constructed | asn1js + + + + +

Class: Constructed

Hierarchy

+
    +
  • +

    BaseBlock<LocalConstructedValueBlock, LocalConstructedValueBlockJson>

    +

    Constructed

    +

    ↳↳ Sequence

    +

    ↳↳ Set

    +
  • +
+

Constructors

+

constructor

+

new Constructed(parameters?): Constructed

+

Parameters

+
NameType
parametersConstructedParams
+

Returns

+

Constructed

+

Overrides

+

BaseBlock.constructor

+

Properties

+

blockLength

+

blockLength: number

+

Inherited from

+

BaseBlock.blockLength

+
+

error

+

error: string

+

Inherited from

+

BaseBlock.error

+
+

idBlock

+

idBlock: LocalIdentificationBlock

+

Inherited from

+

BaseBlock.idBlock

+
+

lenBlock

+

lenBlock: LocalLengthBlock

+

Inherited from

+

BaseBlock.lenBlock

+
+

name

+

name: string

+

Inherited from

+

BaseBlock.name

+
+

optional

+

optional: boolean

+

Inherited from

+

BaseBlock.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlock<ValueBlock, LocalBaseBlockJson>

+

Inherited from

+

BaseBlock.primitiveSchema

+
+

valueBeforeDecodeView

+

valueBeforeDecodeView: Uint8Array

+

Since

+

3.0.0

+

Inherited from

+

BaseBlock.valueBeforeDecodeView

+
+

valueBlock

+

valueBlock: LocalConstructedValueBlock

+

Inherited from

+

BaseBlock.valueBlock

+
+

warnings

+

warnings: string[]

+

Inherited from

+

BaseBlock.warnings

+
+

NAME

+

Static NAME: string = "CONSTRUCTED"

+

Overrides

+

BaseBlock.NAME

+

Accessors

+

valueBeforeDecode

+

get valueBeforeDecode(): ArrayBuffer

+

Returns

+

ArrayBuffer

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

BaseBlock.valueBeforeDecode

+

set valueBeforeDecode(value): void

+

Parameters

+
NameType
valueArrayBuffer
+

Returns

+

void

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

BaseBlock.valueBeforeDecode

+

Methods

+

fromBER

+

fromBER(inputBuffer, inputOffset, inputLength): number

+

Base function for converting block from BER encoded array of bytes

+

Parameters

+
NameTypeDescription
inputBufferUint8Array | ArrayBufferASN.1 BER encoded array
inputOffsetnumberOffset in ASN.1 BER encoded array where decoding should be started
inputLengthnumberMaximum length of array of bytes which can be using in this function
+

Returns

+

number

+

Offset after least decoded byte

+

Overrides

+

BaseBlock.fromBER

+
+

isEqual

+

isEqual(other): other is Constructed

+

Determines whether two object instances are equal

+

Parameters

+
NameTypeDescription
otherunknownObject to compare with the current object
+

Returns

+

other is Constructed

+

Inherited from

+

BaseBlock.isEqual

+
+

onAsciiEncoding

+

onAsciiEncoding(): string

+

Returns

+

string

+

Overrides

+

BaseBlock.onAsciiEncoding

+
+

toBER

+

toBER(sizeOnly?, writer?): ArrayBuffer

+

Encoding of current ASN.1 block into ASN.1 encoded array (BER rules)

+

Parameters

+
NameTypeDescription
sizeOnly?booleanFlag that we need only a size of encoding, not a real array of bytes
writer?ViewWriter-
+

Returns

+

ArrayBuffer

+

ASN.1 BER encoded array

+

Inherited from

+

BaseBlock.toBER

+
+

toJSON

+

toJSON(): BaseBlockJson<LocalConstructedValueBlockJson>

+

Returns

+

BaseBlockJson<LocalConstructedValueBlockJson>

+

Inherited from

+

BaseBlock.toJSON

+
+

toString

+

toString(encoding?): string

+

Parameters

+
NameTypeDefault value
encodingStringEncoding"ascii"
+

Returns

+

string

+

Inherited from

+

BaseBlock.toString

+
+

blockName

+

blockName(): string

+

Aux function, need to get a block name. Need to have it here for inheritance

+

Returns

+

string

+

Returns name of the block

+

Inherited from

+

BaseBlock.blockName

+ + \ No newline at end of file diff --git a/docs/api/classes/DATE/index.html b/docs/api/classes/DATE/index.html new file mode 100644 index 0000000..09b7059 --- /dev/null +++ b/docs/api/classes/DATE/index.html @@ -0,0 +1,203 @@ + + + + + +Class: DATE | asn1js + + + + +

Class: DATE

Hierarchy

+ +

Constructors

+

constructor

+

new DATE(parameters?): DATE

+

Parameters

+
NameType
parametersUtf8StringParams
+

Returns

+

DATE

+

Overrides

+

Utf8String.constructor

+

Properties

+

blockLength

+

blockLength: number

+

Inherited from

+

Utf8String.blockLength

+
+

error

+

error: string

+

Inherited from

+

Utf8String.error

+
+

idBlock

+

idBlock: LocalIdentificationBlock

+

Inherited from

+

Utf8String.idBlock

+
+

lenBlock

+

lenBlock: LocalLengthBlock

+

Inherited from

+

Utf8String.lenBlock

+
+

name

+

name: string

+

Inherited from

+

Utf8String.name

+
+

optional

+

optional: boolean

+

Inherited from

+

Utf8String.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlock<ValueBlock, LocalBaseBlockJson>

+

Inherited from

+

Utf8String.primitiveSchema

+
+

valueBeforeDecodeView

+

valueBeforeDecodeView: Uint8Array

+

Since

+

3.0.0

+

Inherited from

+

Utf8String.valueBeforeDecodeView

+
+

valueBlock

+

valueBlock: LocalSimpleStringValueBlock

+

Inherited from

+

Utf8String.valueBlock

+
+

warnings

+

warnings: string[]

+

Inherited from

+

Utf8String.warnings

+
+

NAME

+

Static NAME: string = "DATE"

+

Overrides

+

Utf8String.NAME

+

Accessors

+

valueBeforeDecode

+

get valueBeforeDecode(): ArrayBuffer

+

Returns

+

ArrayBuffer

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

Utf8String.valueBeforeDecode

+

set valueBeforeDecode(value): void

+

Parameters

+
NameType
valueArrayBuffer
+

Returns

+

void

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

Utf8String.valueBeforeDecode

+

Methods

+

fromBER

+

fromBER(inputBuffer, inputOffset, inputLength): number

+

Parameters

+
NameType
inputBufferUint8Array | ArrayBuffer
inputOffsetnumber
inputLengthnumber
+

Returns

+

number

+

Inherited from

+

Utf8String.fromBER

+
+

fromBuffer

+

fromBuffer(inputBuffer): void

+

Parameters

+
NameType
inputBufferUint8Array | ArrayBuffer
+

Returns

+

void

+

Inherited from

+

Utf8String.fromBuffer

+
+

fromString

+

fromString(inputString): void

+

Parameters

+
NameType
inputStringstring
+

Returns

+

void

+

Inherited from

+

Utf8String.fromString

+
+

getValue

+

getValue(): string

+

String value

+

Returns

+

string

+

Since

+

3.0.0

+

Inherited from

+

Utf8String.getValue

+
+

isEqual

+

isEqual(other): other is DATE

+

Determines whether two object instances are equal

+

Parameters

+
NameTypeDescription
otherunknownObject to compare with the current object
+

Returns

+

other is DATE

+

Inherited from

+

Utf8String.isEqual

+
+

onAsciiEncoding

+

onAsciiEncoding(): string

+

Returns

+

string

+

Inherited from

+

Utf8String.onAsciiEncoding

+
+

setValue

+

setValue(value): void

+

String value

+

Parameters

+
NameTypeDescription
valuestringString value
+

Returns

+

void

+

Since

+

3.0.0

+

Inherited from

+

Utf8String.setValue

+
+

toBER

+

toBER(sizeOnly?, writer?): ArrayBuffer

+

Parameters

+
NameType
sizeOnly?boolean
writer?ViewWriter
+

Returns

+

ArrayBuffer

+

Inherited from

+

Utf8String.toBER

+
+

toJSON

+

toJSON(): BaseBlockJson<LocalStringValueBlockJson>

+

Returns

+

BaseBlockJson<LocalStringValueBlockJson>

+

Inherited from

+

Utf8String.toJSON

+
+

toString

+

toString(encoding?): string

+

Parameters

+
NameTypeDefault value
encodingStringEncoding"ascii"
+

Returns

+

string

+

Inherited from

+

Utf8String.toString

+
+

blockName

+

blockName(): string

+

Aux function, need to get a block name. Need to have it here for inheritance

+

Returns

+

string

+

Returns name of the block

+

Inherited from

+

Utf8String.blockName

+ + \ No newline at end of file diff --git a/docs/api/classes/DateTime/index.html b/docs/api/classes/DateTime/index.html new file mode 100644 index 0000000..a5d1936 --- /dev/null +++ b/docs/api/classes/DateTime/index.html @@ -0,0 +1,203 @@ + + + + + +Class: DateTime | asn1js + + + + +

Class: DateTime

Hierarchy

+ +

Constructors

+

constructor

+

new DateTime(parameters?): DateTime

+

Parameters

+
NameType
parametersUtf8StringParams
+

Returns

+

DateTime

+

Overrides

+

Utf8String.constructor

+

Properties

+

blockLength

+

blockLength: number

+

Inherited from

+

Utf8String.blockLength

+
+

error

+

error: string

+

Inherited from

+

Utf8String.error

+
+

idBlock

+

idBlock: LocalIdentificationBlock

+

Inherited from

+

Utf8String.idBlock

+
+

lenBlock

+

lenBlock: LocalLengthBlock

+

Inherited from

+

Utf8String.lenBlock

+
+

name

+

name: string

+

Inherited from

+

Utf8String.name

+
+

optional

+

optional: boolean

+

Inherited from

+

Utf8String.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlock<ValueBlock, LocalBaseBlockJson>

+

Inherited from

+

Utf8String.primitiveSchema

+
+

valueBeforeDecodeView

+

valueBeforeDecodeView: Uint8Array

+

Since

+

3.0.0

+

Inherited from

+

Utf8String.valueBeforeDecodeView

+
+

valueBlock

+

valueBlock: LocalSimpleStringValueBlock

+

Inherited from

+

Utf8String.valueBlock

+
+

warnings

+

warnings: string[]

+

Inherited from

+

Utf8String.warnings

+
+

NAME

+

Static NAME: string = "DateTime"

+

Overrides

+

Utf8String.NAME

+

Accessors

+

valueBeforeDecode

+

get valueBeforeDecode(): ArrayBuffer

+

Returns

+

ArrayBuffer

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

Utf8String.valueBeforeDecode

+

set valueBeforeDecode(value): void

+

Parameters

+
NameType
valueArrayBuffer
+

Returns

+

void

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

Utf8String.valueBeforeDecode

+

Methods

+

fromBER

+

fromBER(inputBuffer, inputOffset, inputLength): number

+

Parameters

+
NameType
inputBufferUint8Array | ArrayBuffer
inputOffsetnumber
inputLengthnumber
+

Returns

+

number

+

Inherited from

+

Utf8String.fromBER

+
+

fromBuffer

+

fromBuffer(inputBuffer): void

+

Parameters

+
NameType
inputBufferUint8Array | ArrayBuffer
+

Returns

+

void

+

Inherited from

+

Utf8String.fromBuffer

+
+

fromString

+

fromString(inputString): void

+

Parameters

+
NameType
inputStringstring
+

Returns

+

void

+

Inherited from

+

Utf8String.fromString

+
+

getValue

+

getValue(): string

+

String value

+

Returns

+

string

+

Since

+

3.0.0

+

Inherited from

+

Utf8String.getValue

+
+

isEqual

+

isEqual(other): other is DateTime

+

Determines whether two object instances are equal

+

Parameters

+
NameTypeDescription
otherunknownObject to compare with the current object
+

Returns

+

other is DateTime

+

Inherited from

+

Utf8String.isEqual

+
+

onAsciiEncoding

+

onAsciiEncoding(): string

+

Returns

+

string

+

Inherited from

+

Utf8String.onAsciiEncoding

+
+

setValue

+

setValue(value): void

+

String value

+

Parameters

+
NameTypeDescription
valuestringString value
+

Returns

+

void

+

Since

+

3.0.0

+

Inherited from

+

Utf8String.setValue

+
+

toBER

+

toBER(sizeOnly?, writer?): ArrayBuffer

+

Parameters

+
NameType
sizeOnly?boolean
writer?ViewWriter
+

Returns

+

ArrayBuffer

+

Inherited from

+

Utf8String.toBER

+
+

toJSON

+

toJSON(): BaseBlockJson<LocalStringValueBlockJson>

+

Returns

+

BaseBlockJson<LocalStringValueBlockJson>

+

Inherited from

+

Utf8String.toJSON

+
+

toString

+

toString(encoding?): string

+

Parameters

+
NameTypeDefault value
encodingStringEncoding"ascii"
+

Returns

+

string

+

Inherited from

+

Utf8String.toString

+
+

blockName

+

blockName(): string

+

Aux function, need to get a block name. Need to have it here for inheritance

+

Returns

+

string

+

Returns name of the block

+

Inherited from

+

Utf8String.blockName

+ + \ No newline at end of file diff --git a/docs/api/classes/Duration/index.html b/docs/api/classes/Duration/index.html new file mode 100644 index 0000000..c821d9a --- /dev/null +++ b/docs/api/classes/Duration/index.html @@ -0,0 +1,203 @@ + + + + + +Class: Duration | asn1js + + + + +

Class: Duration

Hierarchy

+ +

Constructors

+

constructor

+

new Duration(parameters?): Duration

+

Parameters

+
NameType
parametersUtf8StringParams
+

Returns

+

Duration

+

Overrides

+

Utf8String.constructor

+

Properties

+

blockLength

+

blockLength: number

+

Inherited from

+

Utf8String.blockLength

+
+

error

+

error: string

+

Inherited from

+

Utf8String.error

+
+

idBlock

+

idBlock: LocalIdentificationBlock

+

Inherited from

+

Utf8String.idBlock

+
+

lenBlock

+

lenBlock: LocalLengthBlock

+

Inherited from

+

Utf8String.lenBlock

+
+

name

+

name: string

+

Inherited from

+

Utf8String.name

+
+

optional

+

optional: boolean

+

Inherited from

+

Utf8String.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlock<ValueBlock, LocalBaseBlockJson>

+

Inherited from

+

Utf8String.primitiveSchema

+
+

valueBeforeDecodeView

+

valueBeforeDecodeView: Uint8Array

+

Since

+

3.0.0

+

Inherited from

+

Utf8String.valueBeforeDecodeView

+
+

valueBlock

+

valueBlock: LocalSimpleStringValueBlock

+

Inherited from

+

Utf8String.valueBlock

+
+

warnings

+

warnings: string[]

+

Inherited from

+

Utf8String.warnings

+
+

NAME

+

Static NAME: string = "Duration"

+

Overrides

+

Utf8String.NAME

+

Accessors

+

valueBeforeDecode

+

get valueBeforeDecode(): ArrayBuffer

+

Returns

+

ArrayBuffer

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

Utf8String.valueBeforeDecode

+

set valueBeforeDecode(value): void

+

Parameters

+
NameType
valueArrayBuffer
+

Returns

+

void

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

Utf8String.valueBeforeDecode

+

Methods

+

fromBER

+

fromBER(inputBuffer, inputOffset, inputLength): number

+

Parameters

+
NameType
inputBufferUint8Array | ArrayBuffer
inputOffsetnumber
inputLengthnumber
+

Returns

+

number

+

Inherited from

+

Utf8String.fromBER

+
+

fromBuffer

+

fromBuffer(inputBuffer): void

+

Parameters

+
NameType
inputBufferUint8Array | ArrayBuffer
+

Returns

+

void

+

Inherited from

+

Utf8String.fromBuffer

+
+

fromString

+

fromString(inputString): void

+

Parameters

+
NameType
inputStringstring
+

Returns

+

void

+

Inherited from

+

Utf8String.fromString

+
+

getValue

+

getValue(): string

+

String value

+

Returns

+

string

+

Since

+

3.0.0

+

Inherited from

+

Utf8String.getValue

+
+

isEqual

+

isEqual(other): other is Duration

+

Determines whether two object instances are equal

+

Parameters

+
NameTypeDescription
otherunknownObject to compare with the current object
+

Returns

+

other is Duration

+

Inherited from

+

Utf8String.isEqual

+
+

onAsciiEncoding

+

onAsciiEncoding(): string

+

Returns

+

string

+

Inherited from

+

Utf8String.onAsciiEncoding

+
+

setValue

+

setValue(value): void

+

String value

+

Parameters

+
NameTypeDescription
valuestringString value
+

Returns

+

void

+

Since

+

3.0.0

+

Inherited from

+

Utf8String.setValue

+
+

toBER

+

toBER(sizeOnly?, writer?): ArrayBuffer

+

Parameters

+
NameType
sizeOnly?boolean
writer?ViewWriter
+

Returns

+

ArrayBuffer

+

Inherited from

+

Utf8String.toBER

+
+

toJSON

+

toJSON(): BaseBlockJson<LocalStringValueBlockJson>

+

Returns

+

BaseBlockJson<LocalStringValueBlockJson>

+

Inherited from

+

Utf8String.toJSON

+
+

toString

+

toString(encoding?): string

+

Parameters

+
NameTypeDefault value
encodingStringEncoding"ascii"
+

Returns

+

string

+

Inherited from

+

Utf8String.toString

+
+

blockName

+

blockName(): string

+

Aux function, need to get a block name. Need to have it here for inheritance

+

Returns

+

string

+

Returns name of the block

+

Inherited from

+

Utf8String.blockName

+ + \ No newline at end of file diff --git a/docs/api/classes/EndOfContent/index.html b/docs/api/classes/EndOfContent/index.html new file mode 100644 index 0000000..76ca27c --- /dev/null +++ b/docs/api/classes/EndOfContent/index.html @@ -0,0 +1,167 @@ + + + + + +Class: EndOfContent | asn1js + + + + +

Class: EndOfContent

Hierarchy

+
    +
  • +

    BaseBlock<LocalEndOfContentValueBlock>

    +

    EndOfContent

    +
  • +
+

Constructors

+

constructor

+

new EndOfContent(parameters?): EndOfContent

+

Parameters

+
NameType
parametersBaseBlockParams
+

Returns

+

EndOfContent

+

Overrides

+

BaseBlock.constructor

+

Properties

+

blockLength

+

blockLength: number

+

Inherited from

+

BaseBlock.blockLength

+
+

error

+

error: string

+

Inherited from

+

BaseBlock.error

+
+

idBlock

+

idBlock: LocalIdentificationBlock

+

Inherited from

+

BaseBlock.idBlock

+
+

lenBlock

+

lenBlock: LocalLengthBlock

+

Inherited from

+

BaseBlock.lenBlock

+
+

name

+

name: string

+

Inherited from

+

BaseBlock.name

+
+

optional

+

optional: boolean

+

Inherited from

+

BaseBlock.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlock<ValueBlock, LocalBaseBlockJson>

+

Inherited from

+

BaseBlock.primitiveSchema

+
+

valueBeforeDecodeView

+

valueBeforeDecodeView: Uint8Array

+

Since

+

3.0.0

+

Inherited from

+

BaseBlock.valueBeforeDecodeView

+
+

valueBlock

+

valueBlock: LocalEndOfContentValueBlock

+

Inherited from

+

BaseBlock.valueBlock

+
+

warnings

+

warnings: string[]

+

Inherited from

+

BaseBlock.warnings

+
+

NAME

+

Static NAME: string = END_OF_CONTENT_NAME

+

Overrides

+

BaseBlock.NAME

+

Accessors

+

valueBeforeDecode

+

get valueBeforeDecode(): ArrayBuffer

+

Returns

+

ArrayBuffer

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

BaseBlock.valueBeforeDecode

+

set valueBeforeDecode(value): void

+

Parameters

+
NameType
valueArrayBuffer
+

Returns

+

void

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

BaseBlock.valueBeforeDecode

+

Methods

+

fromBER

+

fromBER(inputBuffer, inputOffset, inputLength): number

+

Base function for converting block from BER encoded array of bytes

+

Parameters

+
NameTypeDescription
inputBufferUint8Array | ArrayBufferASN.1 BER encoded array
inputOffsetnumberOffset in ASN.1 BER encoded array where decoding should be started
inputLengthnumberMaximum length of array of bytes which can be using in this function
+

Returns

+

number

+

Offset after least decoded byte

+

Inherited from

+

BaseBlock.fromBER

+
+

isEqual

+

isEqual(other): other is EndOfContent

+

Determines whether two object instances are equal

+

Parameters

+
NameTypeDescription
otherunknownObject to compare with the current object
+

Returns

+

other is EndOfContent

+

Inherited from

+

BaseBlock.isEqual

+
+

onAsciiEncoding

+

onAsciiEncoding(): string

+

Returns

+

string

+

Inherited from

+

BaseBlock.onAsciiEncoding

+
+

toBER

+

toBER(sizeOnly?, writer?): ArrayBuffer

+

Encoding of current ASN.1 block into ASN.1 encoded array (BER rules)

+

Parameters

+
NameTypeDescription
sizeOnly?booleanFlag that we need only a size of encoding, not a real array of bytes
writer?ViewWriter-
+

Returns

+

ArrayBuffer

+

ASN.1 BER encoded array

+

Inherited from

+

BaseBlock.toBER

+
+

toJSON

+

toJSON(): BaseBlockJson<LocalBaseBlockJson>

+

Returns

+

BaseBlockJson<LocalBaseBlockJson>

+

Inherited from

+

BaseBlock.toJSON

+
+

toString

+

toString(encoding?): string

+

Parameters

+
NameTypeDefault value
encodingStringEncoding"ascii"
+

Returns

+

string

+

Inherited from

+

BaseBlock.toString

+
+

blockName

+

blockName(): string

+

Aux function, need to get a block name. Need to have it here for inheritance

+

Returns

+

string

+

Returns name of the block

+

Inherited from

+

BaseBlock.blockName

+ + \ No newline at end of file diff --git a/docs/api/classes/Enumerated/index.html b/docs/api/classes/Enumerated/index.html new file mode 100644 index 0000000..6d97325 --- /dev/null +++ b/docs/api/classes/Enumerated/index.html @@ -0,0 +1,209 @@ + + + + + +Class: Enumerated | asn1js + + + + +

Class: Enumerated

Hierarchy

+ +

Constructors

+

constructor

+

new Enumerated(parameters?): Enumerated

+

Parameters

+
NameType
parametersIntegerParams
+

Returns

+

Enumerated

+

Overrides

+

Integer.constructor

+

Properties

+

blockLength

+

blockLength: number

+

Inherited from

+

Integer.blockLength

+
+

error

+

error: string

+

Inherited from

+

Integer.error

+
+

idBlock

+

idBlock: LocalIdentificationBlock

+

Inherited from

+

Integer.idBlock

+
+

lenBlock

+

lenBlock: LocalLengthBlock

+

Inherited from

+

Integer.lenBlock

+
+

name

+

name: string

+

Inherited from

+

Integer.name

+
+

optional

+

optional: boolean

+

Inherited from

+

Integer.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlock<ValueBlock, LocalBaseBlockJson>

+

Inherited from

+

Integer.primitiveSchema

+
+

valueBeforeDecodeView

+

valueBeforeDecodeView: Uint8Array

+

Since

+

3.0.0

+

Inherited from

+

Integer.valueBeforeDecodeView

+
+

valueBlock

+

valueBlock: LocalIntegerValueBlock

+

Inherited from

+

Integer.valueBlock

+
+

warnings

+

warnings: string[]

+

Inherited from

+

Integer.warnings

+
+

NAME

+

Static NAME: string = "ENUMERATED"

+

Overrides

+

Integer.NAME

+

Accessors

+

valueBeforeDecode

+

get valueBeforeDecode(): ArrayBuffer

+

Returns

+

ArrayBuffer

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

Integer.valueBeforeDecode

+

set valueBeforeDecode(value): void

+

Parameters

+
NameType
valueArrayBuffer
+

Returns

+

void

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

Integer.valueBeforeDecode

+

Methods

+

convertFromDER

+

convertFromDER(): Integer

+

Convert current Integer value from DER to BER format

+

Returns

+

Integer

+

Inherited from

+

Integer.convertFromDER

+
+

convertToDER

+

convertToDER(): Integer

+

Returns

+

Integer

+

Inherited from

+

Integer.convertToDER

+
+

fromBER

+

fromBER(inputBuffer, inputOffset, inputLength): number

+

Base function for converting block from BER encoded array of bytes

+

Parameters

+
NameTypeDescription
inputBufferUint8Array | ArrayBufferASN.1 BER encoded array
inputOffsetnumberOffset in ASN.1 BER encoded array where decoding should be started
inputLengthnumberMaximum length of array of bytes which can be using in this function
+

Returns

+

number

+

Offset after least decoded byte

+

Inherited from

+

Integer.fromBER

+
+

isEqual

+

isEqual(other): other is Enumerated

+

Determines whether two object instances are equal

+

Parameters

+
NameTypeDescription
otherunknownObject to compare with the current object
+

Returns

+

other is Enumerated

+

Inherited from

+

Integer.isEqual

+
+

onAsciiEncoding

+

onAsciiEncoding(): string

+

Returns

+

string

+

Inherited from

+

Integer.onAsciiEncoding

+
+

toBER

+

toBER(sizeOnly?, writer?): ArrayBuffer

+

Encoding of current ASN.1 block into ASN.1 encoded array (BER rules)

+

Parameters

+
NameTypeDescription
sizeOnly?booleanFlag that we need only a size of encoding, not a real array of bytes
writer?ViewWriter-
+

Returns

+

ArrayBuffer

+

ASN.1 BER encoded array

+

Inherited from

+

Integer.toBER

+
+

toBigInt

+

toBigInt(): bigint

+

Converts Integer into BigInt

+

Returns

+

bigint

+

Throws

+

Throws Error if BigInt is not supported

+

Since

+

3.0.0

+

Inherited from

+

Integer.toBigInt

+
+

toJSON

+

toJSON(): BaseBlockJson<LocalIntegerValueBlockJson>

+

Returns

+

BaseBlockJson<LocalIntegerValueBlockJson>

+

Inherited from

+

Integer.toJSON

+
+

toString

+

toString(encoding?): string

+

Parameters

+
NameTypeDefault value
encodingStringEncoding"ascii"
+

Returns

+

string

+

Inherited from

+

Integer.toString

+
+

blockName

+

blockName(): string

+

Aux function, need to get a block name. Need to have it here for inheritance

+

Returns

+

string

+

Returns name of the block

+

Inherited from

+

Integer.blockName

+
+

fromBigInt

+

fromBigInt(value): Integer

+

Creates Integer from BigInt value

+

Parameters

+
NameTypeDescription
valuestring | number | bigint | booleanBigInt value
+

Returns

+

Integer

+

ASN.1 Integer

+

Throws

+

Throws Error if BigInt is not supported

+

Since

+

3.0.0

+

Inherited from

+

Integer.fromBigInt

+ + \ No newline at end of file diff --git a/docs/api/classes/GeneralString/index.html b/docs/api/classes/GeneralString/index.html new file mode 100644 index 0000000..9438e86 --- /dev/null +++ b/docs/api/classes/GeneralString/index.html @@ -0,0 +1,203 @@ + + + + + +Class: GeneralString | asn1js + + + + +

Class: GeneralString

Hierarchy

+
    +
  • +

    LocalSimpleStringBlock

    +

    GeneralString

    +
  • +
+

Constructors

+

constructor

+

new GeneralString(parameters?): GeneralString

+

Parameters

+
NameType
parametersLocalSimpleStringBlockParams
+

Returns

+

GeneralString

+

Overrides

+

LocalSimpleStringBlock.constructor

+

Properties

+

blockLength

+

blockLength: number

+

Inherited from

+

LocalSimpleStringBlock.blockLength

+
+

error

+

error: string

+

Inherited from

+

LocalSimpleStringBlock.error

+
+

idBlock

+

idBlock: LocalIdentificationBlock

+

Inherited from

+

LocalSimpleStringBlock.idBlock

+
+

lenBlock

+

lenBlock: LocalLengthBlock

+

Inherited from

+

LocalSimpleStringBlock.lenBlock

+
+

name

+

name: string

+

Inherited from

+

LocalSimpleStringBlock.name

+
+

optional

+

optional: boolean

+

Inherited from

+

LocalSimpleStringBlock.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlock<ValueBlock, LocalBaseBlockJson>

+

Inherited from

+

LocalSimpleStringBlock.primitiveSchema

+
+

valueBeforeDecodeView

+

valueBeforeDecodeView: Uint8Array

+

Since

+

3.0.0

+

Inherited from

+

LocalSimpleStringBlock.valueBeforeDecodeView

+
+

valueBlock

+

valueBlock: LocalSimpleStringValueBlock

+

Inherited from

+

LocalSimpleStringBlock.valueBlock

+
+

warnings

+

warnings: string[]

+

Inherited from

+

LocalSimpleStringBlock.warnings

+
+

NAME

+

Static NAME: string = "GeneralString"

+

Overrides

+

LocalSimpleStringBlock.NAME

+

Accessors

+

valueBeforeDecode

+

get valueBeforeDecode(): ArrayBuffer

+

Returns

+

ArrayBuffer

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

LocalSimpleStringBlock.valueBeforeDecode

+

set valueBeforeDecode(value): void

+

Parameters

+
NameType
valueArrayBuffer
+

Returns

+

void

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

LocalSimpleStringBlock.valueBeforeDecode

+

Methods

+

fromBER

+

fromBER(inputBuffer, inputOffset, inputLength): number

+

Parameters

+
NameType
inputBufferUint8Array | ArrayBuffer
inputOffsetnumber
inputLengthnumber
+

Returns

+

number

+

Inherited from

+

LocalSimpleStringBlock.fromBER

+
+

fromBuffer

+

fromBuffer(inputBuffer): void

+

Parameters

+
NameType
inputBufferUint8Array | ArrayBuffer
+

Returns

+

void

+

Inherited from

+

LocalSimpleStringBlock.fromBuffer

+
+

fromString

+

fromString(inputString): void

+

Parameters

+
NameType
inputStringstring
+

Returns

+

void

+

Inherited from

+

LocalSimpleStringBlock.fromString

+
+

getValue

+

getValue(): string

+

String value

+

Returns

+

string

+

Since

+

3.0.0

+

Inherited from

+

LocalSimpleStringBlock.getValue

+
+

isEqual

+

isEqual(other): other is GeneralString

+

Determines whether two object instances are equal

+

Parameters

+
NameTypeDescription
otherunknownObject to compare with the current object
+

Returns

+

other is GeneralString

+

Inherited from

+

LocalSimpleStringBlock.isEqual

+
+

onAsciiEncoding

+

onAsciiEncoding(): string

+

Returns

+

string

+

Inherited from

+

LocalSimpleStringBlock.onAsciiEncoding

+
+

setValue

+

setValue(value): void

+

String value

+

Parameters

+
NameTypeDescription
valuestringString value
+

Returns

+

void

+

Since

+

3.0.0

+

Inherited from

+

LocalSimpleStringBlock.setValue

+
+

toBER

+

toBER(sizeOnly?, writer?): ArrayBuffer

+

Parameters

+
NameType
sizeOnly?boolean
writer?ViewWriter
+

Returns

+

ArrayBuffer

+

Inherited from

+

LocalSimpleStringBlock.toBER

+
+

toJSON

+

toJSON(): BaseBlockJson<LocalStringValueBlockJson>

+

Returns

+

BaseBlockJson<LocalStringValueBlockJson>

+

Inherited from

+

LocalSimpleStringBlock.toJSON

+
+

toString

+

toString(encoding?): string

+

Parameters

+
NameTypeDefault value
encodingStringEncoding"ascii"
+

Returns

+

string

+

Inherited from

+

LocalSimpleStringBlock.toString

+
+

blockName

+

blockName(): string

+

Aux function, need to get a block name. Need to have it here for inheritance

+

Returns

+

string

+

Returns name of the block

+

Inherited from

+

LocalSimpleStringBlock.blockName

+ + \ No newline at end of file diff --git a/docs/api/classes/GeneralizedTime/index.html b/docs/api/classes/GeneralizedTime/index.html new file mode 100644 index 0000000..aeea4ef --- /dev/null +++ b/docs/api/classes/GeneralizedTime/index.html @@ -0,0 +1,263 @@ + + + + + +Class: GeneralizedTime | asn1js + + + + +

Class: GeneralizedTime

Hierarchy

+
    +
  • +

    UTCTime

    +

    GeneralizedTime

    +
  • +
+

Constructors

+

constructor

+

new GeneralizedTime(parameters?): GeneralizedTime

+

Parameters

+
NameType
parametersUTCTimeParams
+

Returns

+

GeneralizedTime

+

Overrides

+

UTCTime.constructor

+

Properties

+

blockLength

+

blockLength: number

+

Inherited from

+

UTCTime.blockLength

+
+

day

+

day: number

+

Inherited from

+

UTCTime.day

+
+

error

+

error: string

+

Inherited from

+

UTCTime.error

+
+

hour

+

hour: number

+

Inherited from

+

UTCTime.hour

+
+

idBlock

+

idBlock: LocalIdentificationBlock

+

Inherited from

+

UTCTime.idBlock

+
+

lenBlock

+

lenBlock: LocalLengthBlock

+

Inherited from

+

UTCTime.lenBlock

+
+

millisecond

+

millisecond: number

+
+

minute

+

minute: number

+

Inherited from

+

UTCTime.minute

+
+

month

+

month: number

+

Inherited from

+

UTCTime.month

+
+

name

+

name: string

+

Inherited from

+

UTCTime.name

+
+

optional

+

optional: boolean

+

Inherited from

+

UTCTime.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlock<ValueBlock, LocalBaseBlockJson>

+

Inherited from

+

UTCTime.primitiveSchema

+
+

second

+

second: number

+

Inherited from

+

UTCTime.second

+
+

valueBeforeDecodeView

+

valueBeforeDecodeView: Uint8Array

+

Since

+

3.0.0

+

Inherited from

+

UTCTime.valueBeforeDecodeView

+
+

valueBlock

+

valueBlock: LocalSimpleStringValueBlock

+

Inherited from

+

UTCTime.valueBlock

+
+

warnings

+

warnings: string[]

+

Inherited from

+

UTCTime.warnings

+
+

year

+

year: number

+

Inherited from

+

UTCTime.year

+
+

NAME

+

Static NAME: string = "GeneralizedTime"

+

Overrides

+

UTCTime.NAME

+

Accessors

+

valueBeforeDecode

+

get valueBeforeDecode(): ArrayBuffer

+

Returns

+

ArrayBuffer

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

UTCTime.valueBeforeDecode

+

set valueBeforeDecode(value): void

+

Parameters

+
NameType
valueArrayBuffer
+

Returns

+

void

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

UTCTime.valueBeforeDecode

+

Methods

+

fromBER

+

fromBER(inputBuffer, inputOffset, inputLength): number

+

Parameters

+
NameType
inputBufferUint8Array | ArrayBuffer
inputOffsetnumber
inputLengthnumber
+

Returns

+

number

+

Inherited from

+

UTCTime.fromBER

+
+

fromBuffer

+

fromBuffer(inputBuffer): void

+

Parameters

+
NameType
inputBufferUint8Array | ArrayBuffer
+

Returns

+

void

+

Inherited from

+

UTCTime.fromBuffer

+
+

fromDate

+

fromDate(inputDate): void

+

Function converting "Date" object into ASN.1 internal string

+

Parameters

+
NameTypeDescription
inputDateDateJavaScript "Date" object
+

Returns

+

void

+

Overrides

+

UTCTime.fromDate

+
+

fromString

+

fromString(inputString): void

+

Parameters

+
NameType
inputStringstring
+

Returns

+

void

+

Overrides

+

UTCTime.fromString

+
+

getValue

+

getValue(): string

+

String value

+

Returns

+

string

+

Since

+

3.0.0

+

Inherited from

+

UTCTime.getValue

+
+

isEqual

+

isEqual(other): other is GeneralizedTime

+

Determines whether two object instances are equal

+

Parameters

+
NameTypeDescription
otherunknownObject to compare with the current object
+

Returns

+

other is GeneralizedTime

+

Inherited from

+

UTCTime.isEqual

+
+

onAsciiEncoding

+

onAsciiEncoding(): string

+

Returns

+

string

+

Inherited from

+

UTCTime.onAsciiEncoding

+
+

setValue

+

setValue(value): void

+

String value

+

Parameters

+
NameTypeDescription
valuestringString value
+

Returns

+

void

+

Since

+

3.0.0

+

Inherited from

+

UTCTime.setValue

+
+

toBER

+

toBER(sizeOnly?, writer?): ArrayBuffer

+

Parameters

+
NameType
sizeOnly?boolean
writer?ViewWriter
+

Returns

+

ArrayBuffer

+

Inherited from

+

UTCTime.toBER

+
+

toBuffer

+

toBuffer(): ArrayBuffer

+

Function converting ASN.1 internal string into ArrayBuffer

+

Returns

+

ArrayBuffer

+

Inherited from

+

UTCTime.toBuffer

+
+

toDate

+

toDate(): Date

+

Converts a class object into the JavaScrip Date Object

+

Returns

+

Date

+

Date object

+

Overrides

+

UTCTime.toDate

+
+

toJSON

+

toJSON(): GeneralizedTimeJson

+

Returns

+

GeneralizedTimeJson

+

Overrides

+

UTCTime.toJSON

+
+

toString

+

toString(encoding?): string

+

Parameters

+
NameTypeDefault value
encodingDateStringEncoding"iso"
+

Returns

+

string

+

Overrides

+

UTCTime.toString

+
+

blockName

+

blockName(): string

+

Aux function, need to get a block name. Need to have it here for inheritance

+

Returns

+

string

+

Returns name of the block

+

Inherited from

+

UTCTime.blockName

+ + \ No newline at end of file diff --git a/docs/api/classes/GraphicString/index.html b/docs/api/classes/GraphicString/index.html new file mode 100644 index 0000000..2c0620b --- /dev/null +++ b/docs/api/classes/GraphicString/index.html @@ -0,0 +1,203 @@ + + + + + +Class: GraphicString | asn1js + + + + +

Class: GraphicString

Hierarchy

+
    +
  • +

    LocalSimpleStringBlock

    +

    GraphicString

    +
  • +
+

Constructors

+

constructor

+

new GraphicString(parameters?): GraphicString

+

Parameters

+
NameType
parametersLocalSimpleStringBlockParams
+

Returns

+

GraphicString

+

Overrides

+

LocalSimpleStringBlock.constructor

+

Properties

+

blockLength

+

blockLength: number

+

Inherited from

+

LocalSimpleStringBlock.blockLength

+
+

error

+

error: string

+

Inherited from

+

LocalSimpleStringBlock.error

+
+

idBlock

+

idBlock: LocalIdentificationBlock

+

Inherited from

+

LocalSimpleStringBlock.idBlock

+
+

lenBlock

+

lenBlock: LocalLengthBlock

+

Inherited from

+

LocalSimpleStringBlock.lenBlock

+
+

name

+

name: string

+

Inherited from

+

LocalSimpleStringBlock.name

+
+

optional

+

optional: boolean

+

Inherited from

+

LocalSimpleStringBlock.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlock<ValueBlock, LocalBaseBlockJson>

+

Inherited from

+

LocalSimpleStringBlock.primitiveSchema

+
+

valueBeforeDecodeView

+

valueBeforeDecodeView: Uint8Array

+

Since

+

3.0.0

+

Inherited from

+

LocalSimpleStringBlock.valueBeforeDecodeView

+
+

valueBlock

+

valueBlock: LocalSimpleStringValueBlock

+

Inherited from

+

LocalSimpleStringBlock.valueBlock

+
+

warnings

+

warnings: string[]

+

Inherited from

+

LocalSimpleStringBlock.warnings

+
+

NAME

+

Static NAME: string = "GraphicString"

+

Overrides

+

LocalSimpleStringBlock.NAME

+

Accessors

+

valueBeforeDecode

+

get valueBeforeDecode(): ArrayBuffer

+

Returns

+

ArrayBuffer

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

LocalSimpleStringBlock.valueBeforeDecode

+

set valueBeforeDecode(value): void

+

Parameters

+
NameType
valueArrayBuffer
+

Returns

+

void

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

LocalSimpleStringBlock.valueBeforeDecode

+

Methods

+

fromBER

+

fromBER(inputBuffer, inputOffset, inputLength): number

+

Parameters

+
NameType
inputBufferUint8Array | ArrayBuffer
inputOffsetnumber
inputLengthnumber
+

Returns

+

number

+

Inherited from

+

LocalSimpleStringBlock.fromBER

+
+

fromBuffer

+

fromBuffer(inputBuffer): void

+

Parameters

+
NameType
inputBufferUint8Array | ArrayBuffer
+

Returns

+

void

+

Inherited from

+

LocalSimpleStringBlock.fromBuffer

+
+

fromString

+

fromString(inputString): void

+

Parameters

+
NameType
inputStringstring
+

Returns

+

void

+

Inherited from

+

LocalSimpleStringBlock.fromString

+
+

getValue

+

getValue(): string

+

String value

+

Returns

+

string

+

Since

+

3.0.0

+

Inherited from

+

LocalSimpleStringBlock.getValue

+
+

isEqual

+

isEqual(other): other is GraphicString

+

Determines whether two object instances are equal

+

Parameters

+
NameTypeDescription
otherunknownObject to compare with the current object
+

Returns

+

other is GraphicString

+

Inherited from

+

LocalSimpleStringBlock.isEqual

+
+

onAsciiEncoding

+

onAsciiEncoding(): string

+

Returns

+

string

+

Inherited from

+

LocalSimpleStringBlock.onAsciiEncoding

+
+

setValue

+

setValue(value): void

+

String value

+

Parameters

+
NameTypeDescription
valuestringString value
+

Returns

+

void

+

Since

+

3.0.0

+

Inherited from

+

LocalSimpleStringBlock.setValue

+
+

toBER

+

toBER(sizeOnly?, writer?): ArrayBuffer

+

Parameters

+
NameType
sizeOnly?boolean
writer?ViewWriter
+

Returns

+

ArrayBuffer

+

Inherited from

+

LocalSimpleStringBlock.toBER

+
+

toJSON

+

toJSON(): BaseBlockJson<LocalStringValueBlockJson>

+

Returns

+

BaseBlockJson<LocalStringValueBlockJson>

+

Inherited from

+

LocalSimpleStringBlock.toJSON

+
+

toString

+

toString(encoding?): string

+

Parameters

+
NameTypeDefault value
encodingStringEncoding"ascii"
+

Returns

+

string

+

Inherited from

+

LocalSimpleStringBlock.toString

+
+

blockName

+

blockName(): string

+

Aux function, need to get a block name. Need to have it here for inheritance

+

Returns

+

string

+

Returns name of the block

+

Inherited from

+

LocalSimpleStringBlock.blockName

+ + \ No newline at end of file diff --git a/docs/api/classes/IA5String/index.html b/docs/api/classes/IA5String/index.html new file mode 100644 index 0000000..6d21b38 --- /dev/null +++ b/docs/api/classes/IA5String/index.html @@ -0,0 +1,203 @@ + + + + + +Class: IA5String | asn1js + + + + +

Class: IA5String

Hierarchy

+
    +
  • +

    LocalSimpleStringBlock

    +

    IA5String

    +
  • +
+

Constructors

+

constructor

+

new IA5String(parameters?): IA5String

+

Parameters

+
NameType
parametersLocalSimpleStringBlockParams
+

Returns

+

IA5String

+

Overrides

+

LocalSimpleStringBlock.constructor

+

Properties

+

blockLength

+

blockLength: number

+

Inherited from

+

LocalSimpleStringBlock.blockLength

+
+

error

+

error: string

+

Inherited from

+

LocalSimpleStringBlock.error

+
+

idBlock

+

idBlock: LocalIdentificationBlock

+

Inherited from

+

LocalSimpleStringBlock.idBlock

+
+

lenBlock

+

lenBlock: LocalLengthBlock

+

Inherited from

+

LocalSimpleStringBlock.lenBlock

+
+

name

+

name: string

+

Inherited from

+

LocalSimpleStringBlock.name

+
+

optional

+

optional: boolean

+

Inherited from

+

LocalSimpleStringBlock.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlock<ValueBlock, LocalBaseBlockJson>

+

Inherited from

+

LocalSimpleStringBlock.primitiveSchema

+
+

valueBeforeDecodeView

+

valueBeforeDecodeView: Uint8Array

+

Since

+

3.0.0

+

Inherited from

+

LocalSimpleStringBlock.valueBeforeDecodeView

+
+

valueBlock

+

valueBlock: LocalSimpleStringValueBlock

+

Inherited from

+

LocalSimpleStringBlock.valueBlock

+
+

warnings

+

warnings: string[]

+

Inherited from

+

LocalSimpleStringBlock.warnings

+
+

NAME

+

Static NAME: string = "IA5String"

+

Overrides

+

LocalSimpleStringBlock.NAME

+

Accessors

+

valueBeforeDecode

+

get valueBeforeDecode(): ArrayBuffer

+

Returns

+

ArrayBuffer

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

LocalSimpleStringBlock.valueBeforeDecode

+

set valueBeforeDecode(value): void

+

Parameters

+
NameType
valueArrayBuffer
+

Returns

+

void

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

LocalSimpleStringBlock.valueBeforeDecode

+

Methods

+

fromBER

+

fromBER(inputBuffer, inputOffset, inputLength): number

+

Parameters

+
NameType
inputBufferUint8Array | ArrayBuffer
inputOffsetnumber
inputLengthnumber
+

Returns

+

number

+

Inherited from

+

LocalSimpleStringBlock.fromBER

+
+

fromBuffer

+

fromBuffer(inputBuffer): void

+

Parameters

+
NameType
inputBufferUint8Array | ArrayBuffer
+

Returns

+

void

+

Inherited from

+

LocalSimpleStringBlock.fromBuffer

+
+

fromString

+

fromString(inputString): void

+

Parameters

+
NameType
inputStringstring
+

Returns

+

void

+

Inherited from

+

LocalSimpleStringBlock.fromString

+
+

getValue

+

getValue(): string

+

String value

+

Returns

+

string

+

Since

+

3.0.0

+

Inherited from

+

LocalSimpleStringBlock.getValue

+
+

isEqual

+

isEqual(other): other is IA5String

+

Determines whether two object instances are equal

+

Parameters

+
NameTypeDescription
otherunknownObject to compare with the current object
+

Returns

+

other is IA5String

+

Inherited from

+

LocalSimpleStringBlock.isEqual

+
+

onAsciiEncoding

+

onAsciiEncoding(): string

+

Returns

+

string

+

Inherited from

+

LocalSimpleStringBlock.onAsciiEncoding

+
+

setValue

+

setValue(value): void

+

String value

+

Parameters

+
NameTypeDescription
valuestringString value
+

Returns

+

void

+

Since

+

3.0.0

+

Inherited from

+

LocalSimpleStringBlock.setValue

+
+

toBER

+

toBER(sizeOnly?, writer?): ArrayBuffer

+

Parameters

+
NameType
sizeOnly?boolean
writer?ViewWriter
+

Returns

+

ArrayBuffer

+

Inherited from

+

LocalSimpleStringBlock.toBER

+
+

toJSON

+

toJSON(): BaseBlockJson<LocalStringValueBlockJson>

+

Returns

+

BaseBlockJson<LocalStringValueBlockJson>

+

Inherited from

+

LocalSimpleStringBlock.toJSON

+
+

toString

+

toString(encoding?): string

+

Parameters

+
NameTypeDefault value
encodingStringEncoding"ascii"
+

Returns

+

string

+

Inherited from

+

LocalSimpleStringBlock.toString

+
+

blockName

+

blockName(): string

+

Aux function, need to get a block name. Need to have it here for inheritance

+

Returns

+

string

+

Returns name of the block

+

Inherited from

+

LocalSimpleStringBlock.blockName

+ + \ No newline at end of file diff --git a/docs/api/classes/Integer/index.html b/docs/api/classes/Integer/index.html new file mode 100644 index 0000000..4303b4b --- /dev/null +++ b/docs/api/classes/Integer/index.html @@ -0,0 +1,202 @@ + + + + + +Class: Integer | asn1js + + + + +

Class: Integer

Hierarchy

+
    +
  • +

    BaseBlock<LocalIntegerValueBlock, LocalIntegerValueBlockJson>

    +

    Integer

    +

    ↳↳ Enumerated

    +
  • +
+

Constructors

+

constructor

+

new Integer(parameters?): Integer

+

Parameters

+
NameType
parametersIntegerParams
+

Returns

+

Integer

+

Overrides

+

BaseBlock.constructor

+

Properties

+

blockLength

+

blockLength: number

+

Inherited from

+

BaseBlock.blockLength

+
+

error

+

error: string

+

Inherited from

+

BaseBlock.error

+
+

idBlock

+

idBlock: LocalIdentificationBlock

+

Inherited from

+

BaseBlock.idBlock

+
+

lenBlock

+

lenBlock: LocalLengthBlock

+

Inherited from

+

BaseBlock.lenBlock

+
+

name

+

name: string

+

Inherited from

+

BaseBlock.name

+
+

optional

+

optional: boolean

+

Inherited from

+

BaseBlock.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlock<ValueBlock, LocalBaseBlockJson>

+

Inherited from

+

BaseBlock.primitiveSchema

+
+

valueBeforeDecodeView

+

valueBeforeDecodeView: Uint8Array

+

Since

+

3.0.0

+

Inherited from

+

BaseBlock.valueBeforeDecodeView

+
+

valueBlock

+

valueBlock: LocalIntegerValueBlock

+

Inherited from

+

BaseBlock.valueBlock

+
+

warnings

+

warnings: string[]

+

Inherited from

+

BaseBlock.warnings

+
+

NAME

+

Static NAME: string = "INTEGER"

+

Overrides

+

BaseBlock.NAME

+

Accessors

+

valueBeforeDecode

+

get valueBeforeDecode(): ArrayBuffer

+

Returns

+

ArrayBuffer

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

BaseBlock.valueBeforeDecode

+

set valueBeforeDecode(value): void

+

Parameters

+
NameType
valueArrayBuffer
+

Returns

+

void

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

BaseBlock.valueBeforeDecode

+

Methods

+

convertFromDER

+

convertFromDER(): Integer

+

Convert current Integer value from DER to BER format

+

Returns

+

Integer

+
+

convertToDER

+

convertToDER(): Integer

+

Returns

+

Integer

+
+

fromBER

+

fromBER(inputBuffer, inputOffset, inputLength): number

+

Base function for converting block from BER encoded array of bytes

+

Parameters

+
NameTypeDescription
inputBufferUint8Array | ArrayBufferASN.1 BER encoded array
inputOffsetnumberOffset in ASN.1 BER encoded array where decoding should be started
inputLengthnumberMaximum length of array of bytes which can be using in this function
+

Returns

+

number

+

Offset after least decoded byte

+

Inherited from

+

BaseBlock.fromBER

+
+

isEqual

+

isEqual(other): other is Integer

+

Determines whether two object instances are equal

+

Parameters

+
NameTypeDescription
otherunknownObject to compare with the current object
+

Returns

+

other is Integer

+

Inherited from

+

BaseBlock.isEqual

+
+

onAsciiEncoding

+

onAsciiEncoding(): string

+

Returns

+

string

+

Overrides

+

BaseBlock.onAsciiEncoding

+
+

toBER

+

toBER(sizeOnly?, writer?): ArrayBuffer

+

Encoding of current ASN.1 block into ASN.1 encoded array (BER rules)

+

Parameters

+
NameTypeDescription
sizeOnly?booleanFlag that we need only a size of encoding, not a real array of bytes
writer?ViewWriter-
+

Returns

+

ArrayBuffer

+

ASN.1 BER encoded array

+

Inherited from

+

BaseBlock.toBER

+
+

toBigInt

+

toBigInt(): bigint

+

Converts Integer into BigInt

+

Returns

+

bigint

+

Throws

+

Throws Error if BigInt is not supported

+

Since

+

3.0.0

+
+

toJSON

+

toJSON(): BaseBlockJson<LocalIntegerValueBlockJson>

+

Returns

+

BaseBlockJson<LocalIntegerValueBlockJson>

+

Inherited from

+

BaseBlock.toJSON

+
+

toString

+

toString(encoding?): string

+

Parameters

+
NameTypeDefault value
encodingStringEncoding"ascii"
+

Returns

+

string

+

Inherited from

+

BaseBlock.toString

+
+

blockName

+

blockName(): string

+

Aux function, need to get a block name. Need to have it here for inheritance

+

Returns

+

string

+

Returns name of the block

+

Inherited from

+

BaseBlock.blockName

+
+

fromBigInt

+

fromBigInt(value): Integer

+

Creates Integer from BigInt value

+

Parameters

+
NameTypeDescription
valuestring | number | bigint | booleanBigInt value
+

Returns

+

Integer

+

ASN.1 Integer

+

Throws

+

Throws Error if BigInt is not supported

+

Since

+

3.0.0

+ + \ No newline at end of file diff --git a/docs/api/classes/Null/index.html b/docs/api/classes/Null/index.html new file mode 100644 index 0000000..e19fc10 --- /dev/null +++ b/docs/api/classes/Null/index.html @@ -0,0 +1,167 @@ + + + + + +Class: Null | asn1js + + + + +

Class: Null

Hierarchy

+ +

Constructors

+

constructor

+

new Null(parameters?): Null

+

Parameters

+
NameType
parametersBaseBlockParams
+

Returns

+

Null

+

Overrides

+

BaseBlock.constructor

+

Properties

+

blockLength

+

blockLength: number

+

Inherited from

+

BaseBlock.blockLength

+
+

error

+

error: string

+

Inherited from

+

BaseBlock.error

+
+

idBlock

+

idBlock: LocalIdentificationBlock

+

Inherited from

+

BaseBlock.idBlock

+
+

lenBlock

+

lenBlock: LocalLengthBlock

+

Inherited from

+

BaseBlock.lenBlock

+
+

name

+

name: string

+

Inherited from

+

BaseBlock.name

+
+

optional

+

optional: boolean

+

Inherited from

+

BaseBlock.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlock<ValueBlock, LocalBaseBlockJson>

+

Inherited from

+

BaseBlock.primitiveSchema

+
+

valueBeforeDecodeView

+

valueBeforeDecodeView: Uint8Array

+

Since

+

3.0.0

+

Inherited from

+

BaseBlock.valueBeforeDecodeView

+
+

valueBlock

+

valueBlock: ValueBlock

+

Inherited from

+

BaseBlock.valueBlock

+
+

warnings

+

warnings: string[]

+

Inherited from

+

BaseBlock.warnings

+
+

NAME

+

Static NAME: string = "NULL"

+

Overrides

+

BaseBlock.NAME

+

Accessors

+

valueBeforeDecode

+

get valueBeforeDecode(): ArrayBuffer

+

Returns

+

ArrayBuffer

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

BaseBlock.valueBeforeDecode

+

set valueBeforeDecode(value): void

+

Parameters

+
NameType
valueArrayBuffer
+

Returns

+

void

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

BaseBlock.valueBeforeDecode

+

Methods

+

fromBER

+

fromBER(inputBuffer, inputOffset, inputLength): number

+

Base function for converting block from BER encoded array of bytes

+

Parameters

+
NameTypeDescription
inputBufferUint8Array | ArrayBufferASN.1 BER encoded array
inputOffsetnumberOffset in ASN.1 BER encoded array where decoding should be started
inputLengthnumberMaximum length of array of bytes which can be using in this function
+

Returns

+

number

+

Offset after least decoded byte

+

Overrides

+

BaseBlock.fromBER

+
+

isEqual

+

isEqual(other): other is Null

+

Determines whether two object instances are equal

+

Parameters

+
NameTypeDescription
otherunknownObject to compare with the current object
+

Returns

+

other is Null

+

Inherited from

+

BaseBlock.isEqual

+
+

onAsciiEncoding

+

onAsciiEncoding(): string

+

Returns

+

string

+

Overrides

+

BaseBlock.onAsciiEncoding

+
+

toBER

+

toBER(sizeOnly?, writer?): ArrayBuffer

+

Encoding of current ASN.1 block into ASN.1 encoded array (BER rules)

+

Parameters

+
NameTypeDescription
sizeOnly?booleanFlag that we need only a size of encoding, not a real array of bytes
writer?ViewWriter-
+

Returns

+

ArrayBuffer

+

ASN.1 BER encoded array

+

Overrides

+

BaseBlock.toBER

+
+

toJSON

+

toJSON(): BaseBlockJson<LocalBaseBlockJson>

+

Returns

+

BaseBlockJson<LocalBaseBlockJson>

+

Inherited from

+

BaseBlock.toJSON

+
+

toString

+

toString(encoding?): string

+

Parameters

+
NameTypeDefault value
encodingStringEncoding"ascii"
+

Returns

+

string

+

Inherited from

+

BaseBlock.toString

+
+

blockName

+

blockName(): string

+

Aux function, need to get a block name. Need to have it here for inheritance

+

Returns

+

string

+

Returns name of the block

+

Inherited from

+

BaseBlock.blockName

+ + \ No newline at end of file diff --git a/docs/api/classes/NumericString/index.html b/docs/api/classes/NumericString/index.html new file mode 100644 index 0000000..6a84eee --- /dev/null +++ b/docs/api/classes/NumericString/index.html @@ -0,0 +1,203 @@ + + + + + +Class: NumericString | asn1js + + + + +

Class: NumericString

Hierarchy

+
    +
  • +

    LocalSimpleStringBlock

    +

    NumericString

    +
  • +
+

Constructors

+

constructor

+

new NumericString(parameters?): NumericString

+

Parameters

+
NameType
parametersLocalSimpleStringBlockParams
+

Returns

+

NumericString

+

Overrides

+

LocalSimpleStringBlock.constructor

+

Properties

+

blockLength

+

blockLength: number

+

Inherited from

+

LocalSimpleStringBlock.blockLength

+
+

error

+

error: string

+

Inherited from

+

LocalSimpleStringBlock.error

+
+

idBlock

+

idBlock: LocalIdentificationBlock

+

Inherited from

+

LocalSimpleStringBlock.idBlock

+
+

lenBlock

+

lenBlock: LocalLengthBlock

+

Inherited from

+

LocalSimpleStringBlock.lenBlock

+
+

name

+

name: string

+

Inherited from

+

LocalSimpleStringBlock.name

+
+

optional

+

optional: boolean

+

Inherited from

+

LocalSimpleStringBlock.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlock<ValueBlock, LocalBaseBlockJson>

+

Inherited from

+

LocalSimpleStringBlock.primitiveSchema

+
+

valueBeforeDecodeView

+

valueBeforeDecodeView: Uint8Array

+

Since

+

3.0.0

+

Inherited from

+

LocalSimpleStringBlock.valueBeforeDecodeView

+
+

valueBlock

+

valueBlock: LocalSimpleStringValueBlock

+

Inherited from

+

LocalSimpleStringBlock.valueBlock

+
+

warnings

+

warnings: string[]

+

Inherited from

+

LocalSimpleStringBlock.warnings

+
+

NAME

+

Static NAME: string = "NumericString"

+

Overrides

+

LocalSimpleStringBlock.NAME

+

Accessors

+

valueBeforeDecode

+

get valueBeforeDecode(): ArrayBuffer

+

Returns

+

ArrayBuffer

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

LocalSimpleStringBlock.valueBeforeDecode

+

set valueBeforeDecode(value): void

+

Parameters

+
NameType
valueArrayBuffer
+

Returns

+

void

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

LocalSimpleStringBlock.valueBeforeDecode

+

Methods

+

fromBER

+

fromBER(inputBuffer, inputOffset, inputLength): number

+

Parameters

+
NameType
inputBufferUint8Array | ArrayBuffer
inputOffsetnumber
inputLengthnumber
+

Returns

+

number

+

Inherited from

+

LocalSimpleStringBlock.fromBER

+
+

fromBuffer

+

fromBuffer(inputBuffer): void

+

Parameters

+
NameType
inputBufferUint8Array | ArrayBuffer
+

Returns

+

void

+

Inherited from

+

LocalSimpleStringBlock.fromBuffer

+
+

fromString

+

fromString(inputString): void

+

Parameters

+
NameType
inputStringstring
+

Returns

+

void

+

Inherited from

+

LocalSimpleStringBlock.fromString

+
+

getValue

+

getValue(): string

+

String value

+

Returns

+

string

+

Since

+

3.0.0

+

Inherited from

+

LocalSimpleStringBlock.getValue

+
+

isEqual

+

isEqual(other): other is NumericString

+

Determines whether two object instances are equal

+

Parameters

+
NameTypeDescription
otherunknownObject to compare with the current object
+

Returns

+

other is NumericString

+

Inherited from

+

LocalSimpleStringBlock.isEqual

+
+

onAsciiEncoding

+

onAsciiEncoding(): string

+

Returns

+

string

+

Inherited from

+

LocalSimpleStringBlock.onAsciiEncoding

+
+

setValue

+

setValue(value): void

+

String value

+

Parameters

+
NameTypeDescription
valuestringString value
+

Returns

+

void

+

Since

+

3.0.0

+

Inherited from

+

LocalSimpleStringBlock.setValue

+
+

toBER

+

toBER(sizeOnly?, writer?): ArrayBuffer

+

Parameters

+
NameType
sizeOnly?boolean
writer?ViewWriter
+

Returns

+

ArrayBuffer

+

Inherited from

+

LocalSimpleStringBlock.toBER

+
+

toJSON

+

toJSON(): BaseBlockJson<LocalStringValueBlockJson>

+

Returns

+

BaseBlockJson<LocalStringValueBlockJson>

+

Inherited from

+

LocalSimpleStringBlock.toJSON

+
+

toString

+

toString(encoding?): string

+

Parameters

+
NameTypeDefault value
encodingStringEncoding"ascii"
+

Returns

+

string

+

Inherited from

+

LocalSimpleStringBlock.toString

+
+

blockName

+

blockName(): string

+

Aux function, need to get a block name. Need to have it here for inheritance

+

Returns

+

string

+

Returns name of the block

+

Inherited from

+

LocalSimpleStringBlock.blockName

+ + \ No newline at end of file diff --git a/docs/api/classes/ObjectIdentifier/index.html b/docs/api/classes/ObjectIdentifier/index.html new file mode 100644 index 0000000..b19a974 --- /dev/null +++ b/docs/api/classes/ObjectIdentifier/index.html @@ -0,0 +1,185 @@ + + + + + +Class: ObjectIdentifier | asn1js + + + + +

Class: ObjectIdentifier

Hierarchy

+
    +
  • +

    BaseBlock<LocalObjectIdentifierValueBlock, LocalObjectIdentifierValueBlockJson>

    +

    ObjectIdentifier

    +
  • +
+

Constructors

+

constructor

+

new ObjectIdentifier(parameters?): ObjectIdentifier

+

Parameters

+
NameType
parametersObjectIdentifierParams
+

Returns

+

ObjectIdentifier

+

Overrides

+

BaseBlock.constructor

+

Properties

+

blockLength

+

blockLength: number

+

Inherited from

+

BaseBlock.blockLength

+
+

error

+

error: string

+

Inherited from

+

BaseBlock.error

+
+

idBlock

+

idBlock: LocalIdentificationBlock

+

Inherited from

+

BaseBlock.idBlock

+
+

lenBlock

+

lenBlock: LocalLengthBlock

+

Inherited from

+

BaseBlock.lenBlock

+
+

name

+

name: string

+

Inherited from

+

BaseBlock.name

+
+

optional

+

optional: boolean

+

Inherited from

+

BaseBlock.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlock<ValueBlock, LocalBaseBlockJson>

+

Inherited from

+

BaseBlock.primitiveSchema

+
+

valueBeforeDecodeView

+

valueBeforeDecodeView: Uint8Array

+

Since

+

3.0.0

+

Inherited from

+

BaseBlock.valueBeforeDecodeView

+
+

valueBlock

+

valueBlock: LocalObjectIdentifierValueBlock

+

Inherited from

+

BaseBlock.valueBlock

+
+

warnings

+

warnings: string[]

+

Inherited from

+

BaseBlock.warnings

+
+

NAME

+

Static NAME: string = "OBJECT IDENTIFIER"

+

Overrides

+

BaseBlock.NAME

+

Accessors

+

valueBeforeDecode

+

get valueBeforeDecode(): ArrayBuffer

+

Returns

+

ArrayBuffer

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

BaseBlock.valueBeforeDecode

+

set valueBeforeDecode(value): void

+

Parameters

+
NameType
valueArrayBuffer
+

Returns

+

void

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

BaseBlock.valueBeforeDecode

+

Methods

+

fromBER

+

fromBER(inputBuffer, inputOffset, inputLength): number

+

Base function for converting block from BER encoded array of bytes

+

Parameters

+
NameTypeDescription
inputBufferUint8Array | ArrayBufferASN.1 BER encoded array
inputOffsetnumberOffset in ASN.1 BER encoded array where decoding should be started
inputLengthnumberMaximum length of array of bytes which can be using in this function
+

Returns

+

number

+

Offset after least decoded byte

+

Inherited from

+

BaseBlock.fromBER

+
+

getValue

+

getValue(): string

+

Gets string representation of Object Identifier

+

Returns

+

string

+

Since

+

3.0.0

+
+

isEqual

+

isEqual(other): other is ObjectIdentifier

+

Determines whether two object instances are equal

+

Parameters

+
NameTypeDescription
otherunknownObject to compare with the current object
+

Returns

+

other is ObjectIdentifier

+

Inherited from

+

BaseBlock.isEqual

+
+

onAsciiEncoding

+

onAsciiEncoding(): string

+

Returns

+

string

+

Overrides

+

BaseBlock.onAsciiEncoding

+
+

setValue

+

setValue(value): void

+

Sets Object Identifier value from string

+

Parameters

+
NameTypeDescription
valuestringString value
+

Returns

+

void

+

Since

+

3.0.0

+
+

toBER

+

toBER(sizeOnly?, writer?): ArrayBuffer

+

Encoding of current ASN.1 block into ASN.1 encoded array (BER rules)

+

Parameters

+
NameTypeDescription
sizeOnly?booleanFlag that we need only a size of encoding, not a real array of bytes
writer?ViewWriter-
+

Returns

+

ArrayBuffer

+

ASN.1 BER encoded array

+

Inherited from

+

BaseBlock.toBER

+
+

toJSON

+

toJSON(): ObjectIdentifierJson

+

Returns

+

ObjectIdentifierJson

+

Overrides

+

BaseBlock.toJSON

+
+

toString

+

toString(encoding?): string

+

Parameters

+
NameTypeDefault value
encodingStringEncoding"ascii"
+

Returns

+

string

+

Inherited from

+

BaseBlock.toString

+
+

blockName

+

blockName(): string

+

Aux function, need to get a block name. Need to have it here for inheritance

+

Returns

+

string

+

Returns name of the block

+

Inherited from

+

BaseBlock.blockName

+ + \ No newline at end of file diff --git a/docs/api/classes/OctetString/index.html b/docs/api/classes/OctetString/index.html new file mode 100644 index 0000000..f254bb5 --- /dev/null +++ b/docs/api/classes/OctetString/index.html @@ -0,0 +1,176 @@ + + + + + +Class: OctetString | asn1js + + + + +

Class: OctetString

Hierarchy

+
    +
  • +

    BaseBlock<LocalOctetStringValueBlock, LocalOctetStringValueBlockJson>

    +

    OctetString

    +
  • +
+

Constructors

+

constructor

+

new OctetString(«destructured»?): OctetString

+

Parameters

+
NameType
«destructured»OctetStringParams
+

Returns

+

OctetString

+

Overrides

+

BaseBlock.constructor

+

Properties

+

blockLength

+

blockLength: number

+

Inherited from

+

BaseBlock.blockLength

+
+

error

+

error: string

+

Inherited from

+

BaseBlock.error

+
+

idBlock

+

idBlock: LocalIdentificationBlock

+

Inherited from

+

BaseBlock.idBlock

+
+

lenBlock

+

lenBlock: LocalLengthBlock

+

Inherited from

+

BaseBlock.lenBlock

+
+

name

+

name: string

+

Inherited from

+

BaseBlock.name

+
+

optional

+

optional: boolean

+

Inherited from

+

BaseBlock.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlock<ValueBlock, LocalBaseBlockJson>

+

Inherited from

+

BaseBlock.primitiveSchema

+
+

valueBeforeDecodeView

+

valueBeforeDecodeView: Uint8Array

+

Since

+

3.0.0

+

Inherited from

+

BaseBlock.valueBeforeDecodeView

+
+

valueBlock

+

valueBlock: LocalOctetStringValueBlock

+

Inherited from

+

BaseBlock.valueBlock

+
+

warnings

+

warnings: string[]

+

Inherited from

+

BaseBlock.warnings

+
+

NAME

+

Static NAME: string = OCTET_STRING_NAME

+

Overrides

+

BaseBlock.NAME

+

Accessors

+

valueBeforeDecode

+

get valueBeforeDecode(): ArrayBuffer

+

Returns

+

ArrayBuffer

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

BaseBlock.valueBeforeDecode

+

set valueBeforeDecode(value): void

+

Parameters

+
NameType
valueArrayBuffer
+

Returns

+

void

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

BaseBlock.valueBeforeDecode

+

Methods

+

fromBER

+

fromBER(inputBuffer, inputOffset, inputLength): number

+

Base function for converting block from BER encoded array of bytes

+

Parameters

+
NameTypeDescription
inputBufferUint8Array | ArrayBufferASN.1 BER encoded array
inputOffsetnumberOffset in ASN.1 BER encoded array where decoding should be started
inputLengthnumberMaximum length of array of bytes which can be using in this function
+

Returns

+

number

+

Offset after least decoded byte

+

Overrides

+

BaseBlock.fromBER

+
+

getValue

+

getValue(): ArrayBuffer

+

Returns OctetString value. If OctetString is constructed, returns concatenated internal OctetString values

+

Returns

+

ArrayBuffer

+

Array buffer

+

Since

+

3.0.0

+
+

isEqual

+

isEqual(other): other is OctetString

+

Determines whether two object instances are equal

+

Parameters

+
NameTypeDescription
otherunknownObject to compare with the current object
+

Returns

+

other is OctetString

+

Inherited from

+

BaseBlock.isEqual

+
+

onAsciiEncoding

+

onAsciiEncoding(): string

+

Returns

+

string

+

Overrides

+

BaseBlock.onAsciiEncoding

+
+

toBER

+

toBER(sizeOnly?, writer?): ArrayBuffer

+

Encoding of current ASN.1 block into ASN.1 encoded array (BER rules)

+

Parameters

+
NameTypeDescription
sizeOnly?booleanFlag that we need only a size of encoding, not a real array of bytes
writer?ViewWriter-
+

Returns

+

ArrayBuffer

+

ASN.1 BER encoded array

+

Inherited from

+

BaseBlock.toBER

+
+

toJSON

+

toJSON(): BaseBlockJson<LocalOctetStringValueBlockJson>

+

Returns

+

BaseBlockJson<LocalOctetStringValueBlockJson>

+

Inherited from

+

BaseBlock.toJSON

+
+

toString

+

toString(encoding?): string

+

Parameters

+
NameTypeDefault value
encodingStringEncoding"ascii"
+

Returns

+

string

+

Inherited from

+

BaseBlock.toString

+
+

blockName

+

blockName(): string

+

Aux function, need to get a block name. Need to have it here for inheritance

+

Returns

+

string

+

Returns name of the block

+

Inherited from

+

BaseBlock.blockName

+ + \ No newline at end of file diff --git a/docs/api/classes/Primitive/index.html b/docs/api/classes/Primitive/index.html new file mode 100644 index 0000000..e27bbfa --- /dev/null +++ b/docs/api/classes/Primitive/index.html @@ -0,0 +1,167 @@ + + + + + +Class: Primitive | asn1js + + + + +

Class: Primitive

Hierarchy

+
    +
  • +

    BaseBlock<LocalPrimitiveValueBlock, LocalPrimitiveValueBlockJson>

    +

    Primitive

    +
  • +
+

Constructors

+

constructor

+

new Primitive(parameters?): Primitive

+

Parameters

+
NameType
parametersPrimitiveParams
+

Returns

+

Primitive

+

Overrides

+

BaseBlock.constructor

+

Properties

+

blockLength

+

blockLength: number

+

Inherited from

+

BaseBlock.blockLength

+
+

error

+

error: string

+

Inherited from

+

BaseBlock.error

+
+

idBlock

+

idBlock: LocalIdentificationBlock

+

Inherited from

+

BaseBlock.idBlock

+
+

lenBlock

+

lenBlock: LocalLengthBlock

+

Inherited from

+

BaseBlock.lenBlock

+
+

name

+

name: string

+

Inherited from

+

BaseBlock.name

+
+

optional

+

optional: boolean

+

Inherited from

+

BaseBlock.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlock<ValueBlock, LocalBaseBlockJson>

+

Inherited from

+

BaseBlock.primitiveSchema

+
+

valueBeforeDecodeView

+

valueBeforeDecodeView: Uint8Array

+

Since

+

3.0.0

+

Inherited from

+

BaseBlock.valueBeforeDecodeView

+
+

valueBlock

+

valueBlock: LocalPrimitiveValueBlock

+

Inherited from

+

BaseBlock.valueBlock

+
+

warnings

+

warnings: string[]

+

Inherited from

+

BaseBlock.warnings

+
+

NAME

+

Static NAME: string = "PRIMITIVE"

+

Overrides

+

BaseBlock.NAME

+

Accessors

+

valueBeforeDecode

+

get valueBeforeDecode(): ArrayBuffer

+

Returns

+

ArrayBuffer

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

BaseBlock.valueBeforeDecode

+

set valueBeforeDecode(value): void

+

Parameters

+
NameType
valueArrayBuffer
+

Returns

+

void

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

BaseBlock.valueBeforeDecode

+

Methods

+

fromBER

+

fromBER(inputBuffer, inputOffset, inputLength): number

+

Base function for converting block from BER encoded array of bytes

+

Parameters

+
NameTypeDescription
inputBufferUint8Array | ArrayBufferASN.1 BER encoded array
inputOffsetnumberOffset in ASN.1 BER encoded array where decoding should be started
inputLengthnumberMaximum length of array of bytes which can be using in this function
+

Returns

+

number

+

Offset after least decoded byte

+

Inherited from

+

BaseBlock.fromBER

+
+

isEqual

+

isEqual(other): other is Primitive

+

Determines whether two object instances are equal

+

Parameters

+
NameTypeDescription
otherunknownObject to compare with the current object
+

Returns

+

other is Primitive

+

Inherited from

+

BaseBlock.isEqual

+
+

onAsciiEncoding

+

onAsciiEncoding(): string

+

Returns

+

string

+

Inherited from

+

BaseBlock.onAsciiEncoding

+
+

toBER

+

toBER(sizeOnly?, writer?): ArrayBuffer

+

Encoding of current ASN.1 block into ASN.1 encoded array (BER rules)

+

Parameters

+
NameTypeDescription
sizeOnly?booleanFlag that we need only a size of encoding, not a real array of bytes
writer?ViewWriter-
+

Returns

+

ArrayBuffer

+

ASN.1 BER encoded array

+

Inherited from

+

BaseBlock.toBER

+
+

toJSON

+

toJSON(): BaseBlockJson<LocalPrimitiveValueBlockJson>

+

Returns

+

BaseBlockJson<LocalPrimitiveValueBlockJson>

+

Inherited from

+

BaseBlock.toJSON

+
+

toString

+

toString(encoding?): string

+

Parameters

+
NameTypeDefault value
encodingStringEncoding"ascii"
+

Returns

+

string

+

Inherited from

+

BaseBlock.toString

+
+

blockName

+

blockName(): string

+

Aux function, need to get a block name. Need to have it here for inheritance

+

Returns

+

string

+

Returns name of the block

+

Inherited from

+

BaseBlock.blockName

+ + \ No newline at end of file diff --git a/docs/api/classes/PrintableString/index.html b/docs/api/classes/PrintableString/index.html new file mode 100644 index 0000000..5c6dd4a --- /dev/null +++ b/docs/api/classes/PrintableString/index.html @@ -0,0 +1,203 @@ + + + + + +Class: PrintableString | asn1js + + + + +

Class: PrintableString

Hierarchy

+
    +
  • +

    LocalSimpleStringBlock

    +

    PrintableString

    +
  • +
+

Constructors

+

constructor

+

new PrintableString(parameters?): PrintableString

+

Parameters

+
NameType
parametersLocalSimpleStringBlockParams
+

Returns

+

PrintableString

+

Overrides

+

LocalSimpleStringBlock.constructor

+

Properties

+

blockLength

+

blockLength: number

+

Inherited from

+

LocalSimpleStringBlock.blockLength

+
+

error

+

error: string

+

Inherited from

+

LocalSimpleStringBlock.error

+
+

idBlock

+

idBlock: LocalIdentificationBlock

+

Inherited from

+

LocalSimpleStringBlock.idBlock

+
+

lenBlock

+

lenBlock: LocalLengthBlock

+

Inherited from

+

LocalSimpleStringBlock.lenBlock

+
+

name

+

name: string

+

Inherited from

+

LocalSimpleStringBlock.name

+
+

optional

+

optional: boolean

+

Inherited from

+

LocalSimpleStringBlock.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlock<ValueBlock, LocalBaseBlockJson>

+

Inherited from

+

LocalSimpleStringBlock.primitiveSchema

+
+

valueBeforeDecodeView

+

valueBeforeDecodeView: Uint8Array

+

Since

+

3.0.0

+

Inherited from

+

LocalSimpleStringBlock.valueBeforeDecodeView

+
+

valueBlock

+

valueBlock: LocalSimpleStringValueBlock

+

Inherited from

+

LocalSimpleStringBlock.valueBlock

+
+

warnings

+

warnings: string[]

+

Inherited from

+

LocalSimpleStringBlock.warnings

+
+

NAME

+

Static NAME: string = "PrintableString"

+

Overrides

+

LocalSimpleStringBlock.NAME

+

Accessors

+

valueBeforeDecode

+

get valueBeforeDecode(): ArrayBuffer

+

Returns

+

ArrayBuffer

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

LocalSimpleStringBlock.valueBeforeDecode

+

set valueBeforeDecode(value): void

+

Parameters

+
NameType
valueArrayBuffer
+

Returns

+

void

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

LocalSimpleStringBlock.valueBeforeDecode

+

Methods

+

fromBER

+

fromBER(inputBuffer, inputOffset, inputLength): number

+

Parameters

+
NameType
inputBufferUint8Array | ArrayBuffer
inputOffsetnumber
inputLengthnumber
+

Returns

+

number

+

Inherited from

+

LocalSimpleStringBlock.fromBER

+
+

fromBuffer

+

fromBuffer(inputBuffer): void

+

Parameters

+
NameType
inputBufferUint8Array | ArrayBuffer
+

Returns

+

void

+

Inherited from

+

LocalSimpleStringBlock.fromBuffer

+
+

fromString

+

fromString(inputString): void

+

Parameters

+
NameType
inputStringstring
+

Returns

+

void

+

Inherited from

+

LocalSimpleStringBlock.fromString

+
+

getValue

+

getValue(): string

+

String value

+

Returns

+

string

+

Since

+

3.0.0

+

Inherited from

+

LocalSimpleStringBlock.getValue

+
+

isEqual

+

isEqual(other): other is PrintableString

+

Determines whether two object instances are equal

+

Parameters

+
NameTypeDescription
otherunknownObject to compare with the current object
+

Returns

+

other is PrintableString

+

Inherited from

+

LocalSimpleStringBlock.isEqual

+
+

onAsciiEncoding

+

onAsciiEncoding(): string

+

Returns

+

string

+

Inherited from

+

LocalSimpleStringBlock.onAsciiEncoding

+
+

setValue

+

setValue(value): void

+

String value

+

Parameters

+
NameTypeDescription
valuestringString value
+

Returns

+

void

+

Since

+

3.0.0

+

Inherited from

+

LocalSimpleStringBlock.setValue

+
+

toBER

+

toBER(sizeOnly?, writer?): ArrayBuffer

+

Parameters

+
NameType
sizeOnly?boolean
writer?ViewWriter
+

Returns

+

ArrayBuffer

+

Inherited from

+

LocalSimpleStringBlock.toBER

+
+

toJSON

+

toJSON(): BaseBlockJson<LocalStringValueBlockJson>

+

Returns

+

BaseBlockJson<LocalStringValueBlockJson>

+

Inherited from

+

LocalSimpleStringBlock.toJSON

+
+

toString

+

toString(encoding?): string

+

Parameters

+
NameTypeDefault value
encodingStringEncoding"ascii"
+

Returns

+

string

+

Inherited from

+

LocalSimpleStringBlock.toString

+
+

blockName

+

blockName(): string

+

Aux function, need to get a block name. Need to have it here for inheritance

+

Returns

+

string

+

Returns name of the block

+

Inherited from

+

LocalSimpleStringBlock.blockName

+ + \ No newline at end of file diff --git a/docs/api/classes/RawData/index.html b/docs/api/classes/RawData/index.html new file mode 100644 index 0000000..fe9fca0 --- /dev/null +++ b/docs/api/classes/RawData/index.html @@ -0,0 +1,65 @@ + + + + + +Class: RawData | asn1js + + + + +

Class: RawData

Special class providing ability to have "toBER/fromBER" for raw ArrayBuffer

+

Implements

+ +

Constructors

+

constructor

+

new RawData(«destructured»?): RawData

+

Parameters

+
NameType
«destructured»Partial<IRawData>
+

Returns

+

RawData

+

Properties

+

dataView

+

dataView: Uint8Array

+

Since

+

3.0.0

+

Accessors

+

data

+

get data(): ArrayBuffer

+

Returns

+

ArrayBuffer

+

Deprecated

+

Since v3.0.0

+

set data(value): void

+

Parameters

+
NameType
valueArrayBuffer
+

Returns

+

void

+

Deprecated

+

Since v3.0.0

+

Methods

+

fromBER

+

fromBER(inputBuffer, inputOffset, inputLength): number

+

Base function for converting block from BER encoded array of bytes

+

Parameters

+
NameTypeDescription
inputBufferUint8Array | ArrayBufferASN.1 BER encoded array
inputOffsetnumberOffset in ASN.1 BER encoded array where decoding should be started
inputLengthnumberMaximum length of array of bytes which can be using in this function
+

Returns

+

number

+

Offset after least decoded byte

+

Implementation of

+

IBerConvertible.fromBER

+
+

toBER

+

toBER(sizeOnly?): ArrayBuffer

+

Encoding of current ASN.1 block into ASN.1 encoded array (BER rules)

+

Parameters

+
NameTypeDescription
sizeOnly?booleanFlag that we need only a size of encoding, not a real array of bytes
+

Returns

+

ArrayBuffer

+

ASN.1 BER encoded array

+

Implementation of

+

IBerConvertible.toBER

+ + \ No newline at end of file diff --git a/docs/api/classes/RelativeObjectIdentifier/index.html b/docs/api/classes/RelativeObjectIdentifier/index.html new file mode 100644 index 0000000..81f5fc4 --- /dev/null +++ b/docs/api/classes/RelativeObjectIdentifier/index.html @@ -0,0 +1,185 @@ + + + + + +Class: RelativeObjectIdentifier | asn1js + + + + +

Class: RelativeObjectIdentifier

Hierarchy

+
    +
  • +

    BaseBlock<LocalRelativeObjectIdentifierValueBlock, LocalRelativeObjectIdentifierValueBlockJson>

    +

    RelativeObjectIdentifier

    +
  • +
+

Constructors

+

constructor

+

new RelativeObjectIdentifier(parameters?): RelativeObjectIdentifier

+

Parameters

+
NameType
parametersRelativeObjectIdentifierParams
+

Returns

+

RelativeObjectIdentifier

+

Overrides

+

BaseBlock.constructor

+

Properties

+

blockLength

+

blockLength: number

+

Inherited from

+

BaseBlock.blockLength

+
+

error

+

error: string

+

Inherited from

+

BaseBlock.error

+
+

idBlock

+

idBlock: LocalIdentificationBlock

+

Inherited from

+

BaseBlock.idBlock

+
+

lenBlock

+

lenBlock: LocalLengthBlock

+

Inherited from

+

BaseBlock.lenBlock

+
+

name

+

name: string

+

Inherited from

+

BaseBlock.name

+
+

optional

+

optional: boolean

+

Inherited from

+

BaseBlock.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlock<ValueBlock, LocalBaseBlockJson>

+

Inherited from

+

BaseBlock.primitiveSchema

+
+

valueBeforeDecodeView

+

valueBeforeDecodeView: Uint8Array

+

Since

+

3.0.0

+

Inherited from

+

BaseBlock.valueBeforeDecodeView

+
+

valueBlock

+

valueBlock: LocalRelativeObjectIdentifierValueBlock

+

Inherited from

+

BaseBlock.valueBlock

+
+

warnings

+

warnings: string[]

+

Inherited from

+

BaseBlock.warnings

+
+

NAME

+

Static NAME: string = "RelativeObjectIdentifier"

+

Overrides

+

BaseBlock.NAME

+

Accessors

+

valueBeforeDecode

+

get valueBeforeDecode(): ArrayBuffer

+

Returns

+

ArrayBuffer

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

BaseBlock.valueBeforeDecode

+

set valueBeforeDecode(value): void

+

Parameters

+
NameType
valueArrayBuffer
+

Returns

+

void

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

BaseBlock.valueBeforeDecode

+

Methods

+

fromBER

+

fromBER(inputBuffer, inputOffset, inputLength): number

+

Base function for converting block from BER encoded array of bytes

+

Parameters

+
NameTypeDescription
inputBufferUint8Array | ArrayBufferASN.1 BER encoded array
inputOffsetnumberOffset in ASN.1 BER encoded array where decoding should be started
inputLengthnumberMaximum length of array of bytes which can be using in this function
+

Returns

+

number

+

Offset after least decoded byte

+

Inherited from

+

BaseBlock.fromBER

+
+

getValue

+

getValue(): string

+

Gets string representation of Relative Object Identifier

+

Returns

+

string

+

Since

+

3.0.0

+
+

isEqual

+

isEqual(other): other is RelativeObjectIdentifier

+

Determines whether two object instances are equal

+

Parameters

+
NameTypeDescription
otherunknownObject to compare with the current object
+

Returns

+

other is RelativeObjectIdentifier

+

Inherited from

+

BaseBlock.isEqual

+
+

onAsciiEncoding

+

onAsciiEncoding(): string

+

Returns

+

string

+

Overrides

+

BaseBlock.onAsciiEncoding

+
+

setValue

+

setValue(value): void

+

Sets Relative Object Identifier value from string

+

Parameters

+
NameTypeDescription
valuestringString value
+

Returns

+

void

+

Since

+

3.0.0

+
+

toBER

+

toBER(sizeOnly?, writer?): ArrayBuffer

+

Encoding of current ASN.1 block into ASN.1 encoded array (BER rules)

+

Parameters

+
NameTypeDescription
sizeOnly?booleanFlag that we need only a size of encoding, not a real array of bytes
writer?ViewWriter-
+

Returns

+

ArrayBuffer

+

ASN.1 BER encoded array

+

Inherited from

+

BaseBlock.toBER

+
+

toJSON

+

toJSON(): RelativeObjectIdentifierJson

+

Returns

+

RelativeObjectIdentifierJson

+

Overrides

+

BaseBlock.toJSON

+
+

toString

+

toString(encoding?): string

+

Parameters

+
NameTypeDefault value
encodingStringEncoding"ascii"
+

Returns

+

string

+

Inherited from

+

BaseBlock.toString

+
+

blockName

+

blockName(): string

+

Aux function, need to get a block name. Need to have it here for inheritance

+

Returns

+

string

+

Returns name of the block

+

Inherited from

+

BaseBlock.blockName

+ + \ No newline at end of file diff --git a/docs/api/classes/Repeated/index.html b/docs/api/classes/Repeated/index.html new file mode 100644 index 0000000..68fbb9d --- /dev/null +++ b/docs/api/classes/Repeated/index.html @@ -0,0 +1,44 @@ + + + + + +Class: Repeated | asn1js + + + + + + + \ No newline at end of file diff --git a/docs/api/classes/Sequence/index.html b/docs/api/classes/Sequence/index.html new file mode 100644 index 0000000..ced218a --- /dev/null +++ b/docs/api/classes/Sequence/index.html @@ -0,0 +1,167 @@ + + + + + +Class: Sequence | asn1js + + + + +

Class: Sequence

Hierarchy

+ +

Constructors

+

constructor

+

new Sequence(parameters?): Sequence

+

Parameters

+
NameType
parametersConstructedParams
+

Returns

+

Sequence

+

Overrides

+

Constructed.constructor

+

Properties

+

blockLength

+

blockLength: number

+

Inherited from

+

Constructed.blockLength

+
+

error

+

error: string

+

Inherited from

+

Constructed.error

+
+

idBlock

+

idBlock: LocalIdentificationBlock

+

Inherited from

+

Constructed.idBlock

+
+

lenBlock

+

lenBlock: LocalLengthBlock

+

Inherited from

+

Constructed.lenBlock

+
+

name

+

name: string

+

Inherited from

+

Constructed.name

+
+

optional

+

optional: boolean

+

Inherited from

+

Constructed.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlock<ValueBlock, LocalBaseBlockJson>

+

Inherited from

+

Constructed.primitiveSchema

+
+

valueBeforeDecodeView

+

valueBeforeDecodeView: Uint8Array

+

Since

+

3.0.0

+

Inherited from

+

Constructed.valueBeforeDecodeView

+
+

valueBlock

+

valueBlock: LocalConstructedValueBlock

+

Inherited from

+

Constructed.valueBlock

+
+

warnings

+

warnings: string[]

+

Inherited from

+

Constructed.warnings

+
+

NAME

+

Static NAME: string = "SEQUENCE"

+

Overrides

+

Constructed.NAME

+

Accessors

+

valueBeforeDecode

+

get valueBeforeDecode(): ArrayBuffer

+

Returns

+

ArrayBuffer

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

Constructed.valueBeforeDecode

+

set valueBeforeDecode(value): void

+

Parameters

+
NameType
valueArrayBuffer
+

Returns

+

void

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

Constructed.valueBeforeDecode

+

Methods

+

fromBER

+

fromBER(inputBuffer, inputOffset, inputLength): number

+

Base function for converting block from BER encoded array of bytes

+

Parameters

+
NameTypeDescription
inputBufferUint8Array | ArrayBufferASN.1 BER encoded array
inputOffsetnumberOffset in ASN.1 BER encoded array where decoding should be started
inputLengthnumberMaximum length of array of bytes which can be using in this function
+

Returns

+

number

+

Offset after least decoded byte

+

Inherited from

+

Constructed.fromBER

+
+

isEqual

+

isEqual(other): other is Sequence

+

Determines whether two object instances are equal

+

Parameters

+
NameTypeDescription
otherunknownObject to compare with the current object
+

Returns

+

other is Sequence

+

Inherited from

+

Constructed.isEqual

+
+

onAsciiEncoding

+

onAsciiEncoding(): string

+

Returns

+

string

+

Inherited from

+

Constructed.onAsciiEncoding

+
+

toBER

+

toBER(sizeOnly?, writer?): ArrayBuffer

+

Encoding of current ASN.1 block into ASN.1 encoded array (BER rules)

+

Parameters

+
NameTypeDescription
sizeOnly?booleanFlag that we need only a size of encoding, not a real array of bytes
writer?ViewWriter-
+

Returns

+

ArrayBuffer

+

ASN.1 BER encoded array

+

Inherited from

+

Constructed.toBER

+
+

toJSON

+

toJSON(): BaseBlockJson<LocalConstructedValueBlockJson>

+

Returns

+

BaseBlockJson<LocalConstructedValueBlockJson>

+

Inherited from

+

Constructed.toJSON

+
+

toString

+

toString(encoding?): string

+

Parameters

+
NameTypeDefault value
encodingStringEncoding"ascii"
+

Returns

+

string

+

Inherited from

+

Constructed.toString

+
+

blockName

+

blockName(): string

+

Aux function, need to get a block name. Need to have it here for inheritance

+

Returns

+

string

+

Returns name of the block

+

Inherited from

+

Constructed.blockName

+ + \ No newline at end of file diff --git a/docs/api/classes/Set/index.html b/docs/api/classes/Set/index.html new file mode 100644 index 0000000..3afb412 --- /dev/null +++ b/docs/api/classes/Set/index.html @@ -0,0 +1,167 @@ + + + + + +Class: Set | asn1js + + + + +

Class: Set

Hierarchy

+ +

Constructors

+

constructor

+

new Set(parameters?): Set

+

Parameters

+
NameType
parametersConstructedParams
+

Returns

+

Set

+

Overrides

+

Constructed.constructor

+

Properties

+

blockLength

+

blockLength: number

+

Inherited from

+

Constructed.blockLength

+
+

error

+

error: string

+

Inherited from

+

Constructed.error

+
+

idBlock

+

idBlock: LocalIdentificationBlock

+

Inherited from

+

Constructed.idBlock

+
+

lenBlock

+

lenBlock: LocalLengthBlock

+

Inherited from

+

Constructed.lenBlock

+
+

name

+

name: string

+

Inherited from

+

Constructed.name

+
+

optional

+

optional: boolean

+

Inherited from

+

Constructed.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlock<ValueBlock, LocalBaseBlockJson>

+

Inherited from

+

Constructed.primitiveSchema

+
+

valueBeforeDecodeView

+

valueBeforeDecodeView: Uint8Array

+

Since

+

3.0.0

+

Inherited from

+

Constructed.valueBeforeDecodeView

+
+

valueBlock

+

valueBlock: LocalConstructedValueBlock

+

Inherited from

+

Constructed.valueBlock

+
+

warnings

+

warnings: string[]

+

Inherited from

+

Constructed.warnings

+
+

NAME

+

Static NAME: string = "SET"

+

Overrides

+

Constructed.NAME

+

Accessors

+

valueBeforeDecode

+

get valueBeforeDecode(): ArrayBuffer

+

Returns

+

ArrayBuffer

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

Constructed.valueBeforeDecode

+

set valueBeforeDecode(value): void

+

Parameters

+
NameType
valueArrayBuffer
+

Returns

+

void

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

Constructed.valueBeforeDecode

+

Methods

+

fromBER

+

fromBER(inputBuffer, inputOffset, inputLength): number

+

Base function for converting block from BER encoded array of bytes

+

Parameters

+
NameTypeDescription
inputBufferUint8Array | ArrayBufferASN.1 BER encoded array
inputOffsetnumberOffset in ASN.1 BER encoded array where decoding should be started
inputLengthnumberMaximum length of array of bytes which can be using in this function
+

Returns

+

number

+

Offset after least decoded byte

+

Inherited from

+

Constructed.fromBER

+
+

isEqual

+

isEqual(other): other is Set

+

Determines whether two object instances are equal

+

Parameters

+
NameTypeDescription
otherunknownObject to compare with the current object
+

Returns

+

other is Set

+

Inherited from

+

Constructed.isEqual

+
+

onAsciiEncoding

+

onAsciiEncoding(): string

+

Returns

+

string

+

Inherited from

+

Constructed.onAsciiEncoding

+
+

toBER

+

toBER(sizeOnly?, writer?): ArrayBuffer

+

Encoding of current ASN.1 block into ASN.1 encoded array (BER rules)

+

Parameters

+
NameTypeDescription
sizeOnly?booleanFlag that we need only a size of encoding, not a real array of bytes
writer?ViewWriter-
+

Returns

+

ArrayBuffer

+

ASN.1 BER encoded array

+

Inherited from

+

Constructed.toBER

+
+

toJSON

+

toJSON(): BaseBlockJson<LocalConstructedValueBlockJson>

+

Returns

+

BaseBlockJson<LocalConstructedValueBlockJson>

+

Inherited from

+

Constructed.toJSON

+
+

toString

+

toString(encoding?): string

+

Parameters

+
NameTypeDefault value
encodingStringEncoding"ascii"
+

Returns

+

string

+

Inherited from

+

Constructed.toString

+
+

blockName

+

blockName(): string

+

Aux function, need to get a block name. Need to have it here for inheritance

+

Returns

+

string

+

Returns name of the block

+

Inherited from

+

Constructed.blockName

+ + \ No newline at end of file diff --git a/docs/api/classes/TIME/index.html b/docs/api/classes/TIME/index.html new file mode 100644 index 0000000..66c23d8 --- /dev/null +++ b/docs/api/classes/TIME/index.html @@ -0,0 +1,203 @@ + + + + + +Class: TIME | asn1js + + + + +

Class: TIME

Hierarchy

+ +

Constructors

+

constructor

+

new TIME(parameters?): TIME

+

Parameters

+
NameType
parametersUtf8StringParams
+

Returns

+

TIME

+

Overrides

+

Utf8String.constructor

+

Properties

+

blockLength

+

blockLength: number

+

Inherited from

+

Utf8String.blockLength

+
+

error

+

error: string

+

Inherited from

+

Utf8String.error

+
+

idBlock

+

idBlock: LocalIdentificationBlock

+

Inherited from

+

Utf8String.idBlock

+
+

lenBlock

+

lenBlock: LocalLengthBlock

+

Inherited from

+

Utf8String.lenBlock

+
+

name

+

name: string

+

Inherited from

+

Utf8String.name

+
+

optional

+

optional: boolean

+

Inherited from

+

Utf8String.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlock<ValueBlock, LocalBaseBlockJson>

+

Inherited from

+

Utf8String.primitiveSchema

+
+

valueBeforeDecodeView

+

valueBeforeDecodeView: Uint8Array

+

Since

+

3.0.0

+

Inherited from

+

Utf8String.valueBeforeDecodeView

+
+

valueBlock

+

valueBlock: LocalSimpleStringValueBlock

+

Inherited from

+

Utf8String.valueBlock

+
+

warnings

+

warnings: string[]

+

Inherited from

+

Utf8String.warnings

+
+

NAME

+

Static NAME: string = "TIME"

+

Overrides

+

Utf8String.NAME

+

Accessors

+

valueBeforeDecode

+

get valueBeforeDecode(): ArrayBuffer

+

Returns

+

ArrayBuffer

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

Utf8String.valueBeforeDecode

+

set valueBeforeDecode(value): void

+

Parameters

+
NameType
valueArrayBuffer
+

Returns

+

void

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

Utf8String.valueBeforeDecode

+

Methods

+

fromBER

+

fromBER(inputBuffer, inputOffset, inputLength): number

+

Parameters

+
NameType
inputBufferUint8Array | ArrayBuffer
inputOffsetnumber
inputLengthnumber
+

Returns

+

number

+

Inherited from

+

Utf8String.fromBER

+
+

fromBuffer

+

fromBuffer(inputBuffer): void

+

Parameters

+
NameType
inputBufferUint8Array | ArrayBuffer
+

Returns

+

void

+

Inherited from

+

Utf8String.fromBuffer

+
+

fromString

+

fromString(inputString): void

+

Parameters

+
NameType
inputStringstring
+

Returns

+

void

+

Inherited from

+

Utf8String.fromString

+
+

getValue

+

getValue(): string

+

String value

+

Returns

+

string

+

Since

+

3.0.0

+

Inherited from

+

Utf8String.getValue

+
+

isEqual

+

isEqual(other): other is TIME

+

Determines whether two object instances are equal

+

Parameters

+
NameTypeDescription
otherunknownObject to compare with the current object
+

Returns

+

other is TIME

+

Inherited from

+

Utf8String.isEqual

+
+

onAsciiEncoding

+

onAsciiEncoding(): string

+

Returns

+

string

+

Inherited from

+

Utf8String.onAsciiEncoding

+
+

setValue

+

setValue(value): void

+

String value

+

Parameters

+
NameTypeDescription
valuestringString value
+

Returns

+

void

+

Since

+

3.0.0

+

Inherited from

+

Utf8String.setValue

+
+

toBER

+

toBER(sizeOnly?, writer?): ArrayBuffer

+

Parameters

+
NameType
sizeOnly?boolean
writer?ViewWriter
+

Returns

+

ArrayBuffer

+

Inherited from

+

Utf8String.toBER

+
+

toJSON

+

toJSON(): BaseBlockJson<LocalStringValueBlockJson>

+

Returns

+

BaseBlockJson<LocalStringValueBlockJson>

+

Inherited from

+

Utf8String.toJSON

+
+

toString

+

toString(encoding?): string

+

Parameters

+
NameTypeDefault value
encodingStringEncoding"ascii"
+

Returns

+

string

+

Inherited from

+

Utf8String.toString

+
+

blockName

+

blockName(): string

+

Aux function, need to get a block name. Need to have it here for inheritance

+

Returns

+

string

+

Returns name of the block

+

Inherited from

+

Utf8String.blockName

+ + \ No newline at end of file diff --git a/docs/api/classes/TeletexString/index.html b/docs/api/classes/TeletexString/index.html new file mode 100644 index 0000000..7f42534 --- /dev/null +++ b/docs/api/classes/TeletexString/index.html @@ -0,0 +1,203 @@ + + + + + +Class: TeletexString | asn1js + + + + +

Class: TeletexString

Hierarchy

+
    +
  • +

    LocalSimpleStringBlock

    +

    TeletexString

    +
  • +
+

Constructors

+

constructor

+

new TeletexString(parameters?): TeletexString

+

Parameters

+
NameType
parametersLocalSimpleStringBlockParams
+

Returns

+

TeletexString

+

Overrides

+

LocalSimpleStringBlock.constructor

+

Properties

+

blockLength

+

blockLength: number

+

Inherited from

+

LocalSimpleStringBlock.blockLength

+
+

error

+

error: string

+

Inherited from

+

LocalSimpleStringBlock.error

+
+

idBlock

+

idBlock: LocalIdentificationBlock

+

Inherited from

+

LocalSimpleStringBlock.idBlock

+
+

lenBlock

+

lenBlock: LocalLengthBlock

+

Inherited from

+

LocalSimpleStringBlock.lenBlock

+
+

name

+

name: string

+

Inherited from

+

LocalSimpleStringBlock.name

+
+

optional

+

optional: boolean

+

Inherited from

+

LocalSimpleStringBlock.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlock<ValueBlock, LocalBaseBlockJson>

+

Inherited from

+

LocalSimpleStringBlock.primitiveSchema

+
+

valueBeforeDecodeView

+

valueBeforeDecodeView: Uint8Array

+

Since

+

3.0.0

+

Inherited from

+

LocalSimpleStringBlock.valueBeforeDecodeView

+
+

valueBlock

+

valueBlock: LocalSimpleStringValueBlock

+

Inherited from

+

LocalSimpleStringBlock.valueBlock

+
+

warnings

+

warnings: string[]

+

Inherited from

+

LocalSimpleStringBlock.warnings

+
+

NAME

+

Static NAME: string = "TeletexString"

+

Overrides

+

LocalSimpleStringBlock.NAME

+

Accessors

+

valueBeforeDecode

+

get valueBeforeDecode(): ArrayBuffer

+

Returns

+

ArrayBuffer

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

LocalSimpleStringBlock.valueBeforeDecode

+

set valueBeforeDecode(value): void

+

Parameters

+
NameType
valueArrayBuffer
+

Returns

+

void

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

LocalSimpleStringBlock.valueBeforeDecode

+

Methods

+

fromBER

+

fromBER(inputBuffer, inputOffset, inputLength): number

+

Parameters

+
NameType
inputBufferUint8Array | ArrayBuffer
inputOffsetnumber
inputLengthnumber
+

Returns

+

number

+

Inherited from

+

LocalSimpleStringBlock.fromBER

+
+

fromBuffer

+

fromBuffer(inputBuffer): void

+

Parameters

+
NameType
inputBufferUint8Array | ArrayBuffer
+

Returns

+

void

+

Inherited from

+

LocalSimpleStringBlock.fromBuffer

+
+

fromString

+

fromString(inputString): void

+

Parameters

+
NameType
inputStringstring
+

Returns

+

void

+

Inherited from

+

LocalSimpleStringBlock.fromString

+
+

getValue

+

getValue(): string

+

String value

+

Returns

+

string

+

Since

+

3.0.0

+

Inherited from

+

LocalSimpleStringBlock.getValue

+
+

isEqual

+

isEqual(other): other is TeletexString

+

Determines whether two object instances are equal

+

Parameters

+
NameTypeDescription
otherunknownObject to compare with the current object
+

Returns

+

other is TeletexString

+

Inherited from

+

LocalSimpleStringBlock.isEqual

+
+

onAsciiEncoding

+

onAsciiEncoding(): string

+

Returns

+

string

+

Inherited from

+

LocalSimpleStringBlock.onAsciiEncoding

+
+

setValue

+

setValue(value): void

+

String value

+

Parameters

+
NameTypeDescription
valuestringString value
+

Returns

+

void

+

Since

+

3.0.0

+

Inherited from

+

LocalSimpleStringBlock.setValue

+
+

toBER

+

toBER(sizeOnly?, writer?): ArrayBuffer

+

Parameters

+
NameType
sizeOnly?boolean
writer?ViewWriter
+

Returns

+

ArrayBuffer

+

Inherited from

+

LocalSimpleStringBlock.toBER

+
+

toJSON

+

toJSON(): BaseBlockJson<LocalStringValueBlockJson>

+

Returns

+

BaseBlockJson<LocalStringValueBlockJson>

+

Inherited from

+

LocalSimpleStringBlock.toJSON

+
+

toString

+

toString(encoding?): string

+

Parameters

+
NameTypeDefault value
encodingStringEncoding"ascii"
+

Returns

+

string

+

Inherited from

+

LocalSimpleStringBlock.toString

+
+

blockName

+

blockName(): string

+

Aux function, need to get a block name. Need to have it here for inheritance

+

Returns

+

string

+

Returns name of the block

+

Inherited from

+

LocalSimpleStringBlock.blockName

+ + \ No newline at end of file diff --git a/docs/api/classes/TimeOfDay/index.html b/docs/api/classes/TimeOfDay/index.html new file mode 100644 index 0000000..b51b080 --- /dev/null +++ b/docs/api/classes/TimeOfDay/index.html @@ -0,0 +1,203 @@ + + + + + +Class: TimeOfDay | asn1js + + + + +

Class: TimeOfDay

Hierarchy

+ +

Constructors

+

constructor

+

new TimeOfDay(parameters?): TimeOfDay

+

Parameters

+
NameType
parametersUtf8StringParams
+

Returns

+

TimeOfDay

+

Overrides

+

Utf8String.constructor

+

Properties

+

blockLength

+

blockLength: number

+

Inherited from

+

Utf8String.blockLength

+
+

error

+

error: string

+

Inherited from

+

Utf8String.error

+
+

idBlock

+

idBlock: LocalIdentificationBlock

+

Inherited from

+

Utf8String.idBlock

+
+

lenBlock

+

lenBlock: LocalLengthBlock

+

Inherited from

+

Utf8String.lenBlock

+
+

name

+

name: string

+

Inherited from

+

Utf8String.name

+
+

optional

+

optional: boolean

+

Inherited from

+

Utf8String.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlock<ValueBlock, LocalBaseBlockJson>

+

Inherited from

+

Utf8String.primitiveSchema

+
+

valueBeforeDecodeView

+

valueBeforeDecodeView: Uint8Array

+

Since

+

3.0.0

+

Inherited from

+

Utf8String.valueBeforeDecodeView

+
+

valueBlock

+

valueBlock: LocalSimpleStringValueBlock

+

Inherited from

+

Utf8String.valueBlock

+
+

warnings

+

warnings: string[]

+

Inherited from

+

Utf8String.warnings

+
+

NAME

+

Static NAME: string = "TimeOfDay"

+

Overrides

+

Utf8String.NAME

+

Accessors

+

valueBeforeDecode

+

get valueBeforeDecode(): ArrayBuffer

+

Returns

+

ArrayBuffer

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

Utf8String.valueBeforeDecode

+

set valueBeforeDecode(value): void

+

Parameters

+
NameType
valueArrayBuffer
+

Returns

+

void

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

Utf8String.valueBeforeDecode

+

Methods

+

fromBER

+

fromBER(inputBuffer, inputOffset, inputLength): number

+

Parameters

+
NameType
inputBufferUint8Array | ArrayBuffer
inputOffsetnumber
inputLengthnumber
+

Returns

+

number

+

Inherited from

+

Utf8String.fromBER

+
+

fromBuffer

+

fromBuffer(inputBuffer): void

+

Parameters

+
NameType
inputBufferUint8Array | ArrayBuffer
+

Returns

+

void

+

Inherited from

+

Utf8String.fromBuffer

+
+

fromString

+

fromString(inputString): void

+

Parameters

+
NameType
inputStringstring
+

Returns

+

void

+

Inherited from

+

Utf8String.fromString

+
+

getValue

+

getValue(): string

+

String value

+

Returns

+

string

+

Since

+

3.0.0

+

Inherited from

+

Utf8String.getValue

+
+

isEqual

+

isEqual(other): other is TimeOfDay

+

Determines whether two object instances are equal

+

Parameters

+
NameTypeDescription
otherunknownObject to compare with the current object
+

Returns

+

other is TimeOfDay

+

Inherited from

+

Utf8String.isEqual

+
+

onAsciiEncoding

+

onAsciiEncoding(): string

+

Returns

+

string

+

Inherited from

+

Utf8String.onAsciiEncoding

+
+

setValue

+

setValue(value): void

+

String value

+

Parameters

+
NameTypeDescription
valuestringString value
+

Returns

+

void

+

Since

+

3.0.0

+

Inherited from

+

Utf8String.setValue

+
+

toBER

+

toBER(sizeOnly?, writer?): ArrayBuffer

+

Parameters

+
NameType
sizeOnly?boolean
writer?ViewWriter
+

Returns

+

ArrayBuffer

+

Inherited from

+

Utf8String.toBER

+
+

toJSON

+

toJSON(): BaseBlockJson<LocalStringValueBlockJson>

+

Returns

+

BaseBlockJson<LocalStringValueBlockJson>

+

Inherited from

+

Utf8String.toJSON

+
+

toString

+

toString(encoding?): string

+

Parameters

+
NameTypeDefault value
encodingStringEncoding"ascii"
+

Returns

+

string

+

Inherited from

+

Utf8String.toString

+
+

blockName

+

blockName(): string

+

Aux function, need to get a block name. Need to have it here for inheritance

+

Returns

+

string

+

Returns name of the block

+

Inherited from

+

Utf8String.blockName

+ + \ No newline at end of file diff --git a/docs/api/classes/UTCTime/index.html b/docs/api/classes/UTCTime/index.html new file mode 100644 index 0000000..0d1bfde --- /dev/null +++ b/docs/api/classes/UTCTime/index.html @@ -0,0 +1,264 @@ + + + + + +Class: UTCTime | asn1js + + + + +

Class: UTCTime

Hierarchy

+ +

Implements

+ +

Constructors

+

constructor

+

new UTCTime(«destructured»?): UTCTime

+

Parameters

+
NameType
«destructured»UTCTimeParams
+

Returns

+

UTCTime

+

Overrides

+

VisibleString.constructor

+

Properties

+

blockLength

+

blockLength: number

+

Inherited from

+

VisibleString.blockLength

+
+

day

+

day: number

+

Implementation of

+

IUTCTime.day

+
+

error

+

error: string

+

Inherited from

+

VisibleString.error

+
+

hour

+

hour: number

+

Implementation of

+

IUTCTime.hour

+
+

idBlock

+

idBlock: LocalIdentificationBlock

+

Inherited from

+

VisibleString.idBlock

+
+

lenBlock

+

lenBlock: LocalLengthBlock

+

Inherited from

+

VisibleString.lenBlock

+
+

minute

+

minute: number

+

Implementation of

+

IUTCTime.minute

+
+

month

+

month: number

+

Implementation of

+

IUTCTime.month

+
+

name

+

name: string

+

Inherited from

+

VisibleString.name

+
+

optional

+

optional: boolean

+

Inherited from

+

VisibleString.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlock<ValueBlock, LocalBaseBlockJson>

+

Inherited from

+

VisibleString.primitiveSchema

+
+

second

+

second: number

+

Implementation of

+

IUTCTime.second

+
+

valueBeforeDecodeView

+

valueBeforeDecodeView: Uint8Array

+

Since

+

3.0.0

+

Inherited from

+

VisibleString.valueBeforeDecodeView

+
+

valueBlock

+

valueBlock: LocalSimpleStringValueBlock

+

Inherited from

+

VisibleString.valueBlock

+
+

warnings

+

warnings: string[]

+

Inherited from

+

VisibleString.warnings

+
+

year

+

year: number

+

Implementation of

+

IUTCTime.year

+
+

NAME

+

Static NAME: string = "UTCTime"

+

Overrides

+

VisibleString.NAME

+

Accessors

+

valueBeforeDecode

+

get valueBeforeDecode(): ArrayBuffer

+

Returns

+

ArrayBuffer

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

VisibleString.valueBeforeDecode

+

set valueBeforeDecode(value): void

+

Parameters

+
NameType
valueArrayBuffer
+

Returns

+

void

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

VisibleString.valueBeforeDecode

+

Methods

+

fromBER

+

fromBER(inputBuffer, inputOffset, inputLength): number

+

Parameters

+
NameType
inputBufferUint8Array | ArrayBuffer
inputOffsetnumber
inputLengthnumber
+

Returns

+

number

+

Inherited from

+

VisibleString.fromBER

+
+

fromBuffer

+

fromBuffer(inputBuffer): void

+

Parameters

+
NameType
inputBufferUint8Array | ArrayBuffer
+

Returns

+

void

+

Overrides

+

VisibleString.fromBuffer

+
+

fromDate

+

fromDate(inputDate): void

+

Function converting "Date" object into ASN.1 internal string

+

Parameters

+
NameTypeDescription
inputDateDateJavaScript "Date" object
+

Returns

+

void

+

Implementation of

+

IDateConvertible.fromDate

+
+

fromString

+

fromString(inputString): void

+

Parameters

+
NameType
inputStringstring
+

Returns

+

void

+

Overrides

+

VisibleString.fromString

+
+

getValue

+

getValue(): string

+

String value

+

Returns

+

string

+

Since

+

3.0.0

+

Inherited from

+

VisibleString.getValue

+
+

isEqual

+

isEqual(other): other is UTCTime

+

Determines whether two object instances are equal

+

Parameters

+
NameTypeDescription
otherunknownObject to compare with the current object
+

Returns

+

other is UTCTime

+

Inherited from

+

VisibleString.isEqual

+
+

onAsciiEncoding

+

onAsciiEncoding(): string

+

Returns

+

string

+

Overrides

+

VisibleString.onAsciiEncoding

+
+

setValue

+

setValue(value): void

+

String value

+

Parameters

+
NameTypeDescription
valuestringString value
+

Returns

+

void

+

Since

+

3.0.0

+

Inherited from

+

VisibleString.setValue

+
+

toBER

+

toBER(sizeOnly?, writer?): ArrayBuffer

+

Parameters

+
NameType
sizeOnly?boolean
writer?ViewWriter
+

Returns

+

ArrayBuffer

+

Inherited from

+

VisibleString.toBER

+
+

toBuffer

+

toBuffer(): ArrayBuffer

+

Function converting ASN.1 internal string into ArrayBuffer

+

Returns

+

ArrayBuffer

+
+

toDate

+

toDate(): Date

+

Converts a class object into the JavaScrip Date Object

+

Returns

+

Date

+

Date object

+

Implementation of

+

IDateConvertible.toDate

+
+

toJSON

+

toJSON(): UTCTimeJson

+

Returns

+

UTCTimeJson

+

Overrides

+

VisibleString.toJSON

+
+

toString

+

toString(encoding?): string

+

Parameters

+
NameTypeDefault value
encodingDateStringEncoding"iso"
+

Returns

+

string

+

Overrides

+

VisibleString.toString

+
+

blockName

+

blockName(): string

+

Aux function, need to get a block name. Need to have it here for inheritance

+

Returns

+

string

+

Returns name of the block

+

Inherited from

+

VisibleString.blockName

+ + \ No newline at end of file diff --git a/docs/api/classes/UniversalString/index.html b/docs/api/classes/UniversalString/index.html new file mode 100644 index 0000000..d929120 --- /dev/null +++ b/docs/api/classes/UniversalString/index.html @@ -0,0 +1,203 @@ + + + + + +Class: UniversalString | asn1js + + + + +

Class: UniversalString

Hierarchy

+
    +
  • +

    LocalUniversalStringValueBlock

    +

    UniversalString

    +
  • +
+

Constructors

+

constructor

+

new UniversalString(«destructured»?): UniversalString

+

Parameters

+
NameType
«destructured»LocalSimpleStringBlockParams
+

Returns

+

UniversalString

+

Overrides

+

LocalUniversalStringValueBlock.constructor

+

Properties

+

blockLength

+

blockLength: number

+

Inherited from

+

LocalUniversalStringValueBlock.blockLength

+
+

error

+

error: string

+

Inherited from

+

LocalUniversalStringValueBlock.error

+
+

idBlock

+

idBlock: LocalIdentificationBlock

+

Inherited from

+

LocalUniversalStringValueBlock.idBlock

+
+

lenBlock

+

lenBlock: LocalLengthBlock

+

Inherited from

+

LocalUniversalStringValueBlock.lenBlock

+
+

name

+

name: string

+

Inherited from

+

LocalUniversalStringValueBlock.name

+
+

optional

+

optional: boolean

+

Inherited from

+

LocalUniversalStringValueBlock.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlock<ValueBlock, LocalBaseBlockJson>

+

Inherited from

+

LocalUniversalStringValueBlock.primitiveSchema

+
+

valueBeforeDecodeView

+

valueBeforeDecodeView: Uint8Array

+

Since

+

3.0.0

+

Inherited from

+

LocalUniversalStringValueBlock.valueBeforeDecodeView

+
+

valueBlock

+

valueBlock: LocalSimpleStringValueBlock

+

Inherited from

+

LocalUniversalStringValueBlock.valueBlock

+
+

warnings

+

warnings: string[]

+

Inherited from

+

LocalUniversalStringValueBlock.warnings

+
+

NAME

+

Static NAME: string = "UniversalString"

+

Overrides

+

LocalUniversalStringValueBlock.NAME

+

Accessors

+

valueBeforeDecode

+

get valueBeforeDecode(): ArrayBuffer

+

Returns

+

ArrayBuffer

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

LocalUniversalStringValueBlock.valueBeforeDecode

+

set valueBeforeDecode(value): void

+

Parameters

+
NameType
valueArrayBuffer
+

Returns

+

void

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

LocalUniversalStringValueBlock.valueBeforeDecode

+

Methods

+

fromBER

+

fromBER(inputBuffer, inputOffset, inputLength): number

+

Parameters

+
NameType
inputBufferUint8Array | ArrayBuffer
inputOffsetnumber
inputLengthnumber
+

Returns

+

number

+

Inherited from

+

LocalUniversalStringValueBlock.fromBER

+
+

fromBuffer

+

fromBuffer(inputBuffer): void

+

Parameters

+
NameType
inputBufferUint8Array | ArrayBuffer
+

Returns

+

void

+

Inherited from

+

LocalUniversalStringValueBlock.fromBuffer

+
+

fromString

+

fromString(inputString): void

+

Parameters

+
NameType
inputStringstring
+

Returns

+

void

+

Inherited from

+

LocalUniversalStringValueBlock.fromString

+
+

getValue

+

getValue(): string

+

String value

+

Returns

+

string

+

Since

+

3.0.0

+

Inherited from

+

LocalUniversalStringValueBlock.getValue

+
+

isEqual

+

isEqual(other): other is UniversalString

+

Determines whether two object instances are equal

+

Parameters

+
NameTypeDescription
otherunknownObject to compare with the current object
+

Returns

+

other is UniversalString

+

Inherited from

+

LocalUniversalStringValueBlock.isEqual

+
+

onAsciiEncoding

+

onAsciiEncoding(): string

+

Returns

+

string

+

Inherited from

+

LocalUniversalStringValueBlock.onAsciiEncoding

+
+

setValue

+

setValue(value): void

+

String value

+

Parameters

+
NameTypeDescription
valuestringString value
+

Returns

+

void

+

Since

+

3.0.0

+

Inherited from

+

LocalUniversalStringValueBlock.setValue

+
+

toBER

+

toBER(sizeOnly?, writer?): ArrayBuffer

+

Parameters

+
NameType
sizeOnly?boolean
writer?ViewWriter
+

Returns

+

ArrayBuffer

+

Inherited from

+

LocalUniversalStringValueBlock.toBER

+
+

toJSON

+

toJSON(): BaseBlockJson<LocalStringValueBlockJson>

+

Returns

+

BaseBlockJson<LocalStringValueBlockJson>

+

Inherited from

+

LocalUniversalStringValueBlock.toJSON

+
+

toString

+

toString(encoding?): string

+

Parameters

+
NameTypeDefault value
encodingStringEncoding"ascii"
+

Returns

+

string

+

Inherited from

+

LocalUniversalStringValueBlock.toString

+
+

blockName

+

blockName(): string

+

Aux function, need to get a block name. Need to have it here for inheritance

+

Returns

+

string

+

Returns name of the block

+

Inherited from

+

LocalUniversalStringValueBlock.blockName

+ + \ No newline at end of file diff --git a/docs/api/classes/Utf8String/index.html b/docs/api/classes/Utf8String/index.html new file mode 100644 index 0000000..6316bcd --- /dev/null +++ b/docs/api/classes/Utf8String/index.html @@ -0,0 +1,208 @@ + + + + + +Class: Utf8String | asn1js + + + + +

Class: Utf8String

Hierarchy

+ +

Constructors

+

constructor

+

new Utf8String(parameters?): Utf8String

+

Parameters

+
NameType
parametersUtf8StringParams
+

Returns

+

Utf8String

+

Overrides

+

LocalUtf8StringValueBlock.constructor

+

Properties

+

blockLength

+

blockLength: number

+

Inherited from

+

LocalUtf8StringValueBlock.blockLength

+
+

error

+

error: string

+

Inherited from

+

LocalUtf8StringValueBlock.error

+
+

idBlock

+

idBlock: LocalIdentificationBlock

+

Inherited from

+

LocalUtf8StringValueBlock.idBlock

+
+

lenBlock

+

lenBlock: LocalLengthBlock

+

Inherited from

+

LocalUtf8StringValueBlock.lenBlock

+
+

name

+

name: string

+

Inherited from

+

LocalUtf8StringValueBlock.name

+
+

optional

+

optional: boolean

+

Inherited from

+

LocalUtf8StringValueBlock.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlock<ValueBlock, LocalBaseBlockJson>

+

Inherited from

+

LocalUtf8StringValueBlock.primitiveSchema

+
+

valueBeforeDecodeView

+

valueBeforeDecodeView: Uint8Array

+

Since

+

3.0.0

+

Inherited from

+

LocalUtf8StringValueBlock.valueBeforeDecodeView

+
+

valueBlock

+

valueBlock: LocalSimpleStringValueBlock

+

Inherited from

+

LocalUtf8StringValueBlock.valueBlock

+
+

warnings

+

warnings: string[]

+

Inherited from

+

LocalUtf8StringValueBlock.warnings

+
+

NAME

+

Static NAME: string = "UTF8String"

+

Overrides

+

LocalUtf8StringValueBlock.NAME

+

Accessors

+

valueBeforeDecode

+

get valueBeforeDecode(): ArrayBuffer

+

Returns

+

ArrayBuffer

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

LocalUtf8StringValueBlock.valueBeforeDecode

+

set valueBeforeDecode(value): void

+

Parameters

+
NameType
valueArrayBuffer
+

Returns

+

void

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

LocalUtf8StringValueBlock.valueBeforeDecode

+

Methods

+

fromBER

+

fromBER(inputBuffer, inputOffset, inputLength): number

+

Parameters

+
NameType
inputBufferUint8Array | ArrayBuffer
inputOffsetnumber
inputLengthnumber
+

Returns

+

number

+

Inherited from

+

LocalUtf8StringValueBlock.fromBER

+
+

fromBuffer

+

fromBuffer(inputBuffer): void

+

Parameters

+
NameType
inputBufferUint8Array | ArrayBuffer
+

Returns

+

void

+

Inherited from

+

LocalUtf8StringValueBlock.fromBuffer

+
+

fromString

+

fromString(inputString): void

+

Parameters

+
NameType
inputStringstring
+

Returns

+

void

+

Inherited from

+

LocalUtf8StringValueBlock.fromString

+
+

getValue

+

getValue(): string

+

String value

+

Returns

+

string

+

Since

+

3.0.0

+

Inherited from

+

LocalUtf8StringValueBlock.getValue

+
+

isEqual

+

isEqual(other): other is Utf8String

+

Determines whether two object instances are equal

+

Parameters

+
NameTypeDescription
otherunknownObject to compare with the current object
+

Returns

+

other is Utf8String

+

Inherited from

+

LocalUtf8StringValueBlock.isEqual

+
+

onAsciiEncoding

+

onAsciiEncoding(): string

+

Returns

+

string

+

Inherited from

+

LocalUtf8StringValueBlock.onAsciiEncoding

+
+

setValue

+

setValue(value): void

+

String value

+

Parameters

+
NameTypeDescription
valuestringString value
+

Returns

+

void

+

Since

+

3.0.0

+

Inherited from

+

LocalUtf8StringValueBlock.setValue

+
+

toBER

+

toBER(sizeOnly?, writer?): ArrayBuffer

+

Parameters

+
NameType
sizeOnly?boolean
writer?ViewWriter
+

Returns

+

ArrayBuffer

+

Inherited from

+

LocalUtf8StringValueBlock.toBER

+
+

toJSON

+

toJSON(): BaseBlockJson<LocalStringValueBlockJson>

+

Returns

+

BaseBlockJson<LocalStringValueBlockJson>

+

Inherited from

+

LocalUtf8StringValueBlock.toJSON

+
+

toString

+

toString(encoding?): string

+

Parameters

+
NameTypeDefault value
encodingStringEncoding"ascii"
+

Returns

+

string

+

Inherited from

+

LocalUtf8StringValueBlock.toString

+
+

blockName

+

blockName(): string

+

Aux function, need to get a block name. Need to have it here for inheritance

+

Returns

+

string

+

Returns name of the block

+

Inherited from

+

LocalUtf8StringValueBlock.blockName

+ + \ No newline at end of file diff --git a/docs/api/classes/ValueBlock/index.html b/docs/api/classes/ValueBlock/index.html new file mode 100644 index 0000000..ebd8dc0 --- /dev/null +++ b/docs/api/classes/ValueBlock/index.html @@ -0,0 +1,125 @@ + + + + + +Class: ValueBlock | asn1js + + + + +

Class: ValueBlock

Hierarchy

+
    +
  • +

    LocalBaseBlock

    +

    ValueBlock

    +
  • +
+

Implements

+ +

Constructors

+

constructor

+

new ValueBlock(param0?): ValueBlock

+

Creates and initializes an object instance of that class

+

Parameters

+
NameTypeDescription
param0LocalBaseBlockParamsInitialization parameters
+

Returns

+

ValueBlock

+

Inherited from

+

internals.LocalBaseBlock.constructor

+

Properties

+

blockLength

+

blockLength: number

+

Implementation of

+

IValueBlock.blockLength

+

Inherited from

+

internals.LocalBaseBlock.blockLength

+
+

error

+

error: string

+

Implementation of

+

IValueBlock.error

+

Inherited from

+

internals.LocalBaseBlock.error

+
+

valueBeforeDecodeView

+

valueBeforeDecodeView: Uint8Array

+

Since

+

3.0.0

+

Inherited from

+

internals.LocalBaseBlock.valueBeforeDecodeView

+
+

warnings

+

warnings: string[]

+

Implementation of

+

IValueBlock.warnings

+

Inherited from

+

internals.LocalBaseBlock.warnings

+
+

NAME

+

Static NAME: string = "valueBlock"

+

Overrides

+

internals.LocalBaseBlock.NAME

+

Accessors

+

valueBeforeDecode

+

get valueBeforeDecode(): ArrayBuffer

+

Returns

+

ArrayBuffer

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

internals.LocalBaseBlock.valueBeforeDecode

+

set valueBeforeDecode(value): void

+

Parameters

+
NameType
valueArrayBuffer
+

Returns

+

void

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

internals.LocalBaseBlock.valueBeforeDecode

+

Methods

+

fromBER

+

fromBER(inputBuffer, inputOffset, inputLength): number

+

Base function for converting block from BER encoded array of bytes

+

Parameters

+
NameTypeDescription
inputBufferUint8Array | ArrayBufferASN.1 BER encoded array
inputOffsetnumberOffset in ASN.1 BER encoded array where decoding should be started
inputLengthnumberMaximum length of array of bytes which can be using in this function
+

Returns

+

number

+

Offset after least decoded byte

+

Implementation of

+

IBerConvertible.fromBER

+
+

toBER

+

toBER(sizeOnly?, writer?): ArrayBuffer

+

Encoding of current ASN.1 block into ASN.1 encoded array (BER rules)

+

Parameters

+
NameTypeDescription
sizeOnly?booleanFlag that we need only a size of encoding, not a real array of bytes
writer?ViewWriter-
+

Returns

+

ArrayBuffer

+

ASN.1 BER encoded array

+

Implementation of

+

IBerConvertible.toBER

+
+

toJSON

+

toJSON(): LocalBaseBlockJson

+

Returns a JSON representation of an object

+

Returns

+

LocalBaseBlockJson

+

JSON object

+

Inherited from

+

internals.LocalBaseBlock.toJSON

+
+

blockName

+

blockName(): string

+

Aux function, need to get a block name. Need to have it here for inheritance

+

Returns

+

string

+

Returns name of the block

+

Inherited from

+

internals.LocalBaseBlock.blockName

+ + \ No newline at end of file diff --git a/docs/api/classes/VideotexString/index.html b/docs/api/classes/VideotexString/index.html new file mode 100644 index 0000000..2ea1421 --- /dev/null +++ b/docs/api/classes/VideotexString/index.html @@ -0,0 +1,203 @@ + + + + + +Class: VideotexString | asn1js + + + + +

Class: VideotexString

Hierarchy

+
    +
  • +

    LocalSimpleStringBlock

    +

    VideotexString

    +
  • +
+

Constructors

+

constructor

+

new VideotexString(parameters?): VideotexString

+

Parameters

+
NameType
parametersLocalSimpleStringBlockParams
+

Returns

+

VideotexString

+

Overrides

+

LocalSimpleStringBlock.constructor

+

Properties

+

blockLength

+

blockLength: number

+

Inherited from

+

LocalSimpleStringBlock.blockLength

+
+

error

+

error: string

+

Inherited from

+

LocalSimpleStringBlock.error

+
+

idBlock

+

idBlock: LocalIdentificationBlock

+

Inherited from

+

LocalSimpleStringBlock.idBlock

+
+

lenBlock

+

lenBlock: LocalLengthBlock

+

Inherited from

+

LocalSimpleStringBlock.lenBlock

+
+

name

+

name: string

+

Inherited from

+

LocalSimpleStringBlock.name

+
+

optional

+

optional: boolean

+

Inherited from

+

LocalSimpleStringBlock.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlock<ValueBlock, LocalBaseBlockJson>

+

Inherited from

+

LocalSimpleStringBlock.primitiveSchema

+
+

valueBeforeDecodeView

+

valueBeforeDecodeView: Uint8Array

+

Since

+

3.0.0

+

Inherited from

+

LocalSimpleStringBlock.valueBeforeDecodeView

+
+

valueBlock

+

valueBlock: LocalSimpleStringValueBlock

+

Inherited from

+

LocalSimpleStringBlock.valueBlock

+
+

warnings

+

warnings: string[]

+

Inherited from

+

LocalSimpleStringBlock.warnings

+
+

NAME

+

Static NAME: string = "VideotexString"

+

Overrides

+

LocalSimpleStringBlock.NAME

+

Accessors

+

valueBeforeDecode

+

get valueBeforeDecode(): ArrayBuffer

+

Returns

+

ArrayBuffer

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

LocalSimpleStringBlock.valueBeforeDecode

+

set valueBeforeDecode(value): void

+

Parameters

+
NameType
valueArrayBuffer
+

Returns

+

void

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

LocalSimpleStringBlock.valueBeforeDecode

+

Methods

+

fromBER

+

fromBER(inputBuffer, inputOffset, inputLength): number

+

Parameters

+
NameType
inputBufferUint8Array | ArrayBuffer
inputOffsetnumber
inputLengthnumber
+

Returns

+

number

+

Inherited from

+

LocalSimpleStringBlock.fromBER

+
+

fromBuffer

+

fromBuffer(inputBuffer): void

+

Parameters

+
NameType
inputBufferUint8Array | ArrayBuffer
+

Returns

+

void

+

Inherited from

+

LocalSimpleStringBlock.fromBuffer

+
+

fromString

+

fromString(inputString): void

+

Parameters

+
NameType
inputStringstring
+

Returns

+

void

+

Inherited from

+

LocalSimpleStringBlock.fromString

+
+

getValue

+

getValue(): string

+

String value

+

Returns

+

string

+

Since

+

3.0.0

+

Inherited from

+

LocalSimpleStringBlock.getValue

+
+

isEqual

+

isEqual(other): other is VideotexString

+

Determines whether two object instances are equal

+

Parameters

+
NameTypeDescription
otherunknownObject to compare with the current object
+

Returns

+

other is VideotexString

+

Inherited from

+

LocalSimpleStringBlock.isEqual

+
+

onAsciiEncoding

+

onAsciiEncoding(): string

+

Returns

+

string

+

Inherited from

+

LocalSimpleStringBlock.onAsciiEncoding

+
+

setValue

+

setValue(value): void

+

String value

+

Parameters

+
NameTypeDescription
valuestringString value
+

Returns

+

void

+

Since

+

3.0.0

+

Inherited from

+

LocalSimpleStringBlock.setValue

+
+

toBER

+

toBER(sizeOnly?, writer?): ArrayBuffer

+

Parameters

+
NameType
sizeOnly?boolean
writer?ViewWriter
+

Returns

+

ArrayBuffer

+

Inherited from

+

LocalSimpleStringBlock.toBER

+
+

toJSON

+

toJSON(): BaseBlockJson<LocalStringValueBlockJson>

+

Returns

+

BaseBlockJson<LocalStringValueBlockJson>

+

Inherited from

+

LocalSimpleStringBlock.toJSON

+
+

toString

+

toString(encoding?): string

+

Parameters

+
NameTypeDefault value
encodingStringEncoding"ascii"
+

Returns

+

string

+

Inherited from

+

LocalSimpleStringBlock.toString

+
+

blockName

+

blockName(): string

+

Aux function, need to get a block name. Need to have it here for inheritance

+

Returns

+

string

+

Returns name of the block

+

Inherited from

+

LocalSimpleStringBlock.blockName

+ + \ No newline at end of file diff --git a/docs/api/classes/ViewWriter/index.html b/docs/api/classes/ViewWriter/index.html new file mode 100644 index 0000000..7e18e9c --- /dev/null +++ b/docs/api/classes/ViewWriter/index.html @@ -0,0 +1,35 @@ + + + + + +Class: ViewWriter | asn1js + + + + + + + \ No newline at end of file diff --git a/docs/api/classes/VisibleString/index.html b/docs/api/classes/VisibleString/index.html new file mode 100644 index 0000000..49f325b --- /dev/null +++ b/docs/api/classes/VisibleString/index.html @@ -0,0 +1,204 @@ + + + + + +Class: VisibleString | asn1js + + + + +

Class: VisibleString

Hierarchy

+
    +
  • +

    LocalSimpleStringBlock

    +

    VisibleString

    +

    ↳↳ UTCTime

    +
  • +
+

Constructors

+

constructor

+

new VisibleString(parameters?): VisibleString

+

Parameters

+
NameType
parametersLocalSimpleStringBlockParams
+

Returns

+

VisibleString

+

Overrides

+

LocalSimpleStringBlock.constructor

+

Properties

+

blockLength

+

blockLength: number

+

Inherited from

+

LocalSimpleStringBlock.blockLength

+
+

error

+

error: string

+

Inherited from

+

LocalSimpleStringBlock.error

+
+

idBlock

+

idBlock: LocalIdentificationBlock

+

Inherited from

+

LocalSimpleStringBlock.idBlock

+
+

lenBlock

+

lenBlock: LocalLengthBlock

+

Inherited from

+

LocalSimpleStringBlock.lenBlock

+
+

name

+

name: string

+

Inherited from

+

LocalSimpleStringBlock.name

+
+

optional

+

optional: boolean

+

Inherited from

+

LocalSimpleStringBlock.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlock<ValueBlock, LocalBaseBlockJson>

+

Inherited from

+

LocalSimpleStringBlock.primitiveSchema

+
+

valueBeforeDecodeView

+

valueBeforeDecodeView: Uint8Array

+

Since

+

3.0.0

+

Inherited from

+

LocalSimpleStringBlock.valueBeforeDecodeView

+
+

valueBlock

+

valueBlock: LocalSimpleStringValueBlock

+

Inherited from

+

LocalSimpleStringBlock.valueBlock

+
+

warnings

+

warnings: string[]

+

Inherited from

+

LocalSimpleStringBlock.warnings

+
+

NAME

+

Static NAME: string = "VisibleString"

+

Overrides

+

LocalSimpleStringBlock.NAME

+

Accessors

+

valueBeforeDecode

+

get valueBeforeDecode(): ArrayBuffer

+

Returns

+

ArrayBuffer

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

LocalSimpleStringBlock.valueBeforeDecode

+

set valueBeforeDecode(value): void

+

Parameters

+
NameType
valueArrayBuffer
+

Returns

+

void

+

Deprecated

+

since version 3.0.0

+

Inherited from

+

LocalSimpleStringBlock.valueBeforeDecode

+

Methods

+

fromBER

+

fromBER(inputBuffer, inputOffset, inputLength): number

+

Parameters

+
NameType
inputBufferUint8Array | ArrayBuffer
inputOffsetnumber
inputLengthnumber
+

Returns

+

number

+

Inherited from

+

LocalSimpleStringBlock.fromBER

+
+

fromBuffer

+

fromBuffer(inputBuffer): void

+

Parameters

+
NameType
inputBufferUint8Array | ArrayBuffer
+

Returns

+

void

+

Inherited from

+

LocalSimpleStringBlock.fromBuffer

+
+

fromString

+

fromString(inputString): void

+

Parameters

+
NameType
inputStringstring
+

Returns

+

void

+

Inherited from

+

LocalSimpleStringBlock.fromString

+
+

getValue

+

getValue(): string

+

String value

+

Returns

+

string

+

Since

+

3.0.0

+

Inherited from

+

LocalSimpleStringBlock.getValue

+
+

isEqual

+

isEqual(other): other is VisibleString

+

Determines whether two object instances are equal

+

Parameters

+
NameTypeDescription
otherunknownObject to compare with the current object
+

Returns

+

other is VisibleString

+

Inherited from

+

LocalSimpleStringBlock.isEqual

+
+

onAsciiEncoding

+

onAsciiEncoding(): string

+

Returns

+

string

+

Inherited from

+

LocalSimpleStringBlock.onAsciiEncoding

+
+

setValue

+

setValue(value): void

+

String value

+

Parameters

+
NameTypeDescription
valuestringString value
+

Returns

+

void

+

Since

+

3.0.0

+

Inherited from

+

LocalSimpleStringBlock.setValue

+
+

toBER

+

toBER(sizeOnly?, writer?): ArrayBuffer

+

Parameters

+
NameType
sizeOnly?boolean
writer?ViewWriter
+

Returns

+

ArrayBuffer

+

Inherited from

+

LocalSimpleStringBlock.toBER

+
+

toJSON

+

toJSON(): BaseBlockJson<LocalStringValueBlockJson>

+

Returns

+

BaseBlockJson<LocalStringValueBlockJson>

+

Inherited from

+

LocalSimpleStringBlock.toJSON

+
+

toString

+

toString(encoding?): string

+

Parameters

+
NameTypeDefault value
encodingStringEncoding"ascii"
+

Returns

+

string

+

Inherited from

+

LocalSimpleStringBlock.toString

+
+

blockName

+

blockName(): string

+

Aux function, need to get a block name. Need to have it here for inheritance

+

Returns

+

string

+

Returns name of the block

+

Inherited from

+

LocalSimpleStringBlock.blockName

+ + \ No newline at end of file diff --git a/docs/api/index.html b/docs/api/index.html new file mode 100644 index 0000000..2dc1b89 --- /dev/null +++ b/docs/api/index.html @@ -0,0 +1,319 @@ + + + + + +asn1js | asn1js + + + + +

asn1js

Classes

+ +

Interfaces

+ +

Type Aliases

+

AnyParams

+

Ƭ AnyParams: Partial<IAny>

+
+

AsnSchemaType

+

Ƭ AsnSchemaType: AsnType | Any | Choice | Repeated

+
+

AsnType

+

Ƭ AsnType: BaseBlock | EndOfContent | Boolean | Integer | BitString | OctetString | Null | ObjectIdentifier | Enumerated | Utf8String | RelativeObjectIdentifier | TIME | Sequence | Set | NumericString | PrintableString | TeletexString | VideotexString | IA5String | UTCTime | GeneralizedTime | GraphicString | VisibleString | GeneralString | UniversalString | CharacterString | BmpString | DATE | TimeOfDay | DateTime | Duration | Constructed | Primitive

+
+

BaseStringBlockJson

+

Ƭ BaseStringBlockJson: LocalStringValueBlockJson

+
+

BitStringJson

+

Ƭ BitStringJson: BaseBlockJson<LocalBitStringValueBlockJson>

+
+

BmpStringJson

+

Ƭ BmpStringJson: LocalBmpStringValueBlockJson

+
+

BmpStringParams

+

Ƭ BmpStringParams: LocalBmpStringValueBlockParams

+
+

BooleanJson

+

Ƭ BooleanJson: BaseBlockJson<LocalBooleanValueBlockJson>

+
+

CharacterStringJson

+

Ƭ CharacterStringJson: LocalSimpleStringBlockJson

+
+

CharacterStringParams

+

Ƭ CharacterStringParams: LocalSimpleStringBlockParams

+
+

ChoiceParams

+

Ƭ ChoiceParams: Partial<IChoice>

+
+

CompareSchemaResult

+

Ƭ CompareSchemaResult: CompareSchemaSuccess | CompareSchemaFail

+
+

ConstructedJson

+

Ƭ ConstructedJson: BaseBlockJson<LocalConstructedValueBlockJson>

+
+

DATEJson

+

Ƭ DATEJson: Utf8StringJson

+
+

DATEParams

+

Ƭ DATEParams: Utf8StringParams

+
+

DateStringEncoding

+

Ƭ DateStringEncoding: StringEncoding | "iso"

+
+

DateTimeJson

+

Ƭ DateTimeJson: Utf8StringJson

+
+

DateTimeParams

+

Ƭ DateTimeParams: Utf8StringParams

+
+

DurationJson

+

Ƭ DurationJson: Utf8StringJson

+
+

DurationParams

+

Ƭ DurationParams: Utf8StringParams

+
+

EndOfContentJson

+

Ƭ EndOfContentJson: BaseBlockJson

+
+

EndOfContentParams

+

Ƭ EndOfContentParams: BaseBlockParams

+
+

EnumeratedJson

+

Ƭ EnumeratedJson: IntegerJson

+
+

EnumeratedParams

+

Ƭ EnumeratedParams: IntegerParams

+
+

GeneralStringJson

+

Ƭ GeneralStringJson: LocalSimpleStringBlockJson

+
+

GeneralStringParams

+

Ƭ GeneralStringParams: LocalSimpleStringBlockParams

+
+

GeneralizedTimeParams

+

Ƭ GeneralizedTimeParams: UTCTimeParams

+
+

GraphicStringJson

+

Ƭ GraphicStringJson: LocalSimpleStringBlockJson

+
+

GraphicStringParams

+

Ƭ GraphicStringParams: LocalSimpleStringBlockParams

+
+

HexBlockParams

+

Ƭ HexBlockParams: Partial<IHexBlock>

+
+

IA5StringJson

+

Ƭ IA5StringJson: LocalSimpleStringBlockJson

+
+

IA5StringParams

+

Ƭ IA5StringParams: LocalSimpleStringBlockParams

+
+

IValueBlock

+

Ƭ IValueBlock: internals.ILocalBaseBlock

+
+

IntegerJson

+

Ƭ IntegerJson: BaseBlockJson<LocalIntegerValueBlockJson>

+
+

NullJson

+

Ƭ NullJson: BaseBlockJson<ValueBlockJson>

+
+

NullParams

+

Ƭ NullParams: BaseBlockParams

+
+

NumericStringJson

+

Ƭ NumericStringJson: LocalSimpleStringBlockJson

+
+

NumericStringParams

+

Ƭ NumericStringParams: LocalSimpleStringBlockParams

+
+

OctetStringJson

+

Ƭ OctetStringJson: BaseBlockJson<LocalOctetStringValueBlockJson>

+
+

PrimitiveJson

+

Ƭ PrimitiveJson: BaseBlockJson<LocalPrimitiveValueBlockJson>

+
+

PrintableStringJson

+

Ƭ PrintableStringJson: LocalSimpleStringBlockJson

+
+

PrintableStringParams

+

Ƭ PrintableStringParams: LocalSimpleStringBlockParams

+
+

RawDataParams

+

Ƭ RawDataParams: Partial<IRawData>

+
+

RepeatedParams

+

Ƭ RepeatedParams: Partial<IRepeated>

+
+

SequenceJson

+

Ƭ SequenceJson: ConstructedJson

+
+

SequenceParams

+

Ƭ SequenceParams: ConstructedParams

+
+

SetJson

+

Ƭ SetJson: ConstructedJson

+
+

SetParams

+

Ƭ SetParams: ConstructedParams

+
+

StringEncoding

+

Ƭ StringEncoding: "ascii" | "hex"

+
+

TIMEJson

+

Ƭ TIMEJson: Utf8StringJson

+
+

TIMEParams

+

Ƭ TIMEParams: Utf8StringParams

+
+

TeletexStringJson

+

Ƭ TeletexStringJson: LocalSimpleStringBlockJson

+
+

TeletexStringParams

+

Ƭ TeletexStringParams: LocalSimpleStringBlockParams

+
+

TimeOfDayJson

+

Ƭ TimeOfDayJson: Utf8StringJson

+
+

TimeOfDayParams

+

Ƭ TimeOfDayParams: Utf8StringParams

+
+

UniversalStringJson

+

Ƭ UniversalStringJson: LocalUniversalStringValueBlockJson

+
+

UniversalStringParams

+

Ƭ UniversalStringParams: LocalUniversalStringValueBlockParams

+
+

Utf8StringJson

+

Ƭ Utf8StringJson: BaseBlockJson<LocalUtf8StringValueBlockJson>

+
+

ValueBlockJson

+

Ƭ ValueBlockJson: internals.LocalBaseBlockJson

+
+

ValueBlockParams

+

Ƭ ValueBlockParams: internals.LocalBaseBlockParams

+
+

VideotexStringJson

+

Ƭ VideotexStringJson: LocalSimpleStringBlockJson

+
+

VideotexStringParams

+

Ƭ VideotexStringParams: LocalSimpleStringBlockParams

+
+

VisibleStringJson

+

Ƭ VisibleStringJson: LocalSimpleStringBlockJson

+
+

VisibleStringParams

+

Ƭ VisibleStringParams: LocalSimpleStringBlockParams

+

Functions

+

HexBlock

+

HexBlock<T>(BaseClass): (...args: any[]) => Some<T> & T

+

Class used as a base block for all remaining ASN.1 classes

+

Type parameters

+
NameType
Textends LocalBaseBlockConstructor<LocalBaseBlock>
+

Parameters

+
NameType
BaseClassT
+

Returns

+

(...args: any[]) => Some<T> & T

+
+

compareSchema

+

compareSchema(root, inputData, inputSchema): CompareSchemaResult

+

Compare of two ASN.1 object trees

+

Parameters

+
NameTypeDescription
rootAsnTypeRoot of input ASN.1 object tree
inputDataAsnTypeInput ASN.1 object tree
inputSchemaAsnSchemaTypeInput ASN.1 schema to compare with
+

Returns

+

CompareSchemaResult

+

Returns result of comparison

+
+

fromBER

+

fromBER(inputBuffer): FromBerResult

+

Major function for decoding ASN.1 BER array into internal library structures

+

Parameters

+
NameTypeDescription
inputBufferBufferSourceASN.1 BER encoded array of bytes
+

Returns

+

FromBerResult

+
+

verifySchema

+

verifySchema(inputBuffer, inputSchema): CompareSchemaResult

+

ASN.1 schema verification for ArrayBuffer data

+

Parameters

+
NameTypeDescription
inputBufferBufferSourceInput BER-encoded ASN.1 data
inputSchemaAsnSchemaTypeInput ASN.1 schema to verify against to
+

Returns

+

CompareSchemaResult

+ + \ No newline at end of file diff --git a/docs/api/interfaces/BaseBlockJson/index.html b/docs/api/interfaces/BaseBlockJson/index.html new file mode 100644 index 0000000..3738521 --- /dev/null +++ b/docs/api/interfaces/BaseBlockJson/index.html @@ -0,0 +1,74 @@ + + + + + +Interface: BaseBlockJson<T> | asn1js + + + + +

Interface: BaseBlockJson<T>

Type parameters

+
NameType
Textends LocalBaseBlockJson = LocalBaseBlockJson
+

Hierarchy

+ +

Properties

+

blockLength

+

blockLength: number

+

Inherited from

+

LocalBaseBlockJson.blockLength

+
+

blockName

+

blockName: string

+

Inherited from

+

LocalBaseBlockJson.blockName

+
+

error

+

error: string

+

Inherited from

+

LocalBaseBlockJson.error

+
+

idBlock

+

idBlock: LocalIdentificationBlockJson

+
+

lenBlock

+

lenBlock: LocalLengthBlockJson

+
+

name

+

name: string

+

Inherited from

+

Omit.name

+
+

optional

+

optional: boolean

+

Inherited from

+

Omit.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlockJson<LocalBaseBlockJson>

+
+

valueBeforeDecode

+

valueBeforeDecode: string

+

Inherited from

+

LocalBaseBlockJson.valueBeforeDecode

+
+

valueBlock

+

valueBlock: T

+
+

warnings

+

warnings: string[]

+

Inherited from

+

LocalBaseBlockJson.warnings

+ + \ No newline at end of file diff --git a/docs/api/interfaces/BaseBlockParams/index.html b/docs/api/interfaces/BaseBlockParams/index.html new file mode 100644 index 0000000..0a76d29 --- /dev/null +++ b/docs/api/interfaces/BaseBlockParams/index.html @@ -0,0 +1,82 @@ + + + + + +Interface: BaseBlockParams | asn1js + + + + +

Interface: BaseBlockParams

Hierarchy

+ +

Properties

+

blockLength

+

Optional blockLength: number

+

Inherited from

+

LocalBaseBlockParams.blockLength

+
+

error

+

Optional error: string

+

Inherited from

+

LocalBaseBlockParams.error

+
+

idBlock

+

Optional idBlock: Partial<ILocalIdentificationBlock> & Partial<IHexBlock>

+

Inherited from

+

LocalIdentificationBlockParams.idBlock

+
+

lenBlock

+

Optional lenBlock: Partial<ILocalLengthBlock>

+

Inherited from

+

LocalLengthBlockParams.lenBlock

+
+

name

+

Optional name: string

+

Inherited from

+

Partial.name

+
+

optional

+

Optional optional: boolean

+

Inherited from

+

Partial.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlock<ValueBlock, LocalBaseBlockJson>

+

Inherited from

+

Partial.primitiveSchema

+
+

valueBeforeDecode

+

Optional valueBeforeDecode: BufferSource

+

Inherited from

+

LocalBaseBlockParams.valueBeforeDecode

+
+

warnings

+

Optional warnings: string[]

+

Inherited from

+

LocalBaseBlockParams.warnings

+ + \ No newline at end of file diff --git a/docs/api/interfaces/BaseStringBlockParams/index.html b/docs/api/interfaces/BaseStringBlockParams/index.html new file mode 100644 index 0000000..d8aa4e6 --- /dev/null +++ b/docs/api/interfaces/BaseStringBlockParams/index.html @@ -0,0 +1,78 @@ + + + + + +Interface: BaseStringBlockParams | asn1js + + + + +

Interface: BaseStringBlockParams

Hierarchy

+ +

Properties

+

blockLength

+

Optional blockLength: number

+

Inherited from

+

BaseBlockParams.blockLength

+
+

error

+

Optional error: string

+

Inherited from

+

BaseBlockParams.error

+
+

idBlock

+

Optional idBlock: Partial<ILocalIdentificationBlock> & Partial<IHexBlock>

+

Inherited from

+

BaseBlockParams.idBlock

+
+

lenBlock

+

Optional lenBlock: Partial<ILocalLengthBlock>

+

Inherited from

+

BaseBlockParams.lenBlock

+
+

name

+

Optional name: string

+

Inherited from

+

BaseBlockParams.name

+
+

optional

+

Optional optional: boolean

+

Inherited from

+

BaseBlockParams.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlock<ValueBlock, LocalBaseBlockJson>

+

Inherited from

+

BaseBlockParams.primitiveSchema

+
+

value

+

Optional value: string

+

Inherited from

+

LocalStringValueBlockParams.value

+
+

valueBeforeDecode

+

Optional valueBeforeDecode: BufferSource

+

Inherited from

+

BaseBlockParams.valueBeforeDecode

+
+

valueHex

+

Optional valueHex: BufferSource

+

Inherited from

+

LocalStringValueBlockParams.valueHex

+
+

warnings

+

Optional warnings: string[]

+

Inherited from

+

BaseBlockParams.warnings

+ + \ No newline at end of file diff --git a/docs/api/interfaces/BitStringParams/index.html b/docs/api/interfaces/BitStringParams/index.html new file mode 100644 index 0000000..19417b1 --- /dev/null +++ b/docs/api/interfaces/BitStringParams/index.html @@ -0,0 +1,97 @@ + + + + + +Interface: BitStringParams | asn1js + + + + +

Interface: BitStringParams

Hierarchy

+
    +
  • +

    BaseBlockParams

    +
  • +
  • +

    LocalBitStringValueBlockParams

    +

    BitStringParams

    +
  • +
+

Properties

+

blockLength

+

Optional blockLength: number

+

Inherited from

+

BaseBlockParams.blockLength

+
+

error

+

Optional error: string

+

Inherited from

+

BaseBlockParams.error

+
+

idBlock

+

Optional idBlock: Partial<ILocalIdentificationBlock> & Partial<IHexBlock>

+

Inherited from

+

BaseBlockParams.idBlock

+
+

isConstructed

+

Optional isConstructed: boolean

+

Inherited from

+

LocalBitStringValueBlockParams.isConstructed

+
+

isHexOnly

+

Optional isHexOnly: boolean

+

Inherited from

+

LocalBitStringValueBlockParams.isHexOnly

+
+

isIndefiniteForm

+

Optional isIndefiniteForm: boolean

+

Inherited from

+

LocalBitStringValueBlockParams.isIndefiniteForm

+
+

lenBlock

+

Optional lenBlock: Partial<ILocalLengthBlock>

+

Inherited from

+

BaseBlockParams.lenBlock

+
+

name

+

Optional name: string

+

Inherited from

+

BaseBlockParams.name

+
+

optional

+

Optional optional: boolean

+

Inherited from

+

BaseBlockParams.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlock<ValueBlock, LocalBaseBlockJson>

+

Inherited from

+

BaseBlockParams.primitiveSchema

+
+

unusedBits

+

Optional unusedBits: number

+

Inherited from

+

LocalBitStringValueBlockParams.unusedBits

+
+

value

+

Optional value: BitString[]

+

Inherited from

+

LocalBitStringValueBlockParams.value

+
+

valueBeforeDecode

+

Optional valueBeforeDecode: BufferSource

+

Inherited from

+

BaseBlockParams.valueBeforeDecode

+
+

valueHex

+

Optional valueHex: BufferSource

+

Inherited from

+

LocalBitStringValueBlockParams.valueHex

+
+

warnings

+

Optional warnings: string[]

+

Inherited from

+

BaseBlockParams.warnings

+ + \ No newline at end of file diff --git a/docs/api/interfaces/BooleanParams/index.html b/docs/api/interfaces/BooleanParams/index.html new file mode 100644 index 0000000..a2c7f37 --- /dev/null +++ b/docs/api/interfaces/BooleanParams/index.html @@ -0,0 +1,82 @@ + + + + + +Interface: BooleanParams | asn1js + + + + +

Interface: BooleanParams

Hierarchy

+
    +
  • +

    BaseBlockParams

    +
  • +
  • +

    LocalBooleanValueBlockParams

    +

    BooleanParams

    +
  • +
+

Properties

+

blockLength

+

Optional blockLength: number

+

Inherited from

+

BaseBlockParams.blockLength

+
+

error

+

Optional error: string

+

Inherited from

+

BaseBlockParams.error

+
+

idBlock

+

Optional idBlock: Partial<ILocalIdentificationBlock> & Partial<IHexBlock>

+

Inherited from

+

BaseBlockParams.idBlock

+
+

isHexOnly

+

Optional isHexOnly: boolean

+

Inherited from

+

LocalBooleanValueBlockParams.isHexOnly

+
+

lenBlock

+

Optional lenBlock: Partial<ILocalLengthBlock>

+

Inherited from

+

BaseBlockParams.lenBlock

+
+

name

+

Optional name: string

+

Inherited from

+

BaseBlockParams.name

+
+

optional

+

Optional optional: boolean

+

Inherited from

+

BaseBlockParams.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlock<ValueBlock, LocalBaseBlockJson>

+

Inherited from

+

BaseBlockParams.primitiveSchema

+
+

value

+

Optional value: boolean

+

Inherited from

+

LocalBooleanValueBlockParams.value

+
+

valueBeforeDecode

+

Optional valueBeforeDecode: BufferSource

+

Inherited from

+

BaseBlockParams.valueBeforeDecode

+
+

valueHex

+

Optional valueHex: BufferSource

+

Inherited from

+

LocalBooleanValueBlockParams.valueHex

+
+

warnings

+

Optional warnings: string[]

+

Inherited from

+

BaseBlockParams.warnings

+ + \ No newline at end of file diff --git a/docs/api/interfaces/CompareSchemaFail/index.html b/docs/api/interfaces/CompareSchemaFail/index.html new file mode 100644 index 0000000..87067b2 --- /dev/null +++ b/docs/api/interfaces/CompareSchemaFail/index.html @@ -0,0 +1,21 @@ + + + + + +Interface: CompareSchemaFail | asn1js + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/CompareSchemaSuccess/index.html b/docs/api/interfaces/CompareSchemaSuccess/index.html new file mode 100644 index 0000000..8bb214e --- /dev/null +++ b/docs/api/interfaces/CompareSchemaSuccess/index.html @@ -0,0 +1,18 @@ + + + + + +Interface: CompareSchemaSuccess | asn1js + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/ConstructedParams/index.html b/docs/api/interfaces/ConstructedParams/index.html new file mode 100644 index 0000000..87c811c --- /dev/null +++ b/docs/api/interfaces/ConstructedParams/index.html @@ -0,0 +1,77 @@ + + + + + +Interface: ConstructedParams | asn1js + + + + +

Interface: ConstructedParams

Hierarchy

+
    +
  • +

    BaseBlockParams

    +
  • +
  • +

    LocalConstructedValueBlockParams

    +

    ConstructedParams

    +
  • +
+

Properties

+

blockLength

+

Optional blockLength: number

+

Inherited from

+

BaseBlockParams.blockLength

+
+

error

+

Optional error: string

+

Inherited from

+

BaseBlockParams.error

+
+

idBlock

+

Optional idBlock: Partial<ILocalIdentificationBlock> & Partial<IHexBlock>

+

Inherited from

+

BaseBlockParams.idBlock

+
+

isIndefiniteForm

+

Optional isIndefiniteForm: boolean

+

Inherited from

+

LocalConstructedValueBlockParams.isIndefiniteForm

+
+

lenBlock

+

Optional lenBlock: Partial<ILocalLengthBlock>

+

Inherited from

+

BaseBlockParams.lenBlock

+
+

name

+

Optional name: string

+

Inherited from

+

BaseBlockParams.name

+
+

optional

+

Optional optional: boolean

+

Inherited from

+

BaseBlockParams.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlock<ValueBlock, LocalBaseBlockJson>

+

Inherited from

+

BaseBlockParams.primitiveSchema

+
+

value

+

Optional value: ConstructedItem[]

+

Inherited from

+

LocalConstructedValueBlockParams.value

+
+

valueBeforeDecode

+

Optional valueBeforeDecode: BufferSource

+

Inherited from

+

BaseBlockParams.valueBeforeDecode

+
+

warnings

+

Optional warnings: string[]

+

Inherited from

+

BaseBlockParams.warnings

+ + \ No newline at end of file diff --git a/docs/api/interfaces/FromBerResult/index.html b/docs/api/interfaces/FromBerResult/index.html new file mode 100644 index 0000000..c790060 --- /dev/null +++ b/docs/api/interfaces/FromBerResult/index.html @@ -0,0 +1,18 @@ + + + + + +Interface: FromBerResult | asn1js + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/GeneralizedTimeJson/index.html b/docs/api/interfaces/GeneralizedTimeJson/index.html new file mode 100644 index 0000000..8221198 --- /dev/null +++ b/docs/api/interfaces/GeneralizedTimeJson/index.html @@ -0,0 +1,107 @@ + + + + + +Interface: GeneralizedTimeJson | asn1js + + + + +

Interface: GeneralizedTimeJson

Hierarchy

+ +

Properties

+

blockLength

+

blockLength: number

+

Inherited from

+

UTCTimeJson.blockLength

+
+

blockName

+

blockName: string

+

Inherited from

+

UTCTimeJson.blockName

+
+

day

+

day: number

+

Inherited from

+

UTCTimeJson.day

+
+

error

+

error: string

+

Inherited from

+

UTCTimeJson.error

+
+

hour

+

hour: number

+

Inherited from

+

UTCTimeJson.hour

+
+

idBlock

+

idBlock: LocalIdentificationBlockJson

+

Inherited from

+

UTCTimeJson.idBlock

+
+

lenBlock

+

lenBlock: LocalLengthBlockJson

+

Inherited from

+

UTCTimeJson.lenBlock

+
+

millisecond

+

millisecond: number

+
+

minute

+

minute: number

+

Inherited from

+

UTCTimeJson.minute

+
+

month

+

month: number

+

Inherited from

+

UTCTimeJson.month

+
+

name

+

name: string

+

Inherited from

+

UTCTimeJson.name

+
+

optional

+

optional: boolean

+

Inherited from

+

UTCTimeJson.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlockJson<LocalBaseBlockJson>

+

Inherited from

+

UTCTimeJson.primitiveSchema

+
+

second

+

second: number

+

Inherited from

+

UTCTimeJson.second

+
+

valueBeforeDecode

+

valueBeforeDecode: string

+

Inherited from

+

UTCTimeJson.valueBeforeDecode

+
+

valueBlock

+

valueBlock: LocalStringValueBlockJson

+

Inherited from

+

UTCTimeJson.valueBlock

+
+

warnings

+

warnings: string[]

+

Inherited from

+

UTCTimeJson.warnings

+
+

year

+

year: number

+

Inherited from

+

UTCTimeJson.year

+ + \ No newline at end of file diff --git a/docs/api/interfaces/HexBlockJson/index.html b/docs/api/interfaces/HexBlockJson/index.html new file mode 100644 index 0000000..b55aace --- /dev/null +++ b/docs/api/interfaces/HexBlockJson/index.html @@ -0,0 +1,27 @@ + + + + + +Interface: HexBlockJson | asn1js + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/IAny/index.html b/docs/api/interfaces/IAny/index.html new file mode 100644 index 0000000..77fc54e --- /dev/null +++ b/docs/api/interfaces/IAny/index.html @@ -0,0 +1,30 @@ + + + + + +Interface: IAny | asn1js + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/IBaseBlock/index.html b/docs/api/interfaces/IBaseBlock/index.html new file mode 100644 index 0000000..288bb68 --- /dev/null +++ b/docs/api/interfaces/IBaseBlock/index.html @@ -0,0 +1,25 @@ + + + + + +Interface: IBaseBlock | asn1js + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/IBerConvertible/index.html b/docs/api/interfaces/IBerConvertible/index.html new file mode 100644 index 0000000..8275c6e --- /dev/null +++ b/docs/api/interfaces/IBerConvertible/index.html @@ -0,0 +1,36 @@ + + + + + +Interface: IBerConvertible | asn1js + + + + +

Interface: IBerConvertible

Implemented by

+ +

Methods

+

fromBER

+

fromBER(inputBuffer, inputOffset, inputLength): number

+

Base function for converting block from BER encoded array of bytes

+

Parameters

+
NameTypeDescription
inputBufferUint8Array | ArrayBufferASN.1 BER encoded array
inputOffsetnumberOffset in ASN.1 BER encoded array where decoding should be started
inputLengthnumberMaximum length of array of bytes which can be using in this function
+

Returns

+

number

+

Offset after least decoded byte

+
+

toBER

+

toBER(sizeOnly?): ArrayBuffer

+

Encoding of current ASN.1 block into ASN.1 encoded array (BER rules)

+

Parameters

+
NameTypeDescription
sizeOnly?booleanFlag that we need only a size of encoding, not a real array of bytes
+

Returns

+

ArrayBuffer

+

ASN.1 BER encoded array

+ + \ No newline at end of file diff --git a/docs/api/interfaces/IChoice/index.html b/docs/api/interfaces/IChoice/index.html new file mode 100644 index 0000000..d3461e9 --- /dev/null +++ b/docs/api/interfaces/IChoice/index.html @@ -0,0 +1,36 @@ + + + + + +Interface: IChoice | asn1js + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/IDateConvertible/index.html b/docs/api/interfaces/IDateConvertible/index.html new file mode 100644 index 0000000..2da655d --- /dev/null +++ b/docs/api/interfaces/IDateConvertible/index.html @@ -0,0 +1,31 @@ + + + + + +Interface: IDateConvertible | asn1js + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/IDerConvertible/index.html b/docs/api/interfaces/IDerConvertible/index.html new file mode 100644 index 0000000..bc62d83 --- /dev/null +++ b/docs/api/interfaces/IDerConvertible/index.html @@ -0,0 +1,30 @@ + + + + + +Interface: IDerConvertible | asn1js + + + + +

Interface: IDerConvertible

Methods

+

fromDER

+

fromDER(inputBuffer, inputOffset, inputLength, expectedLength?): number

+

Base function for converting block from DER encoded array of bytes

+

Parameters

+
NameTypeDescription
inputBufferArrayBufferASN.1 DER encoded array
inputOffsetnumberOffset in ASN.1 DER encoded array where decoding should be started
inputLengthnumberMaximum length of array of bytes which can be using in this function
expectedLength?numberExpected length of converted VALUE_HEX buffer
+

Returns

+

number

+

Offset after least decoded byte

+
+

toDER

+

toDER(sizeOnly?): ArrayBuffer

+

Encoding of current ASN.1 block into ASN.1 encoded array (DER rules)

+

Parameters

+
NameTypeDescription
sizeOnly?booleanFlag that we need only a size of encoding, not a real array of bytes
+

Returns

+

ArrayBuffer

+

ASN.1 DER encoded array

+ + \ No newline at end of file diff --git a/docs/api/interfaces/IGeneralizedTime/index.html b/docs/api/interfaces/IGeneralizedTime/index.html new file mode 100644 index 0000000..752822f --- /dev/null +++ b/docs/api/interfaces/IGeneralizedTime/index.html @@ -0,0 +1,52 @@ + + + + + +Interface: IGeneralizedTime | asn1js + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/IHexBlock/index.html b/docs/api/interfaces/IHexBlock/index.html new file mode 100644 index 0000000..30aeeb4 --- /dev/null +++ b/docs/api/interfaces/IHexBlock/index.html @@ -0,0 +1,18 @@ + + + + + +Interface: IHexBlock | asn1js + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/IRawData/index.html b/docs/api/interfaces/IRawData/index.html new file mode 100644 index 0000000..ce661cd --- /dev/null +++ b/docs/api/interfaces/IRawData/index.html @@ -0,0 +1,15 @@ + + + + + +Interface: IRawData | asn1js + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/IRepeated/index.html b/docs/api/interfaces/IRepeated/index.html new file mode 100644 index 0000000..b36d00e --- /dev/null +++ b/docs/api/interfaces/IRepeated/index.html @@ -0,0 +1,35 @@ + + + + + +Interface: IRepeated | asn1js + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/IStringConvertible/index.html b/docs/api/interfaces/IStringConvertible/index.html new file mode 100644 index 0000000..9326f03 --- /dev/null +++ b/docs/api/interfaces/IStringConvertible/index.html @@ -0,0 +1,31 @@ + + + + + +Interface: IStringConvertible | asn1js + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/IUTCTime/index.html b/docs/api/interfaces/IUTCTime/index.html new file mode 100644 index 0000000..400f7df --- /dev/null +++ b/docs/api/interfaces/IUTCTime/index.html @@ -0,0 +1,42 @@ + + + + + +Interface: IUTCTime | asn1js + + + + + + + \ No newline at end of file diff --git a/docs/api/interfaces/IntegerParams/index.html b/docs/api/interfaces/IntegerParams/index.html new file mode 100644 index 0000000..42e1dec --- /dev/null +++ b/docs/api/interfaces/IntegerParams/index.html @@ -0,0 +1,82 @@ + + + + + +Interface: IntegerParams | asn1js + + + + +

Interface: IntegerParams

Hierarchy

+
    +
  • +

    BaseBlockParams

    +
  • +
  • +

    LocalIntegerValueBlockParams

    +

    IntegerParams

    +
  • +
+

Properties

+

blockLength

+

Optional blockLength: number

+

Inherited from

+

BaseBlockParams.blockLength

+
+

error

+

Optional error: string

+

Inherited from

+

BaseBlockParams.error

+
+

idBlock

+

Optional idBlock: Partial<ILocalIdentificationBlock> & Partial<IHexBlock>

+

Inherited from

+

BaseBlockParams.idBlock

+
+

isHexOnly

+

Optional isHexOnly: boolean

+

Inherited from

+

LocalIntegerValueBlockParams.isHexOnly

+
+

lenBlock

+

Optional lenBlock: Partial<ILocalLengthBlock>

+

Inherited from

+

BaseBlockParams.lenBlock

+
+

name

+

Optional name: string

+

Inherited from

+

BaseBlockParams.name

+
+

optional

+

Optional optional: boolean

+

Inherited from

+

BaseBlockParams.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlock<ValueBlock, LocalBaseBlockJson>

+

Inherited from

+

BaseBlockParams.primitiveSchema

+
+

value

+

Optional value: number

+

Inherited from

+

LocalIntegerValueBlockParams.value

+
+

valueBeforeDecode

+

Optional valueBeforeDecode: BufferSource

+

Inherited from

+

BaseBlockParams.valueBeforeDecode

+
+

valueHex

+

Optional valueHex: BufferSource

+

Inherited from

+

LocalIntegerValueBlockParams.valueHex

+
+

warnings

+

Optional warnings: string[]

+

Inherited from

+

BaseBlockParams.warnings

+ + \ No newline at end of file diff --git a/docs/api/interfaces/ObjectIdentifierJson/index.html b/docs/api/interfaces/ObjectIdentifierJson/index.html new file mode 100644 index 0000000..a59c6ac --- /dev/null +++ b/docs/api/interfaces/ObjectIdentifierJson/index.html @@ -0,0 +1,77 @@ + + + + + +Interface: ObjectIdentifierJson | asn1js + + + + +

Interface: ObjectIdentifierJson

Hierarchy

+
    +
  • +

    BaseBlockJson<LocalObjectIdentifierValueBlockJson>

    +

    ObjectIdentifierJson

    +
  • +
+

Properties

+

blockLength

+

blockLength: number

+

Inherited from

+

BaseBlockJson.blockLength

+
+

blockName

+

blockName: string

+

Inherited from

+

BaseBlockJson.blockName

+
+

error

+

error: string

+

Inherited from

+

BaseBlockJson.error

+
+

idBlock

+

idBlock: LocalIdentificationBlockJson

+

Inherited from

+

BaseBlockJson.idBlock

+
+

lenBlock

+

lenBlock: LocalLengthBlockJson

+

Inherited from

+

BaseBlockJson.lenBlock

+
+

name

+

name: string

+

Inherited from

+

BaseBlockJson.name

+
+

optional

+

optional: boolean

+

Inherited from

+

BaseBlockJson.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlockJson<LocalBaseBlockJson>

+

Inherited from

+

BaseBlockJson.primitiveSchema

+
+

value

+

value: string

+
+

valueBeforeDecode

+

valueBeforeDecode: string

+

Inherited from

+

BaseBlockJson.valueBeforeDecode

+
+

valueBlock

+

valueBlock: LocalObjectIdentifierValueBlockJson

+

Inherited from

+

BaseBlockJson.valueBlock

+
+

warnings

+

warnings: string[]

+

Inherited from

+

BaseBlockJson.warnings

+ + \ No newline at end of file diff --git a/docs/api/interfaces/ObjectIdentifierParams/index.html b/docs/api/interfaces/ObjectIdentifierParams/index.html new file mode 100644 index 0000000..e5746f5 --- /dev/null +++ b/docs/api/interfaces/ObjectIdentifierParams/index.html @@ -0,0 +1,72 @@ + + + + + +Interface: ObjectIdentifierParams | asn1js + + + + +

Interface: ObjectIdentifierParams

Hierarchy

+
    +
  • +

    BaseBlockParams

    +
  • +
  • +

    LocalObjectIdentifierValueBlockParams

    +

    ObjectIdentifierParams

    +
  • +
+

Properties

+

blockLength

+

Optional blockLength: number

+

Inherited from

+

BaseBlockParams.blockLength

+
+

error

+

Optional error: string

+

Inherited from

+

BaseBlockParams.error

+
+

idBlock

+

Optional idBlock: Partial<ILocalIdentificationBlock> & Partial<IHexBlock>

+

Inherited from

+

BaseBlockParams.idBlock

+
+

lenBlock

+

Optional lenBlock: Partial<ILocalLengthBlock>

+

Inherited from

+

BaseBlockParams.lenBlock

+
+

name

+

Optional name: string

+

Inherited from

+

BaseBlockParams.name

+
+

optional

+

Optional optional: boolean

+

Inherited from

+

BaseBlockParams.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlock<ValueBlock, LocalBaseBlockJson>

+

Inherited from

+

BaseBlockParams.primitiveSchema

+
+

value

+

Optional value: string

+

Inherited from

+

LocalObjectIdentifierValueBlockParams.value

+
+

valueBeforeDecode

+

Optional valueBeforeDecode: BufferSource

+

Inherited from

+

BaseBlockParams.valueBeforeDecode

+
+

warnings

+

Optional warnings: string[]

+

Inherited from

+

BaseBlockParams.warnings

+ + \ No newline at end of file diff --git a/docs/api/interfaces/OctetStringParams/index.html b/docs/api/interfaces/OctetStringParams/index.html new file mode 100644 index 0000000..3aee762 --- /dev/null +++ b/docs/api/interfaces/OctetStringParams/index.html @@ -0,0 +1,92 @@ + + + + + +Interface: OctetStringParams | asn1js + + + + +

Interface: OctetStringParams

Hierarchy

+
    +
  • +

    BaseBlockParams

    +
  • +
  • +

    LocalOctetStringValueBlockParams

    +

    OctetStringParams

    +
  • +
+

Properties

+

blockLength

+

Optional blockLength: number

+

Inherited from

+

BaseBlockParams.blockLength

+
+

error

+

Optional error: string

+

Inherited from

+

BaseBlockParams.error

+
+

idBlock

+

Optional idBlock: Partial<ILocalIdentificationBlock> & Partial<IHexBlock>

+

Inherited from

+

BaseBlockParams.idBlock

+
+

isConstructed

+

Optional isConstructed: boolean

+

Inherited from

+

LocalOctetStringValueBlockParams.isConstructed

+
+

isHexOnly

+

Optional isHexOnly: boolean

+

Inherited from

+

LocalOctetStringValueBlockParams.isHexOnly

+
+

isIndefiniteForm

+

Optional isIndefiniteForm: boolean

+

Inherited from

+

LocalOctetStringValueBlockParams.isIndefiniteForm

+
+

lenBlock

+

Optional lenBlock: Partial<ILocalLengthBlock>

+

Inherited from

+

BaseBlockParams.lenBlock

+
+

name

+

Optional name: string

+

Inherited from

+

BaseBlockParams.name

+
+

optional

+

Optional optional: boolean

+

Inherited from

+

BaseBlockParams.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlock<ValueBlock, LocalBaseBlockJson>

+

Inherited from

+

BaseBlockParams.primitiveSchema

+
+

value

+

Optional value: OctetString[]

+

Inherited from

+

LocalOctetStringValueBlockParams.value

+
+

valueBeforeDecode

+

Optional valueBeforeDecode: BufferSource

+

Inherited from

+

BaseBlockParams.valueBeforeDecode

+
+

valueHex

+

Optional valueHex: BufferSource

+

Inherited from

+

LocalOctetStringValueBlockParams.valueHex

+
+

warnings

+

Optional warnings: string[]

+

Inherited from

+

BaseBlockParams.warnings

+ + \ No newline at end of file diff --git a/docs/api/interfaces/PrimitiveParams/index.html b/docs/api/interfaces/PrimitiveParams/index.html new file mode 100644 index 0000000..7416376 --- /dev/null +++ b/docs/api/interfaces/PrimitiveParams/index.html @@ -0,0 +1,77 @@ + + + + + +Interface: PrimitiveParams | asn1js + + + + +

Interface: PrimitiveParams

Hierarchy

+
    +
  • +

    BaseBlockParams

    +
  • +
  • +

    LocalPrimitiveValueBlockParams

    +

    PrimitiveParams

    +
  • +
+

Properties

+

blockLength

+

Optional blockLength: number

+

Inherited from

+

BaseBlockParams.blockLength

+
+

error

+

Optional error: string

+

Inherited from

+

BaseBlockParams.error

+
+

idBlock

+

Optional idBlock: Partial<ILocalIdentificationBlock> & Partial<IHexBlock>

+

Inherited from

+

BaseBlockParams.idBlock

+
+

isHexOnly

+

Optional isHexOnly: boolean

+

Inherited from

+

LocalPrimitiveValueBlockParams.isHexOnly

+
+

lenBlock

+

Optional lenBlock: Partial<ILocalLengthBlock>

+

Inherited from

+

BaseBlockParams.lenBlock

+
+

name

+

Optional name: string

+

Inherited from

+

BaseBlockParams.name

+
+

optional

+

Optional optional: boolean

+

Inherited from

+

BaseBlockParams.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlock<ValueBlock, LocalBaseBlockJson>

+

Inherited from

+

BaseBlockParams.primitiveSchema

+
+

valueBeforeDecode

+

Optional valueBeforeDecode: BufferSource

+

Inherited from

+

BaseBlockParams.valueBeforeDecode

+
+

valueHex

+

Optional valueHex: BufferSource

+

Inherited from

+

LocalPrimitiveValueBlockParams.valueHex

+
+

warnings

+

Optional warnings: string[]

+

Inherited from

+

BaseBlockParams.warnings

+ + \ No newline at end of file diff --git a/docs/api/interfaces/RelativeObjectIdentifierJson/index.html b/docs/api/interfaces/RelativeObjectIdentifierJson/index.html new file mode 100644 index 0000000..d2d8195 --- /dev/null +++ b/docs/api/interfaces/RelativeObjectIdentifierJson/index.html @@ -0,0 +1,77 @@ + + + + + +Interface: RelativeObjectIdentifierJson | asn1js + + + + +

Interface: RelativeObjectIdentifierJson

Hierarchy

+
    +
  • +

    BaseBlockJson<LocalRelativeObjectIdentifierValueBlockJson>

    +

    RelativeObjectIdentifierJson

    +
  • +
+

Properties

+

blockLength

+

blockLength: number

+

Inherited from

+

BaseBlockJson.blockLength

+
+

blockName

+

blockName: string

+

Inherited from

+

BaseBlockJson.blockName

+
+

error

+

error: string

+

Inherited from

+

BaseBlockJson.error

+
+

idBlock

+

idBlock: LocalIdentificationBlockJson

+

Inherited from

+

BaseBlockJson.idBlock

+
+

lenBlock

+

lenBlock: LocalLengthBlockJson

+

Inherited from

+

BaseBlockJson.lenBlock

+
+

name

+

name: string

+

Inherited from

+

BaseBlockJson.name

+
+

optional

+

optional: boolean

+

Inherited from

+

BaseBlockJson.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlockJson<LocalBaseBlockJson>

+

Inherited from

+

BaseBlockJson.primitiveSchema

+
+

value

+

value: string

+
+

valueBeforeDecode

+

valueBeforeDecode: string

+

Inherited from

+

BaseBlockJson.valueBeforeDecode

+
+

valueBlock

+

valueBlock: LocalRelativeObjectIdentifierValueBlockJson

+

Inherited from

+

BaseBlockJson.valueBlock

+
+

warnings

+

warnings: string[]

+

Inherited from

+

BaseBlockJson.warnings

+ + \ No newline at end of file diff --git a/docs/api/interfaces/RelativeObjectIdentifierParams/index.html b/docs/api/interfaces/RelativeObjectIdentifierParams/index.html new file mode 100644 index 0000000..94f7279 --- /dev/null +++ b/docs/api/interfaces/RelativeObjectIdentifierParams/index.html @@ -0,0 +1,72 @@ + + + + + +Interface: RelativeObjectIdentifierParams | asn1js + + + + +

Interface: RelativeObjectIdentifierParams

Hierarchy

+
    +
  • +

    BaseBlockParams

    +
  • +
  • +

    LocalRelativeObjectIdentifierValueBlockParams

    +

    RelativeObjectIdentifierParams

    +
  • +
+

Properties

+

blockLength

+

Optional blockLength: number

+

Inherited from

+

BaseBlockParams.blockLength

+
+

error

+

Optional error: string

+

Inherited from

+

BaseBlockParams.error

+
+

idBlock

+

Optional idBlock: Partial<ILocalIdentificationBlock> & Partial<IHexBlock>

+

Inherited from

+

BaseBlockParams.idBlock

+
+

lenBlock

+

Optional lenBlock: Partial<ILocalLengthBlock>

+

Inherited from

+

BaseBlockParams.lenBlock

+
+

name

+

Optional name: string

+

Inherited from

+

BaseBlockParams.name

+
+

optional

+

Optional optional: boolean

+

Inherited from

+

BaseBlockParams.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlock<ValueBlock, LocalBaseBlockJson>

+

Inherited from

+

BaseBlockParams.primitiveSchema

+
+

value

+

Optional value: string

+

Inherited from

+

LocalRelativeObjectIdentifierValueBlockParams.value

+
+

valueBeforeDecode

+

Optional valueBeforeDecode: BufferSource

+

Inherited from

+

BaseBlockParams.valueBeforeDecode

+
+

warnings

+

Optional warnings: string[]

+

Inherited from

+

BaseBlockParams.warnings

+ + \ No newline at end of file diff --git a/docs/api/interfaces/UTCTimeJson/index.html b/docs/api/interfaces/UTCTimeJson/index.html new file mode 100644 index 0000000..3691c5d --- /dev/null +++ b/docs/api/interfaces/UTCTimeJson/index.html @@ -0,0 +1,108 @@ + + + + + +Interface: UTCTimeJson | asn1js + + + + +

Interface: UTCTimeJson

Hierarchy

+ +

Properties

+

blockLength

+

blockLength: number

+

Inherited from

+

BaseBlockJson.blockLength

+
+

blockName

+

blockName: string

+

Inherited from

+

BaseBlockJson.blockName

+
+

day

+

day: number

+

Inherited from

+

IUTCTime.day

+
+

error

+

error: string

+

Inherited from

+

BaseBlockJson.error

+
+

hour

+

hour: number

+

Inherited from

+

IUTCTime.hour

+
+

idBlock

+

idBlock: LocalIdentificationBlockJson

+

Inherited from

+

BaseBlockJson.idBlock

+
+

lenBlock

+

lenBlock: LocalLengthBlockJson

+

Inherited from

+

BaseBlockJson.lenBlock

+
+

minute

+

minute: number

+

Inherited from

+

IUTCTime.minute

+
+

month

+

month: number

+

Inherited from

+

IUTCTime.month

+
+

name

+

name: string

+

Inherited from

+

BaseBlockJson.name

+
+

optional

+

optional: boolean

+

Inherited from

+

BaseBlockJson.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlockJson<LocalBaseBlockJson>

+

Inherited from

+

BaseBlockJson.primitiveSchema

+
+

second

+

second: number

+

Inherited from

+

IUTCTime.second

+
+

valueBeforeDecode

+

valueBeforeDecode: string

+

Inherited from

+

BaseBlockJson.valueBeforeDecode

+
+

valueBlock

+

valueBlock: LocalStringValueBlockJson

+

Inherited from

+

BaseBlockJson.valueBlock

+
+

warnings

+

warnings: string[]

+

Inherited from

+

BaseBlockJson.warnings

+
+

year

+

year: number

+

Inherited from

+

IUTCTime.year

+ + \ No newline at end of file diff --git a/docs/api/interfaces/UTCTimeParams/index.html b/docs/api/interfaces/UTCTimeParams/index.html new file mode 100644 index 0000000..8e41945 --- /dev/null +++ b/docs/api/interfaces/UTCTimeParams/index.html @@ -0,0 +1,77 @@ + + + + + +Interface: UTCTimeParams | asn1js + + + + +

Interface: UTCTimeParams

Hierarchy

+ +

Properties

+

blockLength

+

Optional blockLength: number

+

Inherited from

+

VisibleStringParams.blockLength

+
+

error

+

Optional error: string

+

Inherited from

+

VisibleStringParams.error

+
+

idBlock

+

Optional idBlock: Partial<ILocalIdentificationBlock> & Partial<IHexBlock>

+

Inherited from

+

VisibleStringParams.idBlock

+
+

lenBlock

+

Optional lenBlock: Partial<ILocalLengthBlock>

+

Inherited from

+

VisibleStringParams.lenBlock

+
+

name

+

Optional name: string

+

Inherited from

+

VisibleStringParams.name

+
+

optional

+

Optional optional: boolean

+

Inherited from

+

VisibleStringParams.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlock<ValueBlock, LocalBaseBlockJson>

+

Inherited from

+

VisibleStringParams.primitiveSchema

+
+

value

+

Optional value: string

+

Overrides

+

VisibleStringParams.value

+
+

valueBeforeDecode

+

Optional valueBeforeDecode: BufferSource

+

Inherited from

+

VisibleStringParams.valueBeforeDecode

+
+

valueDate

+

Optional valueDate: Date

+
+

valueHex

+

Optional valueHex: BufferSource

+

Inherited from

+

VisibleStringParams.valueHex

+
+

warnings

+

Optional warnings: string[]

+

Inherited from

+

VisibleStringParams.warnings

+ + \ No newline at end of file diff --git a/docs/api/interfaces/Utf8StringParams/index.html b/docs/api/interfaces/Utf8StringParams/index.html new file mode 100644 index 0000000..9533dc7 --- /dev/null +++ b/docs/api/interfaces/Utf8StringParams/index.html @@ -0,0 +1,77 @@ + + + + + +Interface: Utf8StringParams | asn1js + + + + +

Interface: Utf8StringParams

Hierarchy

+ +

Properties

+

blockLength

+

Optional blockLength: number

+

Inherited from

+

BaseStringBlockParams.blockLength

+
+

error

+

Optional error: string

+

Inherited from

+

BaseStringBlockParams.error

+
+

idBlock

+

Optional idBlock: Partial<ILocalIdentificationBlock> & Partial<IHexBlock>

+

Inherited from

+

BaseStringBlockParams.idBlock

+
+

lenBlock

+

Optional lenBlock: Partial<ILocalLengthBlock>

+

Inherited from

+

BaseStringBlockParams.lenBlock

+
+

name

+

Optional name: string

+

Inherited from

+

BaseStringBlockParams.name

+
+

optional

+

Optional optional: boolean

+

Inherited from

+

BaseStringBlockParams.optional

+
+

primitiveSchema

+

Optional primitiveSchema: BaseBlock<ValueBlock, LocalBaseBlockJson>

+

Inherited from

+

BaseStringBlockParams.primitiveSchema

+
+

value

+

Optional value: string

+

Inherited from

+

BaseStringBlockParams.value

+
+

valueBeforeDecode

+

Optional valueBeforeDecode: BufferSource

+

Inherited from

+

BaseStringBlockParams.valueBeforeDecode

+
+

valueHex

+

Optional valueHex: BufferSource

+

Inherited from

+

BaseStringBlockParams.valueHex

+
+

warnings

+

Optional warnings: string[]

+

Inherited from

+

BaseStringBlockParams.warnings

+ + \ No newline at end of file diff --git a/docs/api/interfaces/ValueBlockConstructor/index.html b/docs/api/interfaces/ValueBlockConstructor/index.html new file mode 100644 index 0000000..d576b96 --- /dev/null +++ b/docs/api/interfaces/ValueBlockConstructor/index.html @@ -0,0 +1,21 @@ + + + + + +Interface: ValueBlockConstructor<T> | asn1js + + + + + + + \ No newline at end of file diff --git a/docs/examples/create-new-asn-structures-by-calling-constructors-with-parameters/index.html b/docs/examples/create-new-asn-structures-by-calling-constructors-with-parameters/index.html new file mode 100644 index 0000000..9f4287f --- /dev/null +++ b/docs/examples/create-new-asn-structures-by-calling-constructors-with-parameters/index.html @@ -0,0 +1,14 @@ + + + + + +Create new ASN.1 structures by calling constructors with parameters | asn1js + + + + +

Create new ASN.1 structures by calling constructors with parameters

+
import * as asn1js from 'asn1js';

var sequence2 = new asn1js.Sequence({
value: [
new asn1js.Integer({ value: 1 }),
new asn1js.Integer({
isHexOnly: true,
valueHex: integer_data
}),
]
});
+ + \ No newline at end of file diff --git a/docs/examples/create-new-asn-structures/index.html b/docs/examples/create-new-asn-structures/index.html new file mode 100644 index 0000000..17970ee --- /dev/null +++ b/docs/examples/create-new-asn-structures/index.html @@ -0,0 +1,14 @@ + + + + + +Create new ASN.1 structures | asn1js + + + + +

Create new ASN.1 structures

+
import * as asn1js from 'asn1js';

var sequence = new asn1js.Sequence();
sequence.valueBlock.value.push(new asn1js.Integer({ value: 1 }));

var sequence_buffer = sequence.toBER(false); // Encode current sequence to BER (in ArrayBuffer)
var current_size = sequence_buffer.byteLength;

var integer_data = new ArrayBuffer(8);
var integer_view = new Uint8Array(integer_data);
integer_view[0] = 0x01;
integer_view[1] = 0x01;
integer_view[2] = 0x01;
integer_view[3] = 0x01;
integer_view[4] = 0x01;
integer_view[5] = 0x01;
integer_view[6] = 0x01;
integer_view[7] = 0x01;

sequence.valueBlock.value.push(new asn1js.Integer({
isHexOnly: true,
valueHex: integer_data,
})); // Put too long for decoding Integer value

sequence_buffer = sequence.toBER();
current_size = sequence_buffer.byteLength;
+ + \ No newline at end of file diff --git a/docs/examples/use-internal-schemas-for-primitively-encoded-data-types/index.html b/docs/examples/use-internal-schemas-for-primitively-encoded-data-types/index.html new file mode 100644 index 0000000..0ec17bc --- /dev/null +++ b/docs/examples/use-internal-schemas-for-primitively-encoded-data-types/index.html @@ -0,0 +1,14 @@ + + + + + +Use "internal schemas" for primitively encoded data types | asn1js + + + + +

Use "internal schemas" for primitively encoded data types

+
import * as asn1js from 'asn1js';

var primitive_octetstring = new asn1js.OctetString({ valueHex: encoded_sequence }); // Create a primitively encoded OctetString where internal data is an encoded Sequence

var asn1_schema_internal = new asn1js.OctetString({
name: "outer_block",
primitiveSchema: new asn1js.Sequence({
name: "block1",
value: [
new asn1js.Null({
name: "block2"
})
]
})
});

var variant6 = org.pkijs.compareSchema(primitive_octetstring, primitive_octetstring, asn1_schema_internal);
var variant6_verified = variant4.verified;
var variant6_block1_tag_num = variant6.result.block1.idBlock.tagNumber;
var variant6_block2_tag_num = variant6.result.block2.idBlock.tagNumber;
+ + \ No newline at end of file diff --git a/docs/examples/validate-asn-against-pre-defined-schema/index.html b/docs/examples/validate-asn-against-pre-defined-schema/index.html new file mode 100644 index 0000000..ff655a4 --- /dev/null +++ b/docs/examples/validate-asn-against-pre-defined-schema/index.html @@ -0,0 +1,14 @@ + + + + + +Validate ASN.1 against pre-defined schema | asn1js + + + + +

Validate ASN.1 against pre-defined schema

+
import * as asn1js from 'asn1js';

var asn1_schema = new asn1js.Sequence({
name: "block1",
value: [
new asn1js.Null({
name: "block2"
}),
new asn1js.Integer({
name: "block3",
optional: true // This block is absent inside data, but it's "optional". Hence verification against the schema will be passed.
})
]
});

var variant1 = org.pkijs.verifySchema(encoded_sequence, asn1_schema); // Verify schema together with decoding of raw data
var variant1_verified = variant1.verified;
var variant1_result = variant1.result; // Verified decoded data with all block names inside
+ + \ No newline at end of file diff --git a/docs/installation/index.html b/docs/installation/index.html new file mode 100644 index 0000000..3a0e3a1 --- /dev/null +++ b/docs/installation/index.html @@ -0,0 +1,15 @@ + + + + + +Installation | asn1js + + + + +

Installation

+

Run one of the following commands to add asn1js to your project:

+
npm install asn1js
+ + \ No newline at end of file diff --git a/images/bg_hr.png b/images/bg_hr.png deleted file mode 100644 index 7973bd6..0000000 Binary files a/images/bg_hr.png and /dev/null differ diff --git a/images/blacktocat.png b/images/blacktocat.png deleted file mode 100644 index 6e264fe..0000000 Binary files a/images/blacktocat.png and /dev/null differ diff --git a/images/icon_download.png b/images/icon_download.png deleted file mode 100644 index a2a287f..0000000 Binary files a/images/icon_download.png and /dev/null differ diff --git a/images/sprite_download.png b/images/sprite_download.png deleted file mode 100644 index f2babd5..0000000 Binary files a/images/sprite_download.png and /dev/null differ diff --git a/img/card.png b/img/card.png new file mode 100644 index 0000000..78f5e75 Binary files /dev/null and b/img/card.png differ diff --git a/img/favicon.ico b/img/favicon.ico new file mode 100644 index 0000000..d48917f Binary files /dev/null and b/img/favicon.ico differ diff --git a/img/logo.svg b/img/logo.svg new file mode 100644 index 0000000..26b5254 --- /dev/null +++ b/img/logo.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/index.html b/index.html index 85224c6..9920224 100644 --- a/index.html +++ b/index.html @@ -1,48 +1,19 @@ - - - - - - - - - - - Asn1.js - - - - - -
-
- View on GitHub - -

ASN1.js

-

Abstract Syntax Notation One (ASN.1) is a standard and notation that describes rules and structures for representing, encoding, transmitting, and decoding data in telecommunications and computer networking. ASN1.js is a pure JavaScript library implementing this standard. ASN.1 is the basis of all X.509 related data structures and numerous other protocols used on the web.

- -
- Download this project as a .zip file - Download this project as a tar.gz file -
-
-
- - -
-
-
-
- - - - - - - - + + + + + +asn1js + + + + +

ASN.1.js - JavaScript Module for Abstract Syntax Notation One Encoding and Decoding.

+

ASN.1.js is a versatile and efficient npm module designed for encoding and decoding data using the Abstract Syntax Notation One (ASN.1) standard in JavaScript environments. This module empowers developers to work with complex data structures and facilitate interoperability in various protocols, such as LDAP, PKCS, and X.509. With ASN.1.js, you can seamlessly handle binary data representation, ensuring robust and standards-compliant communication. Whether you're building secure communication protocols or dealing with cryptographic structures, this module provides a reliable foundation for ASN.1 encoding and decoding in your JavaScript projects.

Features

  • ASN.1 Object Encoding/Decoding

    Encode and decode ASN.1 objects, allowing for the serialization and deserialization of data structures according to the ASN.1 specifications.

  • +
  • BER, DER, and CER Support

    Support for Basic Encoding Rules (BER), Distinguished Encoding Rules (DER), and Canonical Encoding Rules (CER), which are different encoding rules for ASN.1.

  • +
  • Universal, Application, Context-Specific Tag Support

    Handle different ASN.1 tag types, including universal tags, application-specific tags, and context-specific tags.

  • +
  • Constructive and Primitive Encoding

    Support for both primitive and constructed encoding, allowing the representation of simple values (primitive) and more complex structures (constructed).

  • +
  • OID (Object Identifier) Handling

    Ability to work with Object Identifiers, which are a hierarchical tree of identifiers commonly used in ASN.1 to uniquely identify objects, types, and attributes.

  • +
  • Extension Support

    Ability to handle ASN.1 extensions, which are used to extend existing data structures without modifying their original definition.

+ + \ No newline at end of file diff --git a/javascripts/main.js b/javascripts/main.js deleted file mode 100644 index d8135d3..0000000 --- a/javascripts/main.js +++ /dev/null @@ -1 +0,0 @@ -console.log('This would be the main JS file.'); diff --git a/params.json b/params.json deleted file mode 100644 index 9850279..0000000 --- a/params.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"Asn1.js","tagline":"Abstract Syntax Notation One (ASN.1) is a standard and notation that describes rules and structures for representing, encoding, transmitting, and decoding data in telecommunications and computer networking. ASN1.js is a pure JavaScript library implementing this standard. ASN.1 is the basis of all X.509 related data structures and numerous other protocols used on the web.","body":"### Welcome to GitHub Pages.\r\nThis automatic page generator is the easiest way to create beautiful pages for all of your projects. Author your page content here using GitHub Flavored Markdown, select a template crafted by a designer, and publish. After your page is generated, you can check out the new branch:\r\n\r\n```\r\n$ cd your_repo_root/repo_name\r\n$ git fetch origin\r\n$ git checkout gh-pages\r\n```\r\n\r\nIf you're using the GitHub for Mac, simply sync your repository and you'll see the new branch.\r\n\r\n### Designer Templates\r\nWe've crafted some handsome templates for you to use. Go ahead and continue to layouts to browse through them. You can easily go back to edit your page before publishing. After publishing your page, you can revisit the page generator and switch to another theme. Your Page content will be preserved if it remained markdown format.\r\n\r\n### Rather Drive Stick?\r\nIf you prefer to not use the automatic generator, push a branch named `gh-pages` to your repository to create a page manually. In addition to supporting regular HTML content, GitHub Pages support Jekyll, a simple, blog aware static site generator written by our own Tom Preston-Werner. Jekyll makes it easy to create site-wide headers and footers without having to copy them across every page. It also offers intelligent blog support and other advanced templating features.\r\n\r\n### Authors and Contributors\r\nYou can @mention a GitHub username to generate a link to their profile. The resulting `` element will link to the contributor's GitHub Profile. For example: In 2007, Chris Wanstrath (@defunkt), PJ Hyett (@pjhyett), and Tom Preston-Werner (@mojombo) founded GitHub.\r\n\r\n### Support or Contact\r\nHaving trouble with Pages? Check out the documentation at http://help.github.com/pages or contact support@github.com and we’ll help you sort it out.\r\n","google":"","note":"Don't delete this file! It's used internally to help with page regeneration."} \ No newline at end of file diff --git a/sitemap.xml b/sitemap.xml new file mode 100644 index 0000000..9f3532e --- /dev/null +++ b/sitemap.xml @@ -0,0 +1 @@ +https://asn1js.org/docs/api/weekly0.5https://asn1js.org/docs/api/classes/Anyweekly0.5https://asn1js.org/docs/api/classes/BaseBlockweekly0.5https://asn1js.org/docs/api/classes/BaseStringBlockweekly0.5https://asn1js.org/docs/api/classes/BitStringweekly0.5https://asn1js.org/docs/api/classes/BmpStringweekly0.5https://asn1js.org/docs/api/classes/Booleanweekly0.5https://asn1js.org/docs/api/classes/CharacterStringweekly0.5https://asn1js.org/docs/api/classes/Choiceweekly0.5https://asn1js.org/docs/api/classes/Constructedweekly0.5https://asn1js.org/docs/api/classes/DATEweekly0.5https://asn1js.org/docs/api/classes/DateTimeweekly0.5https://asn1js.org/docs/api/classes/Durationweekly0.5https://asn1js.org/docs/api/classes/EndOfContentweekly0.5https://asn1js.org/docs/api/classes/Enumeratedweekly0.5https://asn1js.org/docs/api/classes/GeneralizedTimeweekly0.5https://asn1js.org/docs/api/classes/GeneralStringweekly0.5https://asn1js.org/docs/api/classes/GraphicStringweekly0.5https://asn1js.org/docs/api/classes/IA5Stringweekly0.5https://asn1js.org/docs/api/classes/Integerweekly0.5https://asn1js.org/docs/api/classes/Nullweekly0.5https://asn1js.org/docs/api/classes/NumericStringweekly0.5https://asn1js.org/docs/api/classes/ObjectIdentifierweekly0.5https://asn1js.org/docs/api/classes/OctetStringweekly0.5https://asn1js.org/docs/api/classes/Primitiveweekly0.5https://asn1js.org/docs/api/classes/PrintableStringweekly0.5https://asn1js.org/docs/api/classes/RawDataweekly0.5https://asn1js.org/docs/api/classes/RelativeObjectIdentifierweekly0.5https://asn1js.org/docs/api/classes/Repeatedweekly0.5https://asn1js.org/docs/api/classes/Sequenceweekly0.5https://asn1js.org/docs/api/classes/Setweekly0.5https://asn1js.org/docs/api/classes/TeletexStringweekly0.5https://asn1js.org/docs/api/classes/TIMEweekly0.5https://asn1js.org/docs/api/classes/TimeOfDayweekly0.5https://asn1js.org/docs/api/classes/UniversalStringweekly0.5https://asn1js.org/docs/api/classes/UTCTimeweekly0.5https://asn1js.org/docs/api/classes/Utf8Stringweekly0.5https://asn1js.org/docs/api/classes/ValueBlockweekly0.5https://asn1js.org/docs/api/classes/VideotexStringweekly0.5https://asn1js.org/docs/api/classes/ViewWriterweekly0.5https://asn1js.org/docs/api/classes/VisibleStringweekly0.5https://asn1js.org/docs/api/interfaces/BaseBlockJsonweekly0.5https://asn1js.org/docs/api/interfaces/BaseBlockParamsweekly0.5https://asn1js.org/docs/api/interfaces/BaseStringBlockParamsweekly0.5https://asn1js.org/docs/api/interfaces/BitStringParamsweekly0.5https://asn1js.org/docs/api/interfaces/BooleanParamsweekly0.5https://asn1js.org/docs/api/interfaces/CompareSchemaFailweekly0.5https://asn1js.org/docs/api/interfaces/CompareSchemaSuccessweekly0.5https://asn1js.org/docs/api/interfaces/ConstructedParamsweekly0.5https://asn1js.org/docs/api/interfaces/FromBerResultweekly0.5https://asn1js.org/docs/api/interfaces/GeneralizedTimeJsonweekly0.5https://asn1js.org/docs/api/interfaces/HexBlockJsonweekly0.5https://asn1js.org/docs/api/interfaces/IAnyweekly0.5https://asn1js.org/docs/api/interfaces/IBaseBlockweekly0.5https://asn1js.org/docs/api/interfaces/IBerConvertibleweekly0.5https://asn1js.org/docs/api/interfaces/IChoiceweekly0.5https://asn1js.org/docs/api/interfaces/IDateConvertibleweekly0.5https://asn1js.org/docs/api/interfaces/IDerConvertibleweekly0.5https://asn1js.org/docs/api/interfaces/IGeneralizedTimeweekly0.5https://asn1js.org/docs/api/interfaces/IHexBlockweekly0.5https://asn1js.org/docs/api/interfaces/IntegerParamsweekly0.5https://asn1js.org/docs/api/interfaces/IRawDataweekly0.5https://asn1js.org/docs/api/interfaces/IRepeatedweekly0.5https://asn1js.org/docs/api/interfaces/IStringConvertibleweekly0.5https://asn1js.org/docs/api/interfaces/IUTCTimeweekly0.5https://asn1js.org/docs/api/interfaces/ObjectIdentifierJsonweekly0.5https://asn1js.org/docs/api/interfaces/ObjectIdentifierParamsweekly0.5https://asn1js.org/docs/api/interfaces/OctetStringParamsweekly0.5https://asn1js.org/docs/api/interfaces/PrimitiveParamsweekly0.5https://asn1js.org/docs/api/interfaces/RelativeObjectIdentifierJsonweekly0.5https://asn1js.org/docs/api/interfaces/RelativeObjectIdentifierParamsweekly0.5https://asn1js.org/docs/api/interfaces/UTCTimeJsonweekly0.5https://asn1js.org/docs/api/interfaces/UTCTimeParamsweekly0.5https://asn1js.org/docs/api/interfaces/Utf8StringParamsweekly0.5https://asn1js.org/docs/api/interfaces/ValueBlockConstructorweekly0.5https://asn1js.org/docs/examples/create-new-asn-structuresweekly0.5https://asn1js.org/docs/examples/create-new-asn-structures-by-calling-constructors-with-parametersweekly0.5https://asn1js.org/docs/examples/use-internal-schemas-for-primitively-encoded-data-typesweekly0.5https://asn1js.org/docs/examples/validate-asn-against-pre-defined-schemaweekly0.5https://asn1js.org/docs/installationweekly0.5https://asn1js.org/weekly0.5 \ No newline at end of file diff --git a/stylesheets/pygment_trac.css b/stylesheets/pygment_trac.css deleted file mode 100644 index e65cedf..0000000 --- a/stylesheets/pygment_trac.css +++ /dev/null @@ -1,70 +0,0 @@ -.highlight .hll { background-color: #ffffcc } -.highlight { background: #f0f3f3; } -.highlight .c { color: #0099FF; font-style: italic } /* Comment */ -.highlight .err { color: #AA0000; background-color: #FFAAAA } /* Error */ -.highlight .k { color: #006699; font-weight: bold } /* Keyword */ -.highlight .o { color: #555555 } /* Operator */ -.highlight .cm { color: #0099FF; font-style: italic } /* Comment.Multiline */ -.highlight .cp { color: #009999 } /* Comment.Preproc */ -.highlight .c1 { color: #0099FF; font-style: italic } /* Comment.Single */ -.highlight .cs { color: #0099FF; font-weight: bold; font-style: italic } /* Comment.Special */ -.highlight .gd { background-color: #FFCCCC; border: 1px solid #CC0000 } /* Generic.Deleted */ -.highlight .ge { font-style: italic } /* Generic.Emph */ -.highlight .gr { color: #FF0000 } /* Generic.Error */ -.highlight .gh { color: #003300; font-weight: bold } /* Generic.Heading */ -.highlight .gi { background-color: #CCFFCC; border: 1px solid #00CC00 } /* Generic.Inserted */ -.highlight .go { color: #AAAAAA } /* Generic.Output */ -.highlight .gp { color: #000099; font-weight: bold } /* Generic.Prompt */ -.highlight .gs { font-weight: bold } /* Generic.Strong */ -.highlight .gu { color: #003300; font-weight: bold } /* Generic.Subheading */ -.highlight .gt { color: #99CC66 } /* Generic.Traceback */ -.highlight .kc { color: #006699; font-weight: bold } /* Keyword.Constant */ -.highlight .kd { color: #006699; font-weight: bold } /* Keyword.Declaration */ -.highlight .kn { color: #006699; font-weight: bold } /* Keyword.Namespace */ -.highlight .kp { color: #006699 } /* Keyword.Pseudo */ -.highlight .kr { color: #006699; font-weight: bold } /* Keyword.Reserved */ -.highlight .kt { color: #007788; font-weight: bold } /* Keyword.Type */ -.highlight .m { color: #FF6600 } /* Literal.Number */ -.highlight .s { color: #CC3300 } /* Literal.String */ -.highlight .na { color: #330099 } /* Name.Attribute */ -.highlight .nb { color: #336666 } /* Name.Builtin */ -.highlight .nc { color: #00AA88; font-weight: bold } /* Name.Class */ -.highlight .no { color: #336600 } /* Name.Constant */ -.highlight .nd { color: #9999FF } /* Name.Decorator */ -.highlight .ni { color: #999999; font-weight: bold } /* Name.Entity */ -.highlight .ne { color: #CC0000; font-weight: bold } /* Name.Exception */ -.highlight .nf { color: #CC00FF } /* Name.Function */ -.highlight .nl { color: #9999FF } /* Name.Label */ -.highlight .nn { color: #00CCFF; font-weight: bold } /* Name.Namespace */ -.highlight .nt { color: #330099; font-weight: bold } /* Name.Tag */ -.highlight .nv { color: #003333 } /* Name.Variable */ -.highlight .ow { color: #000000; font-weight: bold } /* Operator.Word */ -.highlight .w { color: #bbbbbb } /* Text.Whitespace */ -.highlight .mf { color: #FF6600 } /* Literal.Number.Float */ -.highlight .mh { color: #FF6600 } /* Literal.Number.Hex */ -.highlight .mi { color: #FF6600 } /* Literal.Number.Integer */ -.highlight .mo { color: #FF6600 } /* Literal.Number.Oct */ -.highlight .sb { color: #CC3300 } /* Literal.String.Backtick */ -.highlight .sc { color: #CC3300 } /* Literal.String.Char */ -.highlight .sd { color: #CC3300; font-style: italic } /* Literal.String.Doc */ -.highlight .s2 { color: #CC3300 } /* Literal.String.Double */ -.highlight .se { color: #CC3300; font-weight: bold } /* Literal.String.Escape */ -.highlight .sh { color: #CC3300 } /* Literal.String.Heredoc */ -.highlight .si { color: #AA0000 } /* Literal.String.Interpol */ -.highlight .sx { color: #CC3300 } /* Literal.String.Other */ -.highlight .sr { color: #33AAAA } /* Literal.String.Regex */ -.highlight .s1 { color: #CC3300 } /* Literal.String.Single */ -.highlight .ss { color: #FFCC33 } /* Literal.String.Symbol */ -.highlight .bp { color: #336666 } /* Name.Builtin.Pseudo */ -.highlight .vc { color: #003333 } /* Name.Variable.Class */ -.highlight .vg { color: #003333 } /* Name.Variable.Global */ -.highlight .vi { color: #003333 } /* Name.Variable.Instance */ -.highlight .il { color: #FF6600 } /* Literal.Number.Integer.Long */ - -.type-csharp .highlight .k { color: #0000FF } -.type-csharp .highlight .kt { color: #0000FF } -.type-csharp .highlight .nf { color: #000000; font-weight: normal } -.type-csharp .highlight .nc { color: #2B91AF } -.type-csharp .highlight .nn { color: #000000 } -.type-csharp .highlight .s { color: #A31515 } -.type-csharp .highlight .sc { color: #A31515 } diff --git a/stylesheets/stylesheet.css b/stylesheets/stylesheet.css deleted file mode 100644 index 7a08b01..0000000 --- a/stylesheets/stylesheet.css +++ /dev/null @@ -1,423 +0,0 @@ -/******************************************************************************* -Slate Theme for GitHub Pages -by Jason Costello, @jsncostello -*******************************************************************************/ - -@import url(pygment_trac.css); - -/******************************************************************************* -MeyerWeb Reset -*******************************************************************************/ - -html, body, div, span, applet, object, iframe, -h1, h2, h3, h4, h5, h6, p, blockquote, pre, -a, abbr, acronym, address, big, cite, code, -del, dfn, em, img, ins, kbd, q, s, samp, -small, strike, strong, sub, sup, tt, var, -b, u, i, center, -dl, dt, dd, ol, ul, li, -fieldset, form, label, legend, -table, caption, tbody, tfoot, thead, tr, th, td, -article, aside, canvas, details, embed, -figure, figcaption, footer, header, hgroup, -menu, nav, output, ruby, section, summary, -time, mark, audio, video { - margin: 0; - padding: 0; - border: 0; - font: inherit; - vertical-align: baseline; -} - -/* HTML5 display-role reset for older browsers */ -article, aside, details, figcaption, figure, -footer, header, hgroup, menu, nav, section { - display: block; -} - -ol, ul { - list-style: none; -} - -table { - border-collapse: collapse; - border-spacing: 0; -} - -/******************************************************************************* -Theme Styles -*******************************************************************************/ - -body { - box-sizing: border-box; - color:#373737; - background: #212121; - font-size: 16px; - font-family: 'Myriad Pro', Calibri, Helvetica, Arial, sans-serif; - line-height: 1.5; - -webkit-font-smoothing: antialiased; -} - -h1, h2, h3, h4, h5, h6 { - margin: 10px 0; - font-weight: 700; - color:#222222; - font-family: 'Lucida Grande', 'Calibri', Helvetica, Arial, sans-serif; - letter-spacing: -1px; -} - -h1 { - font-size: 36px; - font-weight: 700; -} - -h2 { - padding-bottom: 10px; - font-size: 32px; - background: url('../images/bg_hr.png') repeat-x bottom; -} - -h3 { - font-size: 24px; -} - -h4 { - font-size: 21px; -} - -h5 { - font-size: 18px; -} - -h6 { - font-size: 16px; -} - -p { - margin: 10px 0 15px 0; -} - -footer p { - color: #f2f2f2; -} - -a { - text-decoration: none; - color: #007edf; - text-shadow: none; - - transition: color 0.5s ease; - transition: text-shadow 0.5s ease; - -webkit-transition: color 0.5s ease; - -webkit-transition: text-shadow 0.5s ease; - -moz-transition: color 0.5s ease; - -moz-transition: text-shadow 0.5s ease; - -o-transition: color 0.5s ease; - -o-transition: text-shadow 0.5s ease; - -ms-transition: color 0.5s ease; - -ms-transition: text-shadow 0.5s ease; -} - -a:hover, a:focus {text-decoration: underline;} - -footer a { - color: #F2F2F2; - text-decoration: underline; -} - -em { - font-style: italic; -} - -strong { - font-weight: bold; -} - -img { - position: relative; - margin: 0 auto; - max-width: 739px; - padding: 5px; - margin: 10px 0 10px 0; - border: 1px solid #ebebeb; - - box-shadow: 0 0 5px #ebebeb; - -webkit-box-shadow: 0 0 5px #ebebeb; - -moz-box-shadow: 0 0 5px #ebebeb; - -o-box-shadow: 0 0 5px #ebebeb; - -ms-box-shadow: 0 0 5px #ebebeb; -} - -p img { - display: inline; - margin: 0; - padding: 0; - vertical-align: middle; - text-align: center; - border: none; -} - -pre, code { - width: 100%; - color: #222; - background-color: #fff; - - font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace; - font-size: 14px; - - border-radius: 2px; - -moz-border-radius: 2px; - -webkit-border-radius: 2px; -} - -pre { - width: 100%; - padding: 10px; - box-shadow: 0 0 10px rgba(0,0,0,.1); - overflow: auto; -} - -code { - padding: 3px; - margin: 0 3px; - box-shadow: 0 0 10px rgba(0,0,0,.1); -} - -pre code { - display: block; - box-shadow: none; -} - -blockquote { - color: #666; - margin-bottom: 20px; - padding: 0 0 0 20px; - border-left: 3px solid #bbb; -} - - -ul, ol, dl { - margin-bottom: 15px -} - -ul { - list-style: inside; - padding-left: 20px; -} - -ol { - list-style: decimal inside; - padding-left: 20px; -} - -dl dt { - font-weight: bold; -} - -dl dd { - padding-left: 20px; - font-style: italic; -} - -dl p { - padding-left: 20px; - font-style: italic; -} - -hr { - height: 1px; - margin-bottom: 5px; - border: none; - background: url('../images/bg_hr.png') repeat-x center; -} - -table { - border: 1px solid #373737; - margin-bottom: 20px; - text-align: left; - } - -th { - font-family: 'Lucida Grande', 'Helvetica Neue', Helvetica, Arial, sans-serif; - padding: 10px; - background: #373737; - color: #fff; - } - -td { - padding: 10px; - border: 1px solid #373737; - } - -form { - background: #f2f2f2; - padding: 20px; -} - -/******************************************************************************* -Full-Width Styles -*******************************************************************************/ - -.outer { - width: 100%; -} - -.inner { - position: relative; - max-width: 640px; - padding: 20px 10px; - margin: 0 auto; -} - -#forkme_banner { - display: block; - position: absolute; - top:0; - right: 10px; - z-index: 10; - padding: 10px 50px 10px 10px; - color: #fff; - background: url('../images/blacktocat.png') #0090ff no-repeat 95% 50%; - font-weight: 700; - box-shadow: 0 0 10px rgba(0,0,0,.5); - border-bottom-left-radius: 2px; - border-bottom-right-radius: 2px; -} - -#header_wrap { - background: #212121; - background: -moz-linear-gradient(top, #373737, #212121); - background: -webkit-linear-gradient(top, #373737, #212121); - background: -ms-linear-gradient(top, #373737, #212121); - background: -o-linear-gradient(top, #373737, #212121); - background: linear-gradient(top, #373737, #212121); -} - -#header_wrap .inner { - padding: 50px 10px 30px 10px; -} - -#project_title { - margin: 0; - color: #fff; - font-size: 42px; - font-weight: 700; - text-shadow: #111 0px 0px 10px; -} - -#project_tagline { - color: #fff; - font-size: 24px; - font-weight: 300; - background: none; - text-shadow: #111 0px 0px 10px; -} - -#downloads { - position: absolute; - width: 210px; - z-index: 10; - bottom: -40px; - right: 0; - height: 70px; - background: url('../images/icon_download.png') no-repeat 0% 90%; -} - -.zip_download_link { - display: block; - float: right; - width: 90px; - height:70px; - text-indent: -5000px; - overflow: hidden; - background: url(../images/sprite_download.png) no-repeat bottom left; -} - -.tar_download_link { - display: block; - float: right; - width: 90px; - height:70px; - text-indent: -5000px; - overflow: hidden; - background: url(../images/sprite_download.png) no-repeat bottom right; - margin-left: 10px; -} - -.zip_download_link:hover { - background: url(../images/sprite_download.png) no-repeat top left; -} - -.tar_download_link:hover { - background: url(../images/sprite_download.png) no-repeat top right; -} - -#main_content_wrap { - background: #f2f2f2; - border-top: 1px solid #111; - border-bottom: 1px solid #111; -} - -#main_content { - padding-top: 40px; -} - -#footer_wrap { - background: #212121; -} - - - -/******************************************************************************* -Small Device Styles -*******************************************************************************/ - -@media screen and (max-width: 480px) { - body { - font-size:14px; - } - - #downloads { - display: none; - } - - .inner { - min-width: 320px; - max-width: 480px; - } - - #project_title { - font-size: 32px; - } - - h1 { - font-size: 28px; - } - - h2 { - font-size: 24px; - } - - h3 { - font-size: 21px; - } - - h4 { - font-size: 18px; - } - - h5 { - font-size: 14px; - } - - h6 { - font-size: 12px; - } - - code, pre { - min-width: 320px; - max-width: 480px; - font-size: 11px; - } - -}