value · System
UInt32
public value UInt32 : INumber<u32>, IHashable<u32>, IComparable<u32>, IToString
- Tipo
- value
- Espacio de nombres
- System
- Ensamblado
- System.Core
- Acceso
- public, miembros de u32
- Archivo fuente
Primitives.ant
Herencia
Propiedades
Métodos
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
#
Constantes
Código fuente
UInt32 en Antril, descompilado a partir de su 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;
}
}
}