コード例 #1
0
 public void WriteBinary(ArkArchive archive)
 {
     if (Data != null)
     {
         archive.WriteBytes(Data);
     }
 }
コード例 #2
0
        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);
            }
        }
コード例 #3
0
 protected override void writeBinaryValue(ArkArchive archive) => archive.WriteBytes(Value);
コード例 #4
0
 public override void WriteBinary(ArkArchive archive) => archive.WriteBytes(value);
コード例 #5
0
 public override void WriteBinary(ArkArchive archive)
 {
     archive.WriteBytes(ToArray());
 }