Class Events
The module for encoding events
Inheritance
System.Object
Events
Namespace: Netly.Core
Assembly: Netly.Core.dll
Syntax
public static class Events : object
Methods
Create(String, Byte[])
Used to revert, check the event
Declaration
public static byte[] Create(string name, byte[] value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | Event name |
| System.Byte[] | value | Event data/value |
Returns
| Type | Description |
|---|---|
| System.Byte[] | Returns the data "event" in byte format |
Verify(Byte[])
Used to revert, check the event
Declaration
public static (string name, byte[] value) Verify(byte[] value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte[] | value | Event/value in byte format |
Returns
| Type | Description |
|---|---|
| System.ValueTuple<System.String, System.Byte[]> | returns a (Tuple) containing the (name) and (value) of the event received |