Our new developer documentation is now available. Please check it out!
UserData
Warning
Version 1.1.0 is deprecated and will be removed in the future and is not being supported for new users. Please update to the latest version as soon as possible.
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 |