Example #1
0
 public TangleKey(ushort key)
     : this(ImmutableBufferPool.GetBytes(key), typeof(ushort))
 {
 }
Example #2
0
 public TangleKey(string key)
     : this(ImmutableBufferPool.GetBytes(key, Encoding.UTF8), typeof(string))
 {
 }
Example #3
0
 public TangleKey(byte key)
     : this(ImmutableBufferPool.GetBytes(key), typeof(byte))
 {
 }
Example #4
0
 public TangleKey(long key)
     : this(ImmutableBufferPool.GetBytes(key), typeof(long))
 {
 }