Class IPEndPointSerializer
- Namespace
- MarymoorStudios.Core.Serialization.System
- Assembly
- MarymoorStudios.Core.Serialization.dll
public sealed class IPEndPointSerializer : Serializer<IPEndPoint?>, IDerivedSerializer<IPEndPoint?>, IDerivedSerializer
- Inheritance
-
IPEndPointSerializer
- Implements
-
- Inherited Members
-
Constructors
IPEndPointSerializer()
public IPEndPointSerializer()
Properties
TypeId
public static TypeId TypeId { get; }
Property Value
- TypeId
Methods
GetTypeId()
public override TypeId GetTypeId()
Returns
- TypeId
SizeOf(SerializationContext, in IPEndPoint?)
public override int SizeOf(SerializationContext context, in IPEndPoint? value)
Parameters
context SerializationContext
value IPEndPoint
Returns
- int
SizeOfSegment(SerializationContext, in IPEndPoint)
public static int SizeOfSegment(SerializationContext context, in IPEndPoint value)
Parameters
context SerializationContext
value IPEndPoint
Returns
- int
TryRead(SerializationContext, ref ReadOnlyRowBuffer, out IPEndPoint?)
public override bool TryRead(SerializationContext context, ref ReadOnlyRowBuffer buffer, out IPEndPoint? value)
Parameters
context SerializationContext
buffer ReadOnlyRowBuffer
value IPEndPoint
Returns
- bool
TryReadSegment(SerializationContext, ref ReadOnlyRowBuffer, out IPAddress, out int)
public static bool TryReadSegment(SerializationContext context, ref ReadOnlyRowBuffer buffer, out IPAddress address, out int port)
Parameters
context SerializationContext
buffer ReadOnlyRowBuffer
address IPAddress
port int
Returns
- bool
Write(SerializationContext, ref RowBuffer, in IPEndPoint?)
public override void Write(SerializationContext context, ref RowBuffer buffer, in IPEndPoint? value)
Parameters
context SerializationContext
buffer RowBuffer
value IPEndPoint
WriteSegment(SerializationContext, ref RowBuffer, in IPEndPoint)
public static void WriteSegment(SerializationContext context, ref RowBuffer buffer, in IPEndPoint value)
Parameters
context SerializationContext
buffer RowBuffer
value IPEndPoint