multiformats - v14.0.3
Preparing search index...
bytes
fromString
Function fromString
fromString
(
str
:
string
)
:
Uint8Array
<
ArrayBuffer
>
Convert the passed string into a byte array, constraining each character value to a single byte
Parameters
str
:
string
Returns
Uint8Array
<
ArrayBuffer
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
multiformats - v14.0.3
Loading...
Convert the passed string into a byte array, constraining each character value to a single byte