Table of Contents

Class ByteArrayAttribute

Namespace
Vintagestory.API.Datastructures
Assembly
VintagestoryAPI.dll
public class ByteArrayAttribute : ArrayAttribute<byte>, IAttribute
Inheritance
ByteArrayAttribute
Implements
Inherited Members
Extension Methods

Constructors

ByteArrayAttribute()

public ByteArrayAttribute()

ByteArrayAttribute(byte[])

public ByteArrayAttribute(byte[] value)

Parameters

value byte[]

ByteArrayAttribute(FastMemoryStream)

public ByteArrayAttribute(FastMemoryStream ms)

Parameters

ms FastMemoryStream

Methods

Clone()

public IAttribute Clone()

Returns

IAttribute

FromBytes(BinaryReader)

public void FromBytes(BinaryReader stream)

Parameters

stream BinaryReader

GetAttributeId()

public int GetAttributeId()

Returns

int

ToBytes(BinaryWriter)

public void ToBytes(BinaryWriter stream)

Parameters

stream BinaryWriter