toggle menu
openrs2
jvm
switch theme
search in API
openrs2
/
org.openrs2.cache
/
Js5Pack
/
Companion
Companion
object
Companion
Members
Functions
create
Link copied to clipboard
@
JvmOverloads
@
JvmStatic
fun
create
(
alloc
:
ByteBufAllocator
=
ByteBufAllocator.DEFAULT
,
unpackedCacheSize
:
Int
=
UnpackedCache.DEFAULT_CAPACITY
)
:
Js5Pack
read
Link copied to clipboard
@
JvmOverloads
@
JvmStatic
fun
read
(
input
:
InputStream
,
alloc
:
ByteBufAllocator
=
ByteBufAllocator.DEFAULT
,
unpackedCacheSize
:
Int
=
UnpackedCache.DEFAULT_CAPACITY
)
:
Js5Pack
@
JvmOverloads
@
JvmStatic
fun
read
(
path
:
Path
,
alloc
:
ByteBufAllocator
=
ByteBufAllocator.DEFAULT
,
unpackedCacheSize
:
Int
=
UnpackedCache.DEFAULT_CAPACITY
)
:
Js5Pack