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