Table of Contents

Interface IByteSerializable

Namespace
Plugin.ByteArrays
Assembly
Plugin.ByteArrays.dll

Interface for types that can serialize themselves to bytes.

public interface IByteSerializable
Extension Methods

Methods

FromBytes(byte[])

Deserializes the object from a byte array.

void FromBytes(byte[] data)

Parameters

data byte[]

The byte array to deserialize from.

ToBytes()

Serializes the object to a byte array.

byte[] ToBytes()

Returns

byte[]

The serialized byte array.