Developer Documentation
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

NameTypeDescription
EncodingEncodingDefault Encoding
BufferByte[]Raw UserData

Public Methods

NameDescription
CopyFromCopies data from memory to Buffer
IsEmptyIndicates whether data is null or empty
ContainsIndicates whether substring occurs
PatternAtIndicates whether two sequence are equal
CloneCreates a shallow copy of the Buffer
ToBytesUsed for converting Data on network level
ToStringString representation of Buffer based on the specified encoding