Example #1
0
 /// <summary>
 /// Return null if customID is null, otherwise the id bytes.
 /// </summary>
 public static byte[] GetBytes(CustomID customID)
 {
     if (customID == null)
     {
         return(null);
     }
     return(customID.bytes);
 }
Example #2
0
 /// <summary>
 /// Return null if customID is null, otherwise the id bytes.
 /// </summary>
 public static byte[] GetBytes(CustomID customID)
 {
     if (customID == null)
         return null;
     return customID.bytes;
 }
Example #3
0
 /// <summary>
 /// Find out if there already exist a ChunkHash given a CustomID
 /// </summary>
 public abstract ChunkHash GetCustomHash(CustomID customID);