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

Method FromBits

csharp/src/Fory/BFloat16.cs:88–88  ·  view source on GitHub ↗

Creates a value from exact wire bits.

(ushort bits)

Source from the content-addressed store, hash-verified

86 /// Creates a value from exact wire bits.
87 /// </summary>
88 public static BFloat16 FromBits(ushort bits) => new(bits);
89
90 /// <summary>
91 /// Creates a value from a <see cref="float" />.

Callers 4

ReadDataMethod · 0.80
ReadScalarPayloadMethod · 0.80
ReadMethod · 0.80
ReadDataMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected