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