24 lines
441 B
Markdown
24 lines
441 B
Markdown
|
|
|
|
# Functions
|
|
|
|
<a id="sharedprefixlength"></a>
|
|
|
|
## sharedPrefixLength
|
|
|
|
▸ **sharedPrefixLength**(first: *`Uint8Array`*, second: *`Uint8Array`*): `number`
|
|
|
|
*Defined in [util/sharedPrefixLength.ts:5](https://github.com/polkadot-js/common/blob/0710c73/packages/trie-codec/src/util/sharedPrefixLength.ts#L5)*
|
|
|
|
**Parameters:**
|
|
|
|
| Name | Type |
|
|
| ------ | ------ |
|
|
| first | `Uint8Array` |
|
|
| second | `Uint8Array` |
|
|
|
|
**Returns:** `number`
|
|
|
|
___
|
|
|