Utils

open class Utils

Author

lngtr

Since

2018-02-23

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun adlerHash(input: Array<Byte>): Int
Performs an Adler32 on the given input
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.
Link copied to clipboard
open fun getOSType(): EOSType
Link copied to clipboard
Validate a file against Steam3 Chunk data