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