Class ReadExtensions
Static class that contains various extension methods that allow reading data types from a buffer.
Namespace: Unity.SnapshotDebugger
Assembly: solution.dll
Syntax
public static class ReadExtensions
Methods
| Name | Description |
|---|---|
| Read16(Buffer) | Reads a short (16-bit value) from the buffer. |
| Read32(Buffer) | Reads an integer (32-bit value) from the buffer. |
| ReadBoolean(Buffer) | Reads a boolean from the buffer. |
| ReadByte(Buffer) | Reads a single byte (8-bit value) from the buffer. |
| ReadBytes(Buffer, byte[], int, int) | Reads a series of bytes from the buffer. |
| ReadBytes(Buffer, int) | Reads a series of bytes from the buffer. |
| ReadColor(Buffer) | Reads a color from the buffer. |
| ReadColor32(Buffer) | Reads a color from the buffer. |
| ReadComponent<T>(Buffer) | Reads a component reference from the buffer. |
| ReadFromStream<T>(NativeArray<T>, Buffer) | Reads a native array from the buffer. |
| ReadFromStream<T>(NativeList<T>, Buffer) | Reads a native list from the buffer. |
| ReadFromStream<T>(NativeSlice<T>, Buffer) | |
| ReadNativeArray<T>(Buffer, out Allocator) | |
| ReadNativeList<T>(Buffer, out Allocator) | |
| ReadNativeString64(Buffer) | |
| ReadQuaternion(Buffer) | Reads a quaternion from the buffer. |
| ReadQuaternionQuantized(Buffer) | Reads a quantized quaternion from the buffer. |
| ReadSingle(Buffer) | Reads a 32-bit floating point value from the buffer. |
| ReadSingleQuantized(Buffer) | Reads a quantized floating point value from the buffer. |
| ReadString(Buffer) | Reads a string from the buffer. |
| ReadTransform(Buffer) | Reads a transform reference from the buffer. |
| ReadVector2(Buffer) | Reads a vector2 from the buffer. |
| ReadVector2Quantized(Buffer) | Reads a quantized vector2 from the buffer. |
| ReadVector3(Buffer) | Reads a vector3 from the buffer. |
| ReadVector3Quantized(Buffer) | Reads a quantized vector3 from the buffer. |
| ReadVector4(Buffer) | Reads a vector4 from the buffer. |
| ReadVector4Quantized(Buffer) | Reads a quantized vector4 from the buffer. |