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
contextSerializationContextvaluebool
Returns
TryRead(SerializationContext, ref ReadOnlyRowBuffer, out bool)
public override bool TryRead(SerializationContext context, ref ReadOnlyRowBuffer buffer, out bool value)
Parameters
contextSerializationContextbufferReadOnlyRowBuffervaluebool
Returns
Write(SerializationContext, ref RowBuffer, in bool)
public override void Write(SerializationContext context, ref RowBuffer buffer, in bool value)
Parameters
contextSerializationContextbufferRowBuffervaluebool