Skip to content

Exomia.Network.Extensions.Class

Daniel Baetz edited this page Jul 26, 2019 · 6 revisions

ClassExtensions

The class extensions.

public static class Exomia.Network.Extensions.Class.ClassExtensions

Static Methods

void FromBytes(this Byte[] arr, T& obj)

Summary:

A byte[] extension method that initializes this object from the given from bytes.

Parameter:

  • arr - The arr to act on.
  • obj - [out] The object.

T FromBytes(this Byte[] arr)

Summary:

A byte[] extension method that initializes this object from the given from bytes.

Parameter:

  • arr - The arr to act on.

T FromBytes(this Byte[] arr, Int32 offset, Int32 length)

Summary:

A byte[] extension method that initializes this object from the given from bytes.

Parameter:

  • arr - The arr to act on.
  • offset - The offset.
  • length - The length.