Address32

Represents a 32-bit address in a PE file.

Constructors

Link copied to clipboard
constructor(value: UInt)

Types

Link copied to clipboard
object Companion
Link copied to clipboard

A serializer for Address32.

Properties

Link copied to clipboard
val value: UInt

the unsigned integer representing the address

Functions

Link copied to clipboard
infix inline fun and(other: UInt): Address32

returns the bitwise and of this address and the given unsigned integer.

infix inline fun and(other: Address32): Address32

returns the bitwise and of this address and the given address.

Link copied to clipboard
open operator override fun compareTo(other: Address32): Int
Link copied to clipboard
inline operator fun minus(other: Address32): Address32

subtracts the given address from this address.

Link copied to clipboard
inline operator fun plus(other: Int): Address32

adds the given integer (treated as an address) to this address.

inline operator fun plus(other: UInt): Address32

adds the given unsigned integer (treated as an address) to this address.

inline operator fun plus(other: Address32): Address32

adds the given address to this address.

Link copied to clipboard
inline fun toInt(): Int

converts this address to an integer.

Link copied to clipboard
open override fun toString(): String

Convert to string in hex format, e.g. "0x12345678"