/// <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); }
/// <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; }
/// <summary> /// Find out if there already exist a ChunkHash given a CustomID /// </summary> public abstract ChunkHash GetCustomHash(CustomID customID);