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