Table of Contents

Class NumericExtension

Namespace
Yarhl.IO
Assembly
Yarhl.dll

Extension methods for numeric types.

public static class NumericExtension
Inheritance
NumericExtension
Inherited Members

Methods

Pad(short, int)

Pad the specified address.

public static short Pad(this short address, int padding)

Parameters

address short

Address to pad.

padding int

Padding target.

Returns

short

The address padded.

Pad(int, int)

Pad the specified address.

public static int Pad(this int address, int padding)

Parameters

address int

Address to pad.

padding int

Padding target.

Returns

int

The address padded.

Pad(long, long)

Pad the specified address.

public static long Pad(this long address, long padding)

Parameters

address long

Address to pad.

padding long

Padding target.

Returns

long

The address padded.

Pad(ushort, int)

Pad the specified address.

[CLSCompliant(false)]
public static ushort Pad(this ushort address, int padding)

Parameters

address ushort

Address to pad.

padding int

Padding target.

Returns

ushort

The address padded.

Pad(uint, int)

Pad the specified address.

[CLSCompliant(false)]
public static uint Pad(this uint address, int padding)

Parameters

address uint

Address to pad.

padding int

Padding target.

Returns

uint

The address padded.

Pad(ulong, ulong)

Pad the specified address.

[CLSCompliant(false)]
public static ulong Pad(this ulong address, ulong padding)

Parameters

address ulong

Address to pad.

padding ulong

Padding target.

Returns

ulong

The address padded.