class · System
Exchange
public class System.Exchange : System.Any
- Kind
- class
- Namespace
- System
- Assembly
- System.Core
- Access
- public, static, abstract
- Source file
Exchange.ant
Inheritance
- Base classes
-
AnyExchange
Methods
A packet with a copy of bytes.
static method Pack(text: System.String<u8>) -> u8*
#
A packet with a copy of the text's UTF-8 bytes.
How many bytes a packet carries.
The packet's bytes, copied into this domain; the packet is freed.
static method Text(packet: u8*) -> System.String<u8>
#
The packet's bytes as text of this domain; the packet is freed.
Frees a packet nobody takes.
Private and internal members (2)
Inherited members (5)
GetTypemethod from AnyUndescribedmethod from AnyToStringmethod from AnyHashmethod from Anydestroymethod from Any
Source
Exchange as Larva HIR, decompiled from its Larva HIR.
public class System.Exchange : System.Any
{
static method Allocate(bytes: i64) -> u8*
static method Release(block: u8*) -> void
// A packet with a copy of `bytes`.
static method PackBytes(bytes: u8[]) -> u8*
// A packet with a copy of the text's UTF-8 bytes.
static method Pack(text: System.String<u8>) -> u8*
// How many bytes a packet carries.
static method Length(packet: u8*) -> i32
// The packet's bytes, copied into this domain; the packet is freed.
static method Bytes(packet: u8*) -> u8[]
// The packet's bytes as text of this domain; the packet is freed.
static method Text(packet: u8*) -> System.String<u8>
// Frees a packet nobody takes.
static method Free(packet: u8*) -> void
}