toggle menu
openrs2
jvm
switch theme
search in API
openrs2
/
org.openrs2.patcher
/
Resource
Resource
class
Resource
(
val
source
:
String
,
val
destination
:
String
,
val
checksum
:
Int
,
val
digest
:
ByteArray
,
val
uncompressedSize
:
Int
,
val
content
:
ByteArray
)
Members
Constructors
Resource
Link copied to clipboard
constructor
(
source
:
String
,
destination
:
String
,
checksum
:
Int
,
digest
:
ByteArray
,
uncompressedSize
:
Int
,
content
:
ByteArray
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
checksum
Link copied to clipboard
val
checksum
:
Int
compressed
Size
Link copied to clipboard
val
compressedSize
:
Int
content
Link copied to clipboard
val
content
:
ByteArray
destination
Link copied to clipboard
val
destination
:
String
digest
Link copied to clipboard
val
digest
:
ByteArray
source
Link copied to clipboard
val
source
:
String
source
With
Checksum
Link copied to clipboard
val
sourceWithChecksum
:
String
uncompressed
Size
Link copied to clipboard
val
uncompressedSize
:
Int
Functions
write
Link copied to clipboard
fun
write
(
dir
:
Path
)