Class BooleanSerializer
- Namespace
- MarymoorStudios.Core.Serialization.System
- Assembly
- MarymoorStudios.Core.Serialization.dll
public sealed class BooleanSerializer : Serializer<bool>
- Inheritance
-
BooleanSerializer
- Inherited Members
Constructors
BooleanSerializer()
public BooleanSerializer()
Properties
TypeId
public static TypeId TypeId { get; }
Property Value
Methods
GetTypeId()
public override TypeId GetTypeId()
Returns
SizeOf(SerializationContext, in bool)
public override int SizeOf(SerializationContext context, in bool value)
Parameters
context
SerializationContextvalue
bool
Returns
TryRead(SerializationContext, ref ReadOnlyRowBuffer, out bool)
public override bool TryRead(SerializationContext context, ref ReadOnlyRowBuffer buffer, out bool value)
Parameters
context
SerializationContextbuffer
ReadOnlyRowBuffervalue
bool
Returns
Write(SerializationContext, ref RowBuffer, in bool)
public override void Write(SerializationContext context, ref RowBuffer buffer, in bool value)
Parameters
context
SerializationContextbuffer
RowBuffervalue
bool