struct · System

UInt8

public struct System.UInt8 : System.INumber<u8>, System.IHashable<u8>, System.IComparable<u8>, System.IToString
Kind
struct
Namespace
System
Assembly
System.Core
Access
public, members of u8
Source file
Primitives.ant

Inheritance

Interfaces
INumber<TSelf> IHashable<TSelf> IComparable<TSelf> IToString

Properties

static property Zero: u8
#

static read-only

static property One: u8
#

static read-only

Methods

static method FromF64(value: f64) -> u8
#

static

static method ToF64(value: u8) -> f64
#

static

method ToString(format: System.String<u8>) -> System.String<u8>
#

As text by a format: D, X, B, N, F, E, P, G and a precision (255.ToString("X4") is "00FF").

method ToString() -> System.String<u8>
#
method Hash() -> u64
#
method Equals(other: u8) -> bool
#
method CompareTo(other: u8) -> i32
#

Constants

static constant MinValue: u8
#

The smallest u8.

static constant MaxValue: u8
#

The largest u8.

Source

UInt8 as Larva HIR, decompiled from its Larva HIR.

System.UInt8.hir
public struct System.UInt8 : System.INumber<u8>, System.IHashable<u8>, System.IComparable<u8>, System.IToString
{
    // The smallest u8.
    static constant MinValue: u8
    // The largest u8.
    static constant MaxValue: u8
    static method FromF64(value: f64) -> u8
    static method ToF64(value: u8) -> f64
    // As text by a format: D, X, B, N, F, E, P, G and a precision (`255.ToString("X4")` is "00FF").
    method ToString(format: System.String<u8>) -> System.String<u8>
    method ToString() -> System.String<u8>
    method Hash() -> u64
    method Equals(other: u8) -> bool
    method CompareTo(other: u8) -> i32
    static property Zero: u8
    static property One: u8
}
Esc