MCPcopy Create free account
hub / github.com/apache/fory / WriteData

Method WriteData

csharp/src/Fory/PrimitiveSerializers.cs:202–206  ·  view source on GitHub ↗
(WriteContext context, in BFloat16 value, bool hasGenerics)

Source from the content-addressed store, hash-verified

200 public override BFloat16 DefaultValue => default;
201
202 public override void WriteData(WriteContext context, in BFloat16 value, bool hasGenerics)
203 {
204 _ = hasGenerics;
205 context.Writer.WriteUInt16(value.ToBits());
206 }
207
208 public override BFloat16 ReadData(ReadContext context)
209 {

Callers

nothing calls this directly

Calls 2

WriteUInt16Method · 0.80
ToBitsMethod · 0.80

Tested by

no test coverage detected