Пример #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));
 }