示例#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));
 }