<commit_before>﻿namespace AntShares.SmartContract.Framework.Services.AntShares
{
    public class Storage
    {
        [Syscall("AntShares.Storage.Get")]
        public extern byte[] Get(StorageContext context, byte[] key);

        [Syscall("AntShares.Storage.Put")]
        public extern void Put(StorageContext context, byte[] key, byte[] value);

        [Syscall("AntShares.Storage.Delete")]
        public extern void Delete(StorageContext context, byte[] key);<commit_msg>add more overloads to storage api (#3)<commit_after>﻿namespace AntShares.SmartContract.Framework.Services.AntShares
{
    public class Storage
    {
        [Syscall("AntShares.Storage.Get")]
        public extern byte[] Get(StorageContext context, byte[] key);

        [Syscall("AntShares.Storage.Get")]
        public extern byte[] Get(StorageContext context, string key);

        [Syscall("AntShares.Storage.Put")]
        public extern void Put(StorageContext context, byte[] key, byte[] value);

        [Syscall("AntShares.Storage.Put")]
        public extern void Put(StorageContext context, byte[] key, string value);

        [Syscall("AntShares.Storage.Put")]
        public extern void Put(StorageContext context, string key, byte[] value);

        [Syscall("AntShares.Storage.Put")]
        public extern void Put(StorageContext context, string key, string value);

        [Syscall("AntShares.Storage.Delete")]
        public extern void Delete(StorageContext context, byte[] key);

        [Syscall("AntShares.Storage.Delete")]
        public extern void Delete(StorageContext context, string key);
{'fraction_non_alphanumeric': 0.11661442006269593, 'fraction_numerical': 0.0006269592476489029, 'mean_word_length': 3.586206896551724, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4333398', 'n_tokens_mistral': 437, 'n_tokens_neox': 401, 'n_words': 113}