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