Photon Fusion
2.0.8
Represents an interface for Unity surrogates. This interface provides methods for reading and writing data. More...
Inherited by IUnityValueSurrogate< T >, and UnitySurrogateBase.
Public Member Functions | |
| void | Read (int *data, int capacity) |
| Reads data from a specified memory location. More... | |
| void | Write (int *data, int capacity) |
| Writes data to a specified memory location. More... | |
Represents an interface for Unity surrogates. This interface provides methods for reading and writing data.
| void Read | ( | int * | data, |
| int | capacity | ||
| ) |
Reads data from a specified memory location.
| data | The memory location to read from. |
| capacity | The number of elements to read. |
Implemented in UnityValueSurrogate< T, TReaderWriter >, UnitySurrogateBase, UnityLinkedListSurrogate< T, ReaderWriter >, UnityDictionarySurrogate< TKeyType, TKeyReaderWriter, TValueType, TValueReaderWriter >, and UnityArraySurrogate< T, ReaderWriter >.
| void Write | ( | int * | data, |
| int | capacity | ||
| ) |
Writes data to a specified memory location.
| data | The memory location to write to. |
| capacity | The number of elements to write. |
Implemented in UnityValueSurrogate< T, TReaderWriter >, UnitySurrogateBase, UnityLinkedListSurrogate< T, ReaderWriter >, UnityDictionarySurrogate< TKeyType, TKeyReaderWriter, TValueType, TValueReaderWriter >, and UnityArraySurrogate< T, ReaderWriter >.