Github
Preparing search index...
The search index is not available
Documentation
Documentation
iso-base
utils
buf
Function buf
buf
(
arr
:
string
|
BufferSource
,
encoding
?:
BufferEncoding
,
)
:
Buffer
<
ArrayBufferLike
>
Cast TypedArray to Buffer
Parameters
arr
:
string
|
BufferSource
Optional
encoding
:
BufferEncoding
= 'utf8'
Returns
Buffer
<
ArrayBufferLike
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Github
Documentation
Loading...
Cast TypedArray to Buffer