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