1 line
1.7 KiB
JavaScript
1 line
1.7 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[180],{419:function(t,e,r){"use strict";r.r(e);var n=r(37),o=Object(n.a)({},function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[r("h1",{attrs:{id:"functions"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#functions","aria-hidden":"true"}},[t._v("#")]),t._v(" Functions")]),t._v(" "),r("p",[r("a",{attrs:{id:"encodeu8a"}})]),t._v(" "),r("h2",{attrs:{id:"encodeu8a"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#encodeu8a","aria-hidden":"true"}},[t._v("#")]),t._v(" encodeU8a")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("encodeU8a")]),t._v("(encoder: "),r("em",[r("router-link",{attrs:{to:"/util-rlp/modules/_encoder_types_.html#encodefunc"}},[t._v("EncodeFunc")])],1),t._v(", input: "),r("em",[r("code",[t._v("Uint8Array")])]),t._v("): "),r("code",[t._v("Uint8Array")])]),t._v(" "),r("p",[r("em",[t._v("Defined in "),r("a",{attrs:{href:"https://github.com/polkadot-js/common/blob/db4b221/packages/util-rlp/src/encoder/u8a.ts#L11",target:"_blank",rel:"noopener noreferrer"}},[t._v("encoder/u8a.ts:11"),r("OutboundLink")],1)])]),t._v(" "),r("p",[r("strong",[t._v("Parameters:")])]),t._v(" "),r("table",[r("thead",[r("tr",[r("th",[t._v("Name")]),t._v(" "),r("th",[t._v("Type")])])]),t._v(" "),r("tbody",[r("tr",[r("td",[t._v("encoder")]),t._v(" "),r("td",[r("router-link",{attrs:{to:"/util-rlp/modules/_encoder_types_.html#encodefunc"}},[t._v("EncodeFunc")])],1)]),t._v(" "),r("tr",[r("td",[t._v("input")]),t._v(" "),r("td",[r("code",[t._v("Uint8Array")])])])])]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("Uint8Array")])]),t._v(" "),r("hr")])},[],!1,null,null,null);e.default=o.exports}}]); |