Scripting API

FixedString512Bytes

struct in Unity.Collections · Unity.Collections

20 of 21 of Unity's members
In Tassix

A UTF-8 string of at most 509 bytes, stored inline (512 bytes in all).

Constructors 1

Properties 6

int Capacity { get; set; }
readonly bool IsEmpty { get; }
int Length { get; set; }
static int UTF8MaxLengthInBytes { get; }
string Value { get; }
byte this[int index] { get; set; }

Methods 10

void Add(in byte value)
void Clear()
int CompareTo(string? other)
int CompareTo(FixedString32Bytes other)
int CompareTo(FixedString64Bytes other)
int CompareTo(FixedString128Bytes other)
int CompareTo(FixedString512Bytes other)
int CompareTo(FixedString4096Bytes other)
ref byte ElementAt(int index)
bool Equals(object? obj)
bool Equals(string? other)
bool Equals(FixedString32Bytes other)
bool Equals(FixedString64Bytes other)
bool Equals(FixedString128Bytes other)
bool Equals(FixedString512Bytes other)
bool Equals(FixedString4096Bytes other)
Enumerator GetEnumerator()
int GetHashCode()
readonly byte* GetUnsafePtr()
string ToString()
bool TryResize(int newLength, NativeArrayOptions clearOptions = NativeArrayOptions.ClearMemory)

Operators 3

static implicit operator FixedString512Bytes(string b)
static implicit operator FixedString512Bytes(in FixedString32Bytes fs)
static implicit operator FixedString512Bytes(in FixedString64Bytes fs)
static implicit operator FixedString512Bytes(in FixedString128Bytes fs)
static bool operator !=(in FixedString512Bytes a, in FixedString32Bytes b)
static bool operator !=(in FixedString512Bytes a, in FixedString64Bytes b)
static bool operator !=(in FixedString512Bytes a, in FixedString128Bytes b)
static bool operator !=(in FixedString512Bytes a, in FixedString512Bytes b)
static bool operator !=(in FixedString512Bytes a, in FixedString4096Bytes b)
static bool operator ==(in FixedString512Bytes a, in FixedString32Bytes b)
static bool operator ==(in FixedString512Bytes a, in FixedString64Bytes b)
static bool operator ==(in FixedString512Bytes a, in FixedString128Bytes b)
static bool operator ==(in FixedString512Bytes a, in FixedString512Bytes b)
static bool operator ==(in FixedString512Bytes a, in FixedString4096Bytes b)

Not in Tassix yet 1

AsFixedList