public override void WriteBinary(ArkArchive archive) { archive.WriteByte(B); archive.WriteByte(G); archive.WriteByte(R); archive.WriteByte(A); }
public override void WriteBinary(ArkArchive archive) { archive.WriteInt(Count); ForEach(b => archive.WriteByte((byte)(b ? 1 : 0))); }
protected override void writeBinaryValue(ArkArchive archive) => archive.WriteByte((byte)(Value ? 1 : 0));