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