Docs
ext4
API
0.1.1
npm
Preparing search index...
MemoryStore
Class MemoryStore
A store in memory, for the tests and small images. Unwritten bytes read as zero.
Implements
Store
Index
Constructors
constructor
Methods
read
write
Constructors
constructor
new
MemoryStore
()
:
MemoryStore
Returns
MemoryStore
Methods
read
read
(
offset
:
number
,
length
:
number
)
:
Promise
<
Uint8Array
<
ArrayBufferLike
>
>
Parameters
offset
:
number
length
:
number
Returns
Promise
<
Uint8Array
<
ArrayBufferLike
>
>
write
write
(
offset
:
number
,
data
:
Uint8Array
)
:
Promise
<
void
>
Parameters
offset
:
number
data
:
Uint8Array
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
read
write
npm
@glassworks/ext4
Loading...
A store in memory, for the tests and small images. Unwritten bytes read as zero.