value · System
UInt32
public value UInt32 : INumber<u32>, IHashable<u32>, IComparable<u32>, IToString
- Kind
- value
- Namespace
- System
- Assembly
- System.Core
- Access
- public, members of u32
- Source file
Primitives.ant
Inheritance
Properties
Methods
ToString(str format) : str
#
As text by a format: D, X, B, N, F, E, P, G and a precision (255.ToString("X4") is "00FF").
ToString() : str
#
Constants
Source
UInt32 as Antril, decompiled from its Larva HIR.
// System.UInt32 — System.Core (decompiled from Larva HIR)
into namespace System
{
[Primitive("u32")]
public value UInt32 : INumber<u32>, IHashable<u32>, IComparable<u32>, IToString
{
public:
/// The smallest u32.
const u32 MinValue = 0;
/// The largest u32.
const u32 MaxValue = 4294967295;
[Inline]
static FromF64(f64 value) : u32 => (u32)value;
[Inline]
static ToF64(u32 value) : f64 => value;
/// As text by a format: D, X, B, N, F, E, P, G and a precision (`255.ToString("X4")` is "00FF").
ToString(str format) : str => NumberFormat.FormatInteger(this, 32, false, format);
ToString() : str => Number.FormatUnsigned(this);
Hash() : u64 => this;
Equals(u32 other) : bool => this == other;
CompareTo(u32 other) : i32 => this < other ? -1 : this > other ? 1 : 0;
static u32 Zero
{
get => 0;
}
static u32 One
{
get => 1;
}
}
}