JavaSteam
Toggle table of contents
1.7.0
jvm
Platform filter
jvm
Switch theme
Search in API
JavaSteam
JavaSteam
/
in.dragonbra.javasteam.util
/
Utils
Utils
open
class
Utils
Author
lngtr
Since
2018-02-23
Members
Constructors
Utils
Link copied to clipboard
constructor
(
)
Functions
adler
Hash
Link copied to clipboard
open
fun
adlerHash
(
input
:
Array
<
Byte
>
)
:
Int
Performs an Adler32 on the given input
crc32
Link copied to clipboard
open
fun
crc32
(
bytes
:
Array
<
Byte
>
)
:
Long
Convenience method for calculating the CRC2 checksum of a byte array.
open
fun
crc32
(
s
:
String
)
:
Long
Convenience method for calculating the CRC2 checksum of a string.
get
OSType
Link copied to clipboard
open
fun
getOSType
(
)
:
EOSType
validate
Steam3File
Checksums
Link copied to clipboard
open
fun
validateSteam3FileChecksums
(
fs
:
RandomAccessFile
,
chunkData
:
Array
<
ChunkData
>
)
:
List
<
ChunkData
>
Validate a file against Steam3 Chunk data