Developer Documentation

UserData

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