Zig 0.17.0-dev (Split by item)

Shortcut keys
?
Show these tips
S
Focus search field
Esc
Clear focus & close tips
U
Jump to source code
↑
Move up in search results
↓
Move down in search results
↵
Go to active search result
This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Public Struct

OutgoingMessage

Public Struct
std.Io.net.OutgoingMessage
pub const OutgoingMessage = struct

Fields

address: *const IpAddress
data_ptr: [*]const u8
data_len: usize

Initialized with how many bytes of data_ptr to send. After sending succeeds, replaced with how many bytes were actually sent.

control: []const u8 = &.{}

File

Io/net.zig:965
965
966
967
968
969
970
971
972
pub const OutgoingMessage = struct {
    address: *const IpAddress,
    data_ptr: [*]const u8,
    /// Initialized with how many bytes of `data_ptr` to send. After sending
    /// succeeds, replaced with how many bytes were actually sent.
    data_len: usize,
    control: []const u8 = &.{},
}