Table of Contents

Struct PacketContent

Namespace
Xabbo
Assembly
Xabbo.Common.dll

Represents a packet's content as a string.

public readonly record struct PacketContent : IParserComposer<PacketContent>, IComposer, IParser<PacketContent>, IEquatable<PacketContent>
Implements
Inherited Members

Remarks

Only supported on Shockwave. This can only be read or written when the position is at the start of the packet, after which the position will be set to the end of the packet.

Constructors

PacketContent(string)

Represents a packet's content as a string.

public PacketContent(string Value)

Parameters

Value string

Remarks

Only supported on Shockwave. This can only be read or written when the position is at the start of the packet, after which the position will be set to the end of the packet.

Properties

Value

public string Value { get; init; }

Property Value

string

Operators

implicit operator PacketContent(string)

public static implicit operator PacketContent(string value)

Parameters

value string

Returns

PacketContent

implicit operator string(PacketContent)

public static implicit operator string(PacketContent content)

Parameters

content PacketContent

Returns

string