public static byte[] GetBytes(ChunkHash customID) { if (customID == null) { return(null); } return(customID.bytes); }
/// <summary> /// Put message ChunkHash in special message list /// </summary> /// <param name='prefix'> /// A custom namespace for messages, can be used to separate different sources or protocols. /// </param> /// <param name='chunkHash'> /// Hash of the chunk containing the message /// </param> public abstract void StoreMessage(string prefix, ChunkHash chunkHash);
public static byte[] GetBytes(ChunkHash customID) { if (customID == null) return null; return customID.bytes; }
public abstract Chunk ReadChunk(ChunkHash chunkHash);