Our new developer documentation is now available. Please check it out!
UserData
public class UserData : IUserData
Odin UserData helper for marshal byte arrays
Properties
Name | Type | Description |
---|---|---|
Encoding | Encoding | Default Encoding |
Buffer | Byte[] | Raw UserData |
Public Methods
Name | Description |
---|---|
CopyFrom | Copies data from memory to Buffer |
IsEmpty | Indicates whether data is null or empty |
Contains | Indicates whether substring occurs |
PatternAt | Indicates whether two sequence are equal |
Clone | Creates a shallow copy of the Buffer |
ToBytes | Used for converting Data on network level |
ToString | String representation of Buffer based on the specified encoding |