UFloatBytes
A internal struct in Alta.Serialization.Runtime, Alta.Serialization. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.
Internal helper that sends a float as its raw 32 bits.
- Listed in Other Alta assemblies
Fields
3 private and internal fields
| Member | What it is |
|---|---|
private static readonly float[] floatValue | Static one-float buffer for the byte copy. |
private static UFloatBytes instance | Unused default instance. |
private static readonly uint[] intValue | Static one-uint buffer for the byte copy. |
Methods
| Member | What it is |
|---|---|
static void Serialize(ref float value, Stream stream) | Copies the float's bytes into a uint and serializes that, then back on read. Uses static buffers, so it is not thread safe. |