Esempio n. 1
0
 /// <inheritdoc/>
 public override byte[] GetBytes()
 {
     // !!!!Caution: keep the order of the following code lines!!!!
     return(GetBytes(ParticleIndex.Bytes(),
                     SimpleTypeIndex.Bytes(),
                     AttributesCount.Bytes(),
                     StartIndexOfAttributes.Bytes()));
 }
 /// <summary>
 /// Serialize the data into byte data.
 /// </summary>
 /// <returns>Byte data.</returns>
 public override byte[] GetBytes()
 {
     return(GetBytes(AttributeUse.Bytes(),
                     SimpleTypeIndex.Bytes(),
                     FileFormatVersion.Bytes()));
 }