예제 #1
0
 public static extern Iterator <byte[], byte[]> Find(StorageContext context, byte[] prefix);
예제 #2
0
 public static extern Iterator <string, byte[]> Find(StorageContext context, string prefix);
예제 #3
0
 public static extern void Delete(StorageContext context, byte[] key);
예제 #4
0
 public static extern void Delete(StorageContext context, string key);
예제 #5
0
 public static extern void Put(StorageContext context, byte[] key, BigInteger value);
예제 #6
0
 public static extern void Put(StorageContext context, string key, string value);
예제 #7
0
 public static extern byte[] Get(StorageContext context, string key);
예제 #8
0
 public static extern byte[] Get(StorageContext context, byte[] key);
예제 #9
0
 public static StorageMap CreateMap(this StorageContext context, byte prefix)
 {
     return(CreateMap(context, prefix.ToByteArray()));
 }
예제 #10
0
 public static StorageMap CreateMap(this StorageContext context, ByteString prefix)
 {
     return(CreateMap(context, (byte[])prefix));
 }
예제 #11
0
 public override string ToString()
 {
     return(StorageContext.ToHumanKey(data));
 }