Documentation
Preparing search index...
@mysten/walrus
WalrusFile
Class WalrusFile
Index
Constructors
constructor
Methods
bytes
get
Identifier
get
Tags
json
text
from
Constructors
constructor
new
WalrusFile
(
__namedParameters
:
{
reader
:
FileReader
}
)
:
WalrusFile
Parameters
__namedParameters
:
{
reader
:
FileReader
}
Returns
WalrusFile
Methods
bytes
bytes
()
:
Promise
<
Uint8Array
<
ArrayBufferLike
>
>
Returns
Promise
<
Uint8Array
<
ArrayBufferLike
>
>
get
Identifier
getIdentifier
()
:
Promise
<
null
|
string
>
Returns
Promise
<
null
|
string
>
get
Tags
getTags
()
:
Promise
<
Record
<
string
,
string
>
>
Returns
Promise
<
Record
<
string
,
string
>
>
json
json
()
:
Promise
<
any
>
Returns
Promise
<
any
>
text
text
()
:
Promise
<
string
>
Returns
Promise
<
string
>
Static
from
from
(
options
:
{
contents
:
Uint8Array
<
ArrayBufferLike
>
|
Blob
;
identifier
:
string
;
tags
?:
Record
<
string
,
string
>
;
}
,
)
:
WalrusFile
Parameters
options
:
{
contents
:
Uint8Array
<
ArrayBufferLike
>
|
Blob
;
identifier
:
string
;
tags
?:
Record
<
string
,
string
>
;
}
Returns
WalrusFile
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
bytes
get
Identifier
get
Tags
json
text
from
Documentation
Loading...