1 line
57 KiB
JavaScript
1 line
57 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[306],{404:function(e,t,r){"use strict";r.r(t);var a=r(46),_=Object(a.a)({},function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[r("p",[r("em",[r("strong",[e._v("name")])]),e._v(": SeedOf")]),e._v(" "),r("p",[r("em",[r("strong",[e._v("description")])]),e._v(": The Substrate SeedOf representation as a "),r("router-link",{attrs:{to:"/types/classes/_type_hash_.hash.html"}},[e._v("Hash")]),e._v(".")],1),e._v(" "),r("h1",{attrs:{id:"hierarchy"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#hierarchy","aria-hidden":"true"}},[e._v("#")]),e._v(" Hierarchy")]),e._v(" "),r("p",[e._v("↳ "),r("router-link",{attrs:{to:"/types/classes/_type_hash_.hash.html"}},[e._v("Hash")])],1),e._v(" "),r("p",[r("strong",[e._v("↳ SeedOf")])]),e._v(" "),r("h1",{attrs:{id:"implements"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#implements","aria-hidden":"true"}},[e._v("#")]),e._v(" Implements")]),e._v(" "),r("ul",[r("li",[r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")])],1)]),e._v(" "),r("h1",{attrs:{id:"indexable"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#indexable","aria-hidden":"true"}},[e._v("#")]),e._v(" Indexable")]),e._v(" "),r("p",[e._v("[index: "),r("code",[e._v("number")]),e._v("]: "),r("code",[e._v("number")])]),e._v(" "),r("h1",{attrs:{id:"constructors"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#constructors","aria-hidden":"true"}},[e._v("#")]),e._v(" Constructors")]),e._v(" "),r("p",[r("a",{attrs:{id:"constructor"}})]),e._v(" "),r("h2",{attrs:{id:"constructor"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#constructor","aria-hidden":"true"}},[e._v("#")]),e._v(" constructor")]),e._v(" "),r("p",[e._v("⊕ "),r("strong",[e._v("new SeedOf")]),e._v("(value?: "),r("em",[r("router-link",{attrs:{to:"/types/modules/_types_.html#anyu8a"}},[e._v("AnyU8a")])],1),e._v("): "),r("router-link",{attrs:{to:"/types/classes/_type_seedof_.seedof.html"}},[e._v("SeedOf")])],1),e._v(" "),r("p",[r("em",[e._v("Inherited from "),r("router-link",{attrs:{to:"/types/classes/_primitive_h256_.h256.html"}},[e._v("H256")]),e._v("."),r("router-link",{attrs:{to:"/types/classes/_primitive_h256_.h256.html#constructor"}},[e._v("constructor")])],1)]),e._v(" "),r("p",[r("em",[e._v("Overrides "),r("router-link",{attrs:{to:"/types/classes/_codec_u8afixed_.u8afixed.html"}},[e._v("U8aFixed")]),e._v("."),r("router-link",{attrs:{to:"/types/classes/_codec_u8afixed_.u8afixed.html#constructor"}},[e._v("constructor")])],1)]),e._v(" "),r("p",[r("em",[e._v("Defined in "),r("a",{attrs:{href:"https://github.com/polkadot-js/api/blob/73a5ea1/packages/types/src/primitive/H256.ts#L15",target:"_blank",rel:"noopener noreferrer"}},[e._v("primitive/H256.ts:15"),r("OutboundLink")],1)])]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" value")]),e._v(" "),r("td",[r("router-link",{attrs:{to:"/types/modules/_types_.html#anyu8a"}},[e._v("AnyU8a")])],1)])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("router-link",{attrs:{to:"/types/classes/_type_seedof_.seedof.html"}},[e._v("SeedOf")])],1),e._v(" "),r("hr"),e._v(" "),r("h1",{attrs:{id:"properties"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#properties","aria-hidden":"true"}},[e._v("#")]),e._v(" Properties")]),e._v(" "),r("p",[r("a",{attrs:{id:"bytes_per_element"}})]),e._v(" "),r("h2",{attrs:{id:"bytes-per-element"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#bytes-per-element","aria-hidden":"true"}},[e._v("#")]),e._v(" BYTES_PER_ELEMENT")]),e._v(" "),r("p",[r("strong",[e._v("● BYTES_PER_ELEMENT")]),e._v(": "),r("em",[r("code",[e._v("number")])])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Uint8Array.BYTES_PER_ELEMENT")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:1962")])]),e._v(" "),r("p",[e._v("The size in bytes of each element in the array.")]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"___tostringtag"}})]),e._v(" "),r("h2",{attrs:{id:"tostringtag"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#tostringtag","aria-hidden":"true"}},[e._v("#")]),e._v(" __@toStringTag")]),e._v(" "),r("p",[r("strong",[e._v("● __@toStringTag")]),e._v(": "),r("em",[e._v('"UInt8Array"')])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Uint8Array.[Symbol.toStringTag]")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts:276")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"buffer"}})]),e._v(" "),r("h2",{attrs:{id:"buffer"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#buffer","aria-hidden":"true"}},[e._v("#")]),e._v(" buffer")]),e._v(" "),r("p",[r("strong",[e._v("● buffer")]),e._v(": "),r("em",[r("code",[e._v("ArrayBufferLike")])])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Uint8Array.buffer")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:1967")])]),e._v(" "),r("p",[e._v("The ArrayBuffer instance referenced by the array.")]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"bytelength"}})]),e._v(" "),r("h2",{attrs:{id:"bytelength"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#bytelength","aria-hidden":"true"}},[e._v("#")]),e._v(" byteLength")]),e._v(" "),r("p",[r("strong",[e._v("● byteLength")]),e._v(": "),r("em",[r("code",[e._v("number")])])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Uint8Array.byteLength")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:1972")])]),e._v(" "),r("p",[e._v("The length in bytes of the array.")]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"byteoffset"}})]),e._v(" "),r("h2",{attrs:{id:"byteoffset"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#byteoffset","aria-hidden":"true"}},[e._v("#")]),e._v(" byteOffset")]),e._v(" "),r("p",[r("strong",[e._v("● byteOffset")]),e._v(": "),r("em",[r("code",[e._v("number")])])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Uint8Array.byteOffset")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:1977")])]),e._v(" "),r("p",[e._v("The offset in bytes of the array.")]),e._v(" "),r("hr"),e._v(" "),r("h1",{attrs:{id:"accessors"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#accessors","aria-hidden":"true"}},[e._v("#")]),e._v(" Accessors")]),e._v(" "),r("p",[r("a",{attrs:{id:"encodedlength"}})]),e._v(" "),r("h2",{attrs:{id:"encodedlength"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#encodedlength","aria-hidden":"true"}},[e._v("#")]),e._v(" encodedLength")]),e._v(" "),r("p",[r("strong",[e._v("get encodedLength")]),e._v("(): "),r("code",[e._v("number")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from "),r("router-link",{attrs:{to:"/types/classes/_codec_u8a_.u8a.html"}},[e._v("U8a")]),e._v("."),r("router-link",{attrs:{to:"/types/classes/_codec_u8a_.u8a.html#encodedlength"}},[e._v("encodedLength")])],1)]),e._v(" "),r("p",[r("em",[e._v("Defined in "),r("a",{attrs:{href:"https://github.com/polkadot-js/api/blob/73a5ea1/packages/types/src/codec/U8a.ts#L36",target:"_blank",rel:"noopener noreferrer"}},[e._v("codec/U8a.ts:36"),r("OutboundLink")],1)])]),e._v(" "),r("p",[r("em",[r("strong",[e._v("description")])]),e._v(": The length of the value when encoded as a Uint8Array")]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("number")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"isempty"}})]),e._v(" "),r("h2",{attrs:{id:"isempty"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#isempty","aria-hidden":"true"}},[e._v("#")]),e._v(" isEmpty")]),e._v(" "),r("p",[r("strong",[e._v("get isEmpty")]),e._v("(): "),r("code",[e._v("boolean")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from "),r("router-link",{attrs:{to:"/types/classes/_codec_u8a_.u8a.html"}},[e._v("U8a")]),e._v("."),r("router-link",{attrs:{to:"/types/classes/_codec_u8a_.u8a.html#isempty"}},[e._v("isEmpty")])],1)]),e._v(" "),r("p",[r("em",[e._v("Defined in "),r("a",{attrs:{href:"https://github.com/polkadot-js/api/blob/73a5ea1/packages/types/src/codec/U8a.ts#L43",target:"_blank",rel:"noopener noreferrer"}},[e._v("codec/U8a.ts:43"),r("OutboundLink")],1)])]),e._v(" "),r("p",[r("em",[r("strong",[e._v("description")])]),e._v(": Returns true if the type wraps an empty/default all-0 value")]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("boolean")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"length"}})]),e._v(" "),r("h2",{attrs:{id:"length"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#length","aria-hidden":"true"}},[e._v("#")]),e._v(" length")]),e._v(" "),r("p",[r("strong",[e._v("get length")]),e._v("(): "),r("code",[e._v("number")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from "),r("router-link",{attrs:{to:"/types/classes/_codec_u8a_.u8a.html"}},[e._v("U8a")]),e._v("."),r("router-link",{attrs:{to:"/types/classes/_codec_u8a_.u8a.html#length"}},[e._v("length")])],1)]),e._v(" "),r("p",[r("em",[e._v("Overrides Uint8Array.length")])]),e._v(" "),r("p",[r("em",[e._v("Defined in "),r("a",{attrs:{href:"https://github.com/polkadot-js/api/blob/73a5ea1/packages/types/src/codec/U8a.ts#L50",target:"_blank",rel:"noopener noreferrer"}},[e._v("codec/U8a.ts:50"),r("OutboundLink")],1)])]),e._v(" "),r("p",[r("em",[r("strong",[e._v("description")])]),e._v(": The length of the value")]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("number")])]),e._v(" "),r("hr"),e._v(" "),r("h1",{attrs:{id:"methods"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#methods","aria-hidden":"true"}},[e._v("#")]),e._v(" Methods")]),e._v(" "),r("p",[r("a",{attrs:{id:"___iterator"}})]),e._v(" "),r("h2",{attrs:{id:"iterator"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#iterator","aria-hidden":"true"}},[e._v("#")]),e._v(" __@iterator")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("__@iterator")]),e._v("(): "),r("code",[e._v("IterableIterator")]),e._v("<"),r("code",[e._v("number")]),e._v(">")]),e._v(" "),r("p",[r("em",[e._v("Inherited from Uint8Array.[Symbol.iterator]")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.iterable.d.ts:267")])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("IterableIterator")]),e._v("<"),r("code",[e._v("number")]),e._v(">")]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"bitlength"}})]),e._v(" "),r("h2",{attrs:{id:"bitlength"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#bitlength","aria-hidden":"true"}},[e._v("#")]),e._v(" bitLength")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("bitLength")]),e._v("(): "),r("code",[e._v("number")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from "),r("router-link",{attrs:{to:"/types/classes/_codec_u8afixed_.u8afixed.html"}},[e._v("U8aFixed")]),e._v("."),r("router-link",{attrs:{to:"/types/classes/_codec_u8afixed_.u8afixed.html#bitlength"}},[e._v("bitLength")])],1)]),e._v(" "),r("p",[r("em",[e._v("Defined in "),r("a",{attrs:{href:"https://github.com/polkadot-js/api/blob/73a5ea1/packages/types/src/codec/U8aFixed.ts#L52",target:"_blank",rel:"noopener noreferrer"}},[e._v("codec/U8aFixed.ts:52"),r("OutboundLink")],1)])]),e._v(" "),r("p",[r("em",[r("strong",[e._v("description")])]),e._v(": Returns the number of bits in the value")]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("number")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"copywithin"}})]),e._v(" "),r("h2",{attrs:{id:"copywithin"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#copywithin","aria-hidden":"true"}},[e._v("#")]),e._v(" copyWithin")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("copyWithin")]),e._v("(target: "),r("em",[r("code",[e._v("number")])]),e._v(", start: "),r("em",[r("code",[e._v("number")])]),e._v(", end?: "),r("em",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("number")])]),e._v("): "),r("code",[e._v("this")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Uint8Array.copyWithin")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:1988")])]),e._v(" "),r("p",[e._v("Returns the this object after copying a section of the array identified by start and end to the same array starting at position target")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("target")]),e._v(" "),r("td",[r("code",[e._v("number")])]),e._v(" "),r("td",[e._v("If target is negative, it is treated as length+target where length is the length of the array.")])]),e._v(" "),r("tr",[r("td",[e._v("start")]),e._v(" "),r("td",[r("code",[e._v("number")])]),e._v(" "),r("td",[e._v("If start is negative, it is treated as length+start. If end is negative, it is treated as length+end.")])]),e._v(" "),r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" end")]),e._v(" "),r("td",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("number")])]),e._v(" "),r("td",[e._v("If not specified, length of the this object is used as its default value.")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("this")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"entries"}})]),e._v(" "),r("h2",{attrs:{id:"entries"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#entries","aria-hidden":"true"}},[e._v("#")]),e._v(" entries")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("entries")]),e._v("(): "),r("code",[e._v("IterableIterator")]),e._v("<["),r("code",[e._v("number")]),e._v(", "),r("code",[e._v("number")]),e._v("]>")]),e._v(" "),r("p",[r("em",[e._v("Inherited from Uint8Array.entries")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.iterable.d.ts:271")])]),e._v(" "),r("p",[e._v("Returns an array of key, value pairs for every entry in the array")]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("IterableIterator")]),e._v("<["),r("code",[e._v("number")]),e._v(", "),r("code",[e._v("number")]),e._v("]>")]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"eq"}})]),e._v(" "),r("h2",{attrs:{id:"eq"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#eq","aria-hidden":"true"}},[e._v("#")]),e._v(" eq")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("eq")]),e._v("(other?: "),r("em",[r("code",[e._v("any")])]),e._v("): "),r("code",[e._v("boolean")])]),e._v(" "),r("p",[r("em",[e._v("Implementation of "),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")]),e._v("."),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html#eq"}},[e._v("eq")])],1)]),e._v(" "),r("p",[r("em",[e._v("Inherited from "),r("router-link",{attrs:{to:"/types/classes/_codec_u8a_.u8a.html"}},[e._v("U8a")]),e._v("."),r("router-link",{attrs:{to:"/types/classes/_codec_u8a_.u8a.html#eq"}},[e._v("eq")])],1)]),e._v(" "),r("p",[r("em",[e._v("Defined in "),r("a",{attrs:{href:"https://github.com/polkadot-js/api/blob/73a5ea1/packages/types/src/codec/U8a.ts#L58",target:"_blank",rel:"noopener noreferrer"}},[e._v("codec/U8a.ts:58"),r("OutboundLink")],1)])]),e._v(" "),r("p",[r("em",[r("strong",[e._v("description")])]),e._v(": Compares the value of the input to see if there is a match")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" other")]),e._v(" "),r("td",[r("code",[e._v("any")])])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("boolean")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"every"}})]),e._v(" "),r("h2",{attrs:{id:"every"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#every","aria-hidden":"true"}},[e._v("#")]),e._v(" every")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("every")]),e._v("(callbackfn: "),r("em",[r("code",[e._v("function")])]),e._v(", thisArg?: "),r("em",[r("code",[e._v("any")])]),e._v("): "),r("code",[e._v("boolean")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Uint8Array.every")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:1998")])]),e._v(" "),r("p",[e._v("Determines whether all the members of an array satisfy the specified test.")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("callbackfn")]),e._v(" "),r("td",[r("code",[e._v("function")])]),e._v(" "),r("td",[e._v("A function that accepts up to three arguments. The every method calls the callbackfn function for each element in array1 until the callbackfn returns false, or until the end of the array.")])]),e._v(" "),r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" thisArg")]),e._v(" "),r("td",[r("code",[e._v("any")])]),e._v(" "),r("td",[e._v("An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("boolean")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"fill"}})]),e._v(" "),r("h2",{attrs:{id:"fill"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#fill","aria-hidden":"true"}},[e._v("#")]),e._v(" fill")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("fill")]),e._v("(value: "),r("em",[r("code",[e._v("number")])]),e._v(", start?: "),r("em",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("number")])]),e._v(", end?: "),r("em",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("number")])]),e._v("): "),r("code",[e._v("this")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Uint8Array.fill")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:2008")])]),e._v(" "),r("p",[e._v("Returns the this object after filling the section identified by start and end with value")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("value")]),e._v(" "),r("td",[r("code",[e._v("number")])]),e._v(" "),r("td",[e._v("value to fill array section with")])]),e._v(" "),r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" start")]),e._v(" "),r("td",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("number")])]),e._v(" "),r("td",[e._v("index to start filling the array at. If start is negative, it is treated as length+start where length is the length of the array.")])]),e._v(" "),r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" end")]),e._v(" "),r("td",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("number")])]),e._v(" "),r("td",[e._v("index to stop filling the array at. If end is negative, it is treated as length+end.")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("this")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"filter"}})]),e._v(" "),r("h2",{attrs:{id:"filter"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#filter","aria-hidden":"true"}},[e._v("#")]),e._v(" filter")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("filter")]),e._v("(callbackfn: "),r("em",[r("code",[e._v("function")])]),e._v(", thisArg?: "),r("em",[r("code",[e._v("any")])]),e._v("): "),r("code",[e._v("Uint8Array")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Uint8Array.filter")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:2017")])]),e._v(" "),r("p",[e._v("Returns the elements of an array that meet the condition specified in a callback function.")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("callbackfn")]),e._v(" "),r("td",[r("code",[e._v("function")])]),e._v(" "),r("td",[e._v("A function that accepts up to three arguments. The filter method calls the callbackfn function one time for each element in the array.")])]),e._v(" "),r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" thisArg")]),e._v(" "),r("td",[r("code",[e._v("any")])]),e._v(" "),r("td",[e._v("An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("Uint8Array")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"find"}})]),e._v(" "),r("h2",{attrs:{id:"find"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#find","aria-hidden":"true"}},[e._v("#")]),e._v(" find")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("find")]),e._v("(predicate: "),r("em",[r("code",[e._v("function")])]),e._v(", thisArg?: "),r("em",[r("code",[e._v("any")])]),e._v("): "),r("code",[e._v("number")]),e._v(" | "),r("code",[e._v("undefined")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Uint8Array.find")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:2028")])]),e._v(" "),r("p",[e._v("Returns the value of the first element in the array where predicate is true, and undefined otherwise.")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("predicate")]),e._v(" "),r("td",[r("code",[e._v("function")])]),e._v(" "),r("td",[e._v("find calls predicate once for each element of the array, in ascending order, until it finds one where predicate returns true. If such an element is found, find immediately returns that element value. Otherwise, find returns undefined.")])]),e._v(" "),r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" thisArg")]),e._v(" "),r("td",[r("code",[e._v("any")])]),e._v(" "),r("td",[e._v("If provided, it will be used as the this value for each invocation of predicate. If it is not provided, undefined is used instead.")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("number")]),e._v(" | "),r("code",[e._v("undefined")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"findindex"}})]),e._v(" "),r("h2",{attrs:{id:"findindex"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#findindex","aria-hidden":"true"}},[e._v("#")]),e._v(" findIndex")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("findIndex")]),e._v("(predicate: "),r("em",[r("code",[e._v("function")])]),e._v(", thisArg?: "),r("em",[r("code",[e._v("any")])]),e._v("): "),r("code",[e._v("number")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Uint8Array.findIndex")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:2039")])]),e._v(" "),r("p",[e._v("Returns the index of the first element in the array where predicate is true, and -1 otherwise.")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("predicate")]),e._v(" "),r("td",[r("code",[e._v("function")])]),e._v(" "),r("td",[e._v("find calls predicate once for each element of the array, in ascending order, until it finds one where predicate returns true. If such an element is found, findIndex immediately returns that element index. Otherwise, findIndex returns -1.")])]),e._v(" "),r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" thisArg")]),e._v(" "),r("td",[r("code",[e._v("any")])]),e._v(" "),r("td",[e._v("If provided, it will be used as the this value for each invocation of predicate. If it is not provided, undefined is used instead.")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("number")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"foreach"}})]),e._v(" "),r("h2",{attrs:{id:"foreach"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#foreach","aria-hidden":"true"}},[e._v("#")]),e._v(" forEach")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("forEach")]),e._v("(callbackfn: "),r("em",[r("code",[e._v("function")])]),e._v(", thisArg?: "),r("em",[r("code",[e._v("any")])]),e._v("): "),r("code",[e._v("void")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Uint8Array.forEach")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:2048")])]),e._v(" "),r("p",[e._v("Performs the specified action for each element in an array.")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("callbackfn")]),e._v(" "),r("td",[r("code",[e._v("function")])]),e._v(" "),r("td",[e._v("A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.")])]),e._v(" "),r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" thisArg")]),e._v(" "),r("td",[r("code",[e._v("any")])]),e._v(" "),r("td",[e._v("An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("void")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"includes"}})]),e._v(" "),r("h2",{attrs:{id:"includes"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#includes","aria-hidden":"true"}},[e._v("#")]),e._v(" includes")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("includes")]),e._v("(searchElement: "),r("em",[r("code",[e._v("number")])]),e._v(", fromIndex?: "),r("em",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("number")])]),e._v("): "),r("code",[e._v("boolean")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Uint8Array.includes")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2016.array.include.d.ts:54")])]),e._v(" "),r("p",[e._v("Determines whether an array includes a certain element, returning true or false as appropriate.")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("searchElement")]),e._v(" "),r("td",[r("code",[e._v("number")])]),e._v(" "),r("td",[e._v("The element to search for.")])]),e._v(" "),r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" fromIndex")]),e._v(" "),r("td",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("number")])]),e._v(" "),r("td",[e._v("The position in this array at which to begin searching for searchElement.")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("boolean")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"indexof"}})]),e._v(" "),r("h2",{attrs:{id:"indexof"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#indexof","aria-hidden":"true"}},[e._v("#")]),e._v(" indexOf")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("indexOf")]),e._v("(searchElement: "),r("em",[r("code",[e._v("number")])]),e._v(", fromIndex?: "),r("em",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("number")])]),e._v("): "),r("code",[e._v("number")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Uint8Array.indexOf")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:2056")])]),e._v(" "),r("p",[e._v("Returns the index of the first occurrence of a value in an array.")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("searchElement")]),e._v(" "),r("td",[r("code",[e._v("number")])]),e._v(" "),r("td",[e._v("The value to locate in the array.")])]),e._v(" "),r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" fromIndex")]),e._v(" "),r("td",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("number")])]),e._v(" "),r("td",[e._v("The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("number")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"join"}})]),e._v(" "),r("h2",{attrs:{id:"join"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#join","aria-hidden":"true"}},[e._v("#")]),e._v(" join")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("join")]),e._v("(separator?: "),r("em",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("string")])]),e._v("): "),r("code",[e._v("string")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Uint8Array.join")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:2063")])]),e._v(" "),r("p",[e._v("Adds all the elements of an array separated by the specified separator string.")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" separator")]),e._v(" "),r("td",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("string")])]),e._v(" "),r("td",[e._v("A string used to separate one element of an array from the next in the resulting String. If omitted, the array elements are separated with a comma.")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("string")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"keys"}})]),e._v(" "),r("h2",{attrs:{id:"keys"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#keys","aria-hidden":"true"}},[e._v("#")]),e._v(" keys")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("keys")]),e._v("(): "),r("code",[e._v("IterableIterator")]),e._v("<"),r("code",[e._v("number")]),e._v(">")]),e._v(" "),r("p",[r("em",[e._v("Inherited from Uint8Array.keys")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.iterable.d.ts:275")])]),e._v(" "),r("p",[e._v("Returns an list of keys in the array")]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("IterableIterator")]),e._v("<"),r("code",[e._v("number")]),e._v(">")]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"lastindexof"}})]),e._v(" "),r("h2",{attrs:{id:"lastindexof"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#lastindexof","aria-hidden":"true"}},[e._v("#")]),e._v(" lastIndexOf")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("lastIndexOf")]),e._v("(searchElement: "),r("em",[r("code",[e._v("number")])]),e._v(", fromIndex?: "),r("em",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("number")])]),e._v("): "),r("code",[e._v("number")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Uint8Array.lastIndexOf")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:2071")])]),e._v(" "),r("p",[e._v("Returns the index of the last occurrence of a value in an array.")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("searchElement")]),e._v(" "),r("td",[r("code",[e._v("number")])]),e._v(" "),r("td",[e._v("The value to locate in the array.")])]),e._v(" "),r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" fromIndex")]),e._v(" "),r("td",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("number")])]),e._v(" "),r("td",[e._v("The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("number")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"map"}})]),e._v(" "),r("h2",{attrs:{id:"map"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#map","aria-hidden":"true"}},[e._v("#")]),e._v(" map")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("map")]),e._v("(callbackfn: "),r("em",[r("code",[e._v("function")])]),e._v(", thisArg?: "),r("em",[r("code",[e._v("any")])]),e._v("): "),r("code",[e._v("Uint8Array")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Uint8Array.map")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:2086")])]),e._v(" "),r("p",[e._v("Calls a defined callback function on each element of an array, and returns an array that contains the results.")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("callbackfn")]),e._v(" "),r("td",[r("code",[e._v("function")])]),e._v(" "),r("td",[e._v("A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.")])]),e._v(" "),r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" thisArg")]),e._v(" "),r("td",[r("code",[e._v("any")])]),e._v(" "),r("td",[e._v("An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("Uint8Array")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"reduce"}})]),e._v(" "),r("h2",{attrs:{id:"reduce"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#reduce","aria-hidden":"true"}},[e._v("#")]),e._v(" reduce")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("reduce")]),e._v("(callbackfn: "),r("em",[r("code",[e._v("function")])]),e._v("): "),r("code",[e._v("number")])]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("reduce")]),e._v("(callbackfn: "),r("em",[r("code",[e._v("function")])]),e._v(", initialValue: "),r("em",[r("code",[e._v("number")])]),e._v("): "),r("code",[e._v("number")])]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("reduce")]),e._v("<"),r("code",[e._v("U")]),e._v(">(callbackfn: "),r("em",[r("code",[e._v("function")])]),e._v(", initialValue: "),r("em",[r("code",[e._v("U")])]),e._v("): "),r("code",[e._v("U")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Uint8Array.reduce")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:2098")])]),e._v(" "),r("p",[e._v("Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("callbackfn")]),e._v(" "),r("td",[r("code",[e._v("function")])]),e._v(" "),r("td",[e._v("A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("number")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Uint8Array.reduce")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:2099")])]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("callbackfn")]),e._v(" "),r("td",[r("code",[e._v("function")])])]),e._v(" "),r("tr",[r("td",[e._v("initialValue")]),e._v(" "),r("td",[r("code",[e._v("number")])])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("number")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Uint8Array.reduce")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:2111")])]),e._v(" "),r("p",[e._v("Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.")]),e._v(" "),r("p",[r("strong",[e._v("Type parameters:")])]),e._v(" "),r("h4",{attrs:{id:"u"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#u","aria-hidden":"true"}},[e._v("#")]),e._v(" U")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("callbackfn")]),e._v(" "),r("td",[r("code",[e._v("function")])]),e._v(" "),r("td",[e._v("A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.")])]),e._v(" "),r("tr",[r("td",[e._v("initialValue")]),e._v(" "),r("td",[r("code",[e._v("U")])]),e._v(" "),r("td",[e._v("If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("U")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"reduceright"}})]),e._v(" "),r("h2",{attrs:{id:"reduceright"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#reduceright","aria-hidden":"true"}},[e._v("#")]),e._v(" reduceRight")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("reduceRight")]),e._v("(callbackfn: "),r("em",[r("code",[e._v("function")])]),e._v("): "),r("code",[e._v("number")])]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("reduceRight")]),e._v("(callbackfn: "),r("em",[r("code",[e._v("function")])]),e._v(", initialValue: "),r("em",[r("code",[e._v("number")])]),e._v("): "),r("code",[e._v("number")])]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("reduceRight")]),e._v("<"),r("code",[e._v("U")]),e._v(">(callbackfn: "),r("em",[r("code",[e._v("function")])]),e._v(", initialValue: "),r("em",[r("code",[e._v("U")])]),e._v("): "),r("code",[e._v("U")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Uint8Array.reduceRight")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:2123")])]),e._v(" "),r("p",[e._v("Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("callbackfn")]),e._v(" "),r("td",[r("code",[e._v("function")])]),e._v(" "),r("td",[e._v("A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("number")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Uint8Array.reduceRight")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:2124")])]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("callbackfn")]),e._v(" "),r("td",[r("code",[e._v("function")])])]),e._v(" "),r("tr",[r("td",[e._v("initialValue")]),e._v(" "),r("td",[r("code",[e._v("number")])])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("number")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Uint8Array.reduceRight")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:2136")])]),e._v(" "),r("p",[e._v("Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.")]),e._v(" "),r("p",[r("strong",[e._v("Type parameters:")])]),e._v(" "),r("h4",{attrs:{id:"u-2"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#u-2","aria-hidden":"true"}},[e._v("#")]),e._v(" U")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("callbackfn")]),e._v(" "),r("td",[r("code",[e._v("function")])]),e._v(" "),r("td",[e._v("A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.")])]),e._v(" "),r("tr",[r("td",[e._v("initialValue")]),e._v(" "),r("td",[r("code",[e._v("U")])]),e._v(" "),r("td",[e._v("If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("U")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"reverse"}})]),e._v(" "),r("h2",{attrs:{id:"reverse"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#reverse","aria-hidden":"true"}},[e._v("#")]),e._v(" reverse")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("reverse")]),e._v("(): "),r("code",[e._v("Uint8Array")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Uint8Array.reverse")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:2141")])]),e._v(" "),r("p",[e._v("Reverses the elements in an Array.")]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("Uint8Array")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"set"}})]),e._v(" "),r("h2",{attrs:{id:"set"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#set","aria-hidden":"true"}},[e._v("#")]),e._v(" set")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("set")]),e._v("(array: "),r("em",[r("code",[e._v("ArrayLike")]),e._v("<"),r("code",[e._v("number")]),e._v(">")]),e._v(", offset?: "),r("em",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("number")])]),e._v("): "),r("code",[e._v("void")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Uint8Array.set")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:2148")])]),e._v(" "),r("p",[e._v("Sets a value or an array of values.")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("array")]),e._v(" "),r("td",[r("code",[e._v("ArrayLike")]),e._v("<"),r("code",[e._v("number")]),e._v(">")]),e._v(" "),r("td",[e._v("A typed or untyped array of values to set.")])]),e._v(" "),r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" offset")]),e._v(" "),r("td",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("number")])]),e._v(" "),r("td",[e._v("The index in the current array at which the values are to be written.")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("void")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"slice"}})]),e._v(" "),r("h2",{attrs:{id:"slice"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#slice","aria-hidden":"true"}},[e._v("#")]),e._v(" slice")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("slice")]),e._v("(start?: "),r("em",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("number")])]),e._v(", end?: "),r("em",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("number")])]),e._v("): "),r("code",[e._v("Uint8Array")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Uint8Array.slice")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:2155")])]),e._v(" "),r("p",[e._v("Returns a section of an array.")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" start")]),e._v(" "),r("td",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("number")])]),e._v(" "),r("td",[e._v("The beginning of the specified portion of the array.")])]),e._v(" "),r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" end")]),e._v(" "),r("td",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("number")])]),e._v(" "),r("td",[e._v("The end of the specified portion of the array.")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("Uint8Array")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"some"}})]),e._v(" "),r("h2",{attrs:{id:"some"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#some","aria-hidden":"true"}},[e._v("#")]),e._v(" some")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("some")]),e._v("(callbackfn: "),r("em",[r("code",[e._v("function")])]),e._v(", thisArg?: "),r("em",[r("code",[e._v("any")])]),e._v("): "),r("code",[e._v("boolean")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Uint8Array.some")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:2165")])]),e._v(" "),r("p",[e._v("Determines whether the specified callback function returns true for any element of an array.")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("callbackfn")]),e._v(" "),r("td",[r("code",[e._v("function")])]),e._v(" "),r("td",[e._v("A function that accepts up to three arguments. The some method calls the callbackfn function for each element in array1 until the callbackfn returns true, or until the end of the array.")])]),e._v(" "),r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" thisArg")]),e._v(" "),r("td",[r("code",[e._v("any")])]),e._v(" "),r("td",[e._v("An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("boolean")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"sort"}})]),e._v(" "),r("h2",{attrs:{id:"sort"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#sort","aria-hidden":"true"}},[e._v("#")]),e._v(" sort")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("sort")]),e._v("(compareFn?: "),r("em",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("function")])]),e._v("): "),r("code",[e._v("this")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Uint8Array.sort")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:2172")])]),e._v(" "),r("p",[e._v("Sorts an array.")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" compareFn")]),e._v(" "),r("td",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("function")])]),e._v(" "),r("td",[e._v("The name of the function used to determine the order of the elements. If omitted, the elements are sorted in ascending, ASCII character order.")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("this")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"subarray"}})]),e._v(" "),r("h2",{attrs:{id:"subarray"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#subarray","aria-hidden":"true"}},[e._v("#")]),e._v(" subarray")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("subarray")]),e._v("(begin: "),r("em",[r("code",[e._v("number")])]),e._v(", end?: "),r("em",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("number")])]),e._v("): "),r("code",[e._v("Uint8Array")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from "),r("router-link",{attrs:{to:"/types/classes/_codec_u8a_.u8a.html"}},[e._v("U8a")]),e._v("."),r("router-link",{attrs:{to:"/types/classes/_codec_u8a_.u8a.html#subarray"}},[e._v("subarray")])],1)]),e._v(" "),r("p",[r("em",[e._v("Overrides Uint8Array.subarray")])]),e._v(" "),r("p",[r("em",[e._v("Defined in "),r("a",{attrs:{href:"https://github.com/polkadot-js/api/blob/73a5ea1/packages/types/src/codec/U8a.ts#L73",target:"_blank",rel:"noopener noreferrer"}},[e._v("codec/U8a.ts:73"),r("OutboundLink")],1)])]),e._v(" "),r("p",[r("em",[r("strong",[e._v("description")])]),e._v(": Create a new subarray from the actual buffer. This is needed for compat reasons since a new Uint8Array gets returned here")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("begin")]),e._v(" "),r("td",[r("code",[e._v("number")])]),e._v(" "),r("td",[e._v("The position to start at")])]),e._v(" "),r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" end")]),e._v(" "),r("td",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("number")])]),e._v(" "),r("td",[e._v("The position to end at")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("Uint8Array")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"tohex"}})]),e._v(" "),r("h2",{attrs:{id:"tohex"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#tohex","aria-hidden":"true"}},[e._v("#")]),e._v(" toHex")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("toHex")]),e._v("(): "),r("code",[e._v("string")])]),e._v(" "),r("p",[r("em",[e._v("Implementation of "),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")]),e._v("."),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html#tohex"}},[e._v("toHex")])],1)]),e._v(" "),r("p",[r("em",[e._v("Inherited from "),r("router-link",{attrs:{to:"/types/classes/_codec_u8a_.u8a.html"}},[e._v("U8a")]),e._v("."),r("router-link",{attrs:{to:"/types/classes/_codec_u8a_.u8a.html#tohex"}},[e._v("toHex")])],1)]),e._v(" "),r("p",[r("em",[e._v("Defined in "),r("a",{attrs:{href:"https://github.com/polkadot-js/api/blob/73a5ea1/packages/types/src/codec/U8a.ts#L80",target:"_blank",rel:"noopener noreferrer"}},[e._v("codec/U8a.ts:80"),r("OutboundLink")],1)])]),e._v(" "),r("p",[r("em",[r("strong",[e._v("description")])]),e._v(": Returns a hex string representation of the value")]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("string")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"tojson"}})]),e._v(" "),r("h2",{attrs:{id:"tojson"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#tojson","aria-hidden":"true"}},[e._v("#")]),e._v(" toJSON")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("toJSON")]),e._v("(): "),r("code",[e._v("any")])]),e._v(" "),r("p",[r("em",[e._v("Implementation of "),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")]),e._v("."),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html#tojson"}},[e._v("toJSON")])],1)]),e._v(" "),r("p",[r("em",[e._v("Inherited from "),r("router-link",{attrs:{to:"/types/classes/_codec_u8a_.u8a.html"}},[e._v("U8a")]),e._v("."),r("router-link",{attrs:{to:"/types/classes/_codec_u8a_.u8a.html#tojson"}},[e._v("toJSON")])],1)]),e._v(" "),r("p",[r("em",[e._v("Defined in "),r("a",{attrs:{href:"https://github.com/polkadot-js/api/blob/73a5ea1/packages/types/src/codec/U8a.ts#L87",target:"_blank",rel:"noopener noreferrer"}},[e._v("codec/U8a.ts:87"),r("OutboundLink")],1)])]),e._v(" "),r("p",[r("em",[r("strong",[e._v("description")])]),e._v(": Converts the Object to JSON, typically used for RPC transfers")]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("any")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"tolocalestring"}})]),e._v(" "),r("h2",{attrs:{id:"tolocalestring"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#tolocalestring","aria-hidden":"true"}},[e._v("#")]),e._v(" toLocaleString")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("toLocaleString")]),e._v("(): "),r("code",[e._v("string")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Uint8Array.toLocaleString")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:2185")])]),e._v(" "),r("p",[e._v("Converts a number to a string by using the current locale.")]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("string")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"tostring"}})]),e._v(" "),r("h2",{attrs:{id:"tostring"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#tostring","aria-hidden":"true"}},[e._v("#")]),e._v(" toString")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("toString")]),e._v("(): "),r("code",[e._v("string")])]),e._v(" "),r("p",[r("em",[e._v("Implementation of "),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")]),e._v("."),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html#tostring"}},[e._v("toString")])],1)]),e._v(" "),r("p",[r("em",[e._v("Inherited from "),r("router-link",{attrs:{to:"/types/classes/_codec_u8a_.u8a.html"}},[e._v("U8a")]),e._v("."),r("router-link",{attrs:{to:"/types/classes/_codec_u8a_.u8a.html#tostring"}},[e._v("toString")])],1)]),e._v(" "),r("p",[r("em",[e._v("Overrides Uint8Array.toString")])]),e._v(" "),r("p",[r("em",[e._v("Defined in "),r("a",{attrs:{href:"https://github.com/polkadot-js/api/blob/73a5ea1/packages/types/src/codec/U8a.ts#L94",target:"_blank",rel:"noopener noreferrer"}},[e._v("codec/U8a.ts:94"),r("OutboundLink")],1)])]),e._v(" "),r("p",[r("em",[r("strong",[e._v("description")])]),e._v(": Returns the string representation of the value")]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("string")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"tou8a"}})]),e._v(" "),r("h2",{attrs:{id:"tou8a"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#tou8a","aria-hidden":"true"}},[e._v("#")]),e._v(" toU8a")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("toU8a")]),e._v("(isBare?: "),r("em",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("false")]),e._v(" | "),r("code",[e._v("true")])]),e._v("): "),r("code",[e._v("Uint8Array")])]),e._v(" "),r("p",[r("em",[e._v("Implementation of "),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")]),e._v("."),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html#tou8a"}},[e._v("toU8a")])],1)]),e._v(" "),r("p",[r("em",[e._v("Inherited from "),r("router-link",{attrs:{to:"/types/classes/_codec_u8a_.u8a.html"}},[e._v("U8a")]),e._v("."),r("router-link",{attrs:{to:"/types/classes/_codec_u8a_.u8a.html#tou8a"}},[e._v("toU8a")])],1)]),e._v(" "),r("p",[r("em",[e._v("Defined in "),r("a",{attrs:{href:"https://github.com/polkadot-js/api/blob/73a5ea1/packages/types/src/codec/U8a.ts#L102",target:"_blank",rel:"noopener noreferrer"}},[e._v("codec/U8a.ts:102"),r("OutboundLink")],1)])]),e._v(" "),r("p",[r("em",[r("strong",[e._v("description")])]),e._v(": Encodes the value as a Uint8Array as per the parity-codec specifications")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" isBare")]),e._v(" "),r("td",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("false")]),e._v(" | "),r("code",[e._v("true")])]),e._v(" "),r("td",[e._v("true when the value has none of the type-specific prefixes (internal)")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("Uint8Array")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"values"}})]),e._v(" "),r("h2",{attrs:{id:"values"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#values","aria-hidden":"true"}},[e._v("#")]),e._v(" values")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("values")]),e._v("(): "),r("code",[e._v("IterableIterator")]),e._v("<"),r("code",[e._v("number")]),e._v(">")]),e._v(" "),r("p",[r("em",[e._v("Inherited from Uint8Array.values")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.iterable.d.ts:279")])]),e._v(" "),r("p",[e._v("Returns an list of values in the array")]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("IterableIterator")]),e._v("<"),r("code",[e._v("number")]),e._v(">")]),e._v(" "),r("hr")])},[],!1,null,null,null);t.default=_.exports}}]); |