mcbopomofoweb
Preparing search index...
LargeSync/LargeSync
LargeSync
Class LargeSync
Index
Constructors
constructor
Properties
max
Bytes
max
Bytes
Per
Key
version
Methods
basic
Hash
calculate
Max
Length
clear
extract
Keys
get
get
Bytes
In
Use
get
Key
Prefix
get
Keys
get
Request
Keys
get
Storage
Key
reconstruct
remove
set
set
Key
Prefix
split
Constructors
constructor
new
LargeSync
()
:
LargeSync
Returns
LargeSync
Properties
Readonly
max
Bytes
maxBytes
:
number
= chrome.storage.sync.QUOTA_BYTES
Readonly
max
Bytes
Per
Key
maxBytesPerKey
:
number
= chrome.storage.sync.QUOTA_BYTES_PER_ITEM
Readonly
version
version
:
"1.0"
Methods
basic
Hash
basicHash
(
str
:
string
)
:
number
Parameters
str
:
string
Returns
number
calculate
Max
Length
calculateMaxLength
(
key
:
string
,
maxLength
:
number
)
:
number
Parameters
key
:
string
maxLength
:
number
Returns
number
clear
clear
(
callback
:
()
=>
void
)
:
void
Parameters
callback
:
()
=>
void
Returns
void
extract
Keys
extractKeys
(
splitObjects
:
any
)
:
string
[]
Parameters
splitObjects
:
any
Returns
string
[]
get
get
(
keys
:
string
[]
,
callback
:
(
arg
:
{
[
k
:
string
]:
any
}
)
=>
void
)
:
void
Parameters
keys
:
string
[]
callback
:
(
arg
:
{
[
k
:
string
]:
any
}
)
=>
void
Returns
void
get
Bytes
In
Use
getBytesInUse
(
keys
:
string
[]
,
callback
:
()
=>
void
)
:
void
Parameters
keys
:
string
[]
callback
:
()
=>
void
Returns
void
get
Key
Prefix
getKeyPrefix
()
:
string
Returns
string
get
Keys
getKeys
(
keys
:
any
)
:
string
[]
Parameters
keys
:
any
Returns
string
[]
get
Request
Keys
getRequestKeys
(
keys
:
string
[]
)
:
string
[]
Parameters
keys
:
string
[]
Returns
string
[]
get
Storage
Key
getStorageKey
(
key
:
string
,
postfix
:
string
)
:
string
Parameters
key
:
string
postfix
:
string
Returns
string
reconstruct
reconstruct
(
splitObjects
:
any
,
inKeys
?:
undefined
|
string
[]
,
)
:
{
[
k
:
string
]:
any
}
Parameters
splitObjects
:
any
inKeys
:
undefined
|
string
[]
= undefined
Returns
{
[
k
:
string
]:
any
}
remove
remove
(
keys
:
string
[]
,
callback
:
()
=>
void
)
:
void
Parameters
keys
:
string
[]
callback
:
()
=>
void
Returns
void
set
set
(
items
:
{
[
k
:
string
]:
any
}
,
callback
:
()
=>
void
)
:
void
Parameters
items
:
{
[
k
:
string
]:
any
}
callback
:
()
=>
void
Returns
void
set
Key
Prefix
setKeyPrefix
(
val
:
string
)
:
void
Parameters
val
:
string
Returns
void
split
split
(
obj
:
any
,
maxLength
:
number
)
:
object
Parameters
obj
:
any
maxLength
:
number
Returns
object
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
max
Bytes
max
Bytes
Per
Key
version
Methods
basic
Hash
calculate
Max
Length
clear
extract
Keys
get
get
Bytes
In
Use
get
Key
Prefix
get
Keys
get
Request
Keys
get
Storage
Key
reconstruct
remove
set
set
Key
Prefix
split
mcbopomofoweb
Loading...