Skip to content

Class NbtByteArray

Namespace: Void.Minecraft.Nbt.Tags
Assembly: Void.Minecraft.dll

public record NbtByteArray : NbtTag, IEquatable<NbtTag>, IEquatable<NbtByteArray>

Inheritance

objectNbtTagNbtByteArray

Implements

IEquatable<NbtTag>, IEquatable<NbtByteArray>

Inherited Members

NbtTag.Name, NbtTag.Type, NbtTag.AsStream(NbtFormatOptions, bool), NbtTag.AsJsonNode(), NbtTag.ToString(), NbtTag.ToSnbt(), NbtTag.Parse(string), NbtTag.Parse(ReadOnlyMemory<byte>, out NbtTag, bool, NbtFormatOptions), NbtTag.Parse<T>(ReadOnlyMemory<byte>, out T, bool, NbtFormatOptions), NbtTag.ReadFrom<TBuffer>(ref TBuffer, bool), object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

NbtByteArray(byte[])

public NbtByteArray(byte[] Data)

Parameters

Data byte[]

Properties

Data

public byte[] Data { get; init; }

Property Value

byte[]

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

Operators

implicit operator NbtByteArray(ByteArrayTag)

public static implicit operator NbtByteArray(ByteArrayTag tag)

Parameters

tag ByteArrayTag

Returns

NbtByteArray

implicit operator ByteArrayTag(NbtByteArray)

public static implicit operator ByteArrayTag(NbtByteArray tag)

Parameters

tag NbtByteArray

Returns

ByteArrayTag