public void WriteBinary(ArkArchive archive) { if (Data != null) { archive.WriteBytes(Data); } }
public void WriteBinary(ArkArchive archive) { archive.WriteString(Path); if (Data != null) { archive.WriteInt(Data.Length); foreach (byte[][] partData in Data) { archive.WriteInt(partData.Length); foreach (byte[] blobData in partData) { archive.WriteInt(blobData.Length / 4); archive.WriteBytes(blobData); } } } else { archive.WriteInt(0); } }
protected override void writeBinaryValue(ArkArchive archive) => archive.WriteBytes(Value);
public override void WriteBinary(ArkArchive archive) => archive.WriteBytes(value);
public override void WriteBinary(ArkArchive archive) { archive.WriteBytes(ToArray()); }