- asHex
Returns a hexadecimal representation of the given byte array.
- changeByteEndianess
Invert two bytes in the given byte array starting at the given offset and
repeating the inversion le
- changeWordEndianess
Invert the endianness of words (4 bytes) in the given byte array starting at the
given offset and re
- encodeString
Encodes the string to a byte array using UTF-16LE or the ASCII charset in
function of the useUnicode
- getOEMStringAsByteArray
Converts an OEM string as defined in NTLM protocol (eg ASCII charset) to a byte
array.
- getUTFStringAsByteArray
Converts an UTF-16LE string as defined in NTLM protocol to a byte array.
- isFlagSet
Returns true if the flag testFlag is set in theflags flagset.
- makeIntFromByte2
Reads an int from 2 bytes of the given array at the given offset.
- makeIntFromByte4
Reads an int from 4 bytes of the given array at the given offset.
- writeInt
Write a 32 bit int as LITTLE_ENDIAN to the given array b at offset offset.
- writeShort
Write a 16 bit short as LITTLE_ENDIAN to the given array b at offset offset.