Photon Fusion
2.1.1
Reader-writer for Booleans. More...
Inherits IElementReaderWriter< T >.
Public Member Functions | |||||
| int | GetElementHashCode (bool val) | ||||
| int | GetElementWordCount () | ||||
Gets the word count of an element.
| |||||
| unsafe bool | Read (byte *data, int index) | ||||
Reads an element from the specified index in the byte array.
| |||||
| bool | Read (ReadOnlySpan< byte > data) | ||||
| unsafe ref bool | ReadRef (byte *data, int index) | ||||
Reads a reference to an element from the specified index in the byte array.
| |||||
| ref bool | ReadRef (Span< byte > data) | ||||
| unsafe void | Write (byte *data, int index, bool val) | ||||
| void | Write (Span< byte > data, bool val) | ||||
| Public Member Functions inherited from IElementReaderWriter< T > | |||||
| int | GetElementHashCode (T element) | ||||
| Calculate the hash code of an element. | |||||
| void | Write (byte *data, int index, T element) | ||||
| Writes an element to the specified index in the byte array. | |||||
Static Public Member Functions | |
| static IElementReaderWriter< bool > | GetInstance () |
| Returns an instance of the reader/writer. | |
Reader-writer for Booleans.