Example #1
0
 public static byte[] GetBytes(ChunkHash customID)
 {
     if (customID == null)
     {
         return(null);
     }
     return(customID.bytes);
 }
Example #2
0
 /// <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);
Example #3
0
 public static byte[] GetBytes(ChunkHash customID)
 {
     if (customID == null)
         return null;
     return customID.bytes;
 }
Example #4
0
 public abstract Chunk ReadChunk(ChunkHash chunkHash);