Header menu logo B2R2

HexString Module

Provides helper functions to construct hexadecimal strings from integers. The hexadecimal string is prefixed with "0x" and is in lowercase. We use these functions to consistently format integer values in hexadecimal representation.

Functions and values

Function or value Description

HexString.ofInt16 v

Full Usage: HexString.ofInt16 v

Parameters:
    v : int16

Returns: string
Modifiers: inline

Convert an int16 value to a hex string.

v : int16
Returns: string

HexString.ofInt32 v

Full Usage: HexString.ofInt32 v

Parameters:
    v : int

Returns: string
Modifiers: inline

Convert an int32 value to a hex string.

v : int
Returns: string

HexString.ofInt64 v

Full Usage: HexString.ofInt64 v

Parameters:
    v : int64

Returns: string
Modifiers: inline

Convert an int64 value to a hex string.

v : int64
Returns: string

HexString.ofUInt16 v

Full Usage: HexString.ofUInt16 v

Parameters:
    v : uint16

Returns: string
Modifiers: inline

Convert a uint16 value to a hex string.

v : uint16
Returns: string

HexString.ofUInt32 v

Full Usage: HexString.ofUInt32 v

Parameters:
    v : uint32

Returns: string
Modifiers: inline

Convert a uint32 value to a hex string.

v : uint32
Returns: string

HexString.ofUInt64 v

Full Usage: HexString.ofUInt64 v

Parameters:
    v : uint64

Returns: string
Modifiers: inline

Convert a uint64 value to a hex string.

v : uint64
Returns: string

Type something to start searching.