{"action":"created","issue":{"url":"https://api.github.com/repos/ethereum/cpp-ethereum/issues/2259","labels_url":"https://api.github.com/repos/ethereum/cpp-ethereum/issues/2259/labels{/name}","comments_url":"https://api.github.com/repos/ethereum/cpp-ethereum/issues/2259/comments","events_url":"https://api.github.com/repos/ethereum/cpp-ethereum/issues/2259/events","html_url":"https://github.com/ethereum/cpp-ethereum/pull/2259","id":90210430,"number":2259,"title":"Issue: dev::bytesRef","user":{"login":"winsvega","id":4492341,"avatar_url":"https://avatars.githubusercontent.com/u/4492341?v=3","gravatar_id":"","url":"https://api.github.com/users/winsvega","html_url":"https://github.com/winsvega","followers_url":"https://api.github.com/users/winsvega/followers","following_url":"https://api.github.com/users/winsvega/following{/other_user}","gists_url":"https://api.github.com/users/winsvega/gists{/gist_id}","starred_url":"https://api.github.com/users/winsvega/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/winsvega/subscriptions","organizations_url":"https://api.github.com/users/winsvega/orgs","repos_url":"https://api.github.com/users/winsvega/repos","events_url":"https://api.github.com/users/winsvega/events{/privacy}","received_events_url":"https://api.github.com/users/winsvega/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ethereum/cpp-ethereum/labels/in%20progress","name":"in progress","color":"ededed"},{"url":"https://api.github.com/repos/ethereum/cpp-ethereum/labels/pleasereview","name":"pleasereview","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-22T20:54:46Z","updated_at":"2015-06-24T14:02:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ethereum/cpp-ethereum/pulls/2259","html_url":"https://github.com/ethereum/cpp-ethereum/pull/2259","diff_url":"https://github.com/ethereum/cpp-ethereum/pull/2259.diff","patch_url":"https://github.com/ethereum/cpp-ethereum/pull/2259.patch"},"body":"dev::h256::ref::copyTo(dev::bytesRef out)\r\nI have this function failing to copy the contents of bytes vector.\r\nSee the commit with test below."},"comment":{"url":"https://api.github.com/repos/ethereum/cpp-ethereum/issues/comments/114877727","html_url":"https://github.com/ethereum/cpp-ethereum/pull/2259#issuecomment-114877727","issue_url":"https://api.github.com/repos/ethereum/cpp-ethereum/issues/2259","id":114877727,"user":{"login":"winsvega","id":4492341,"avatar_url":"https://avatars.githubusercontent.com/u/4492341?v=3","gravatar_id":"","url":"https://api.github.com/users/winsvega","html_url":"https://github.com/winsvega","followers_url":"https://api.github.com/users/winsvega/followers","following_url":"https://api.github.com/users/winsvega/following{/other_user}","gists_url":"https://api.github.com/users/winsvega/gists{/gist_id}","starred_url":"https://api.github.com/users/winsvega/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/winsvega/subscriptions","organizations_url":"https://api.github.com/users/winsvega/orgs","repos_url":"https://api.github.com/users/winsvega/repos","events_url":"https://api.github.com/users/winsvega/events{/privacy}","received_events_url":"https://api.github.com/users/winsvega/received_events","type":"User","site_admin":false},"created_at":"2015-06-24T14:02:59Z","updated_at":"2015-06-24T14:02:59Z","body":"that is correct. \r\nbut if I try to reset _out size from the precompiled contract itself it wont work\r\nhttps://github.com/ethereum/cpp-ethereum/blob/develop/libethereum/Precompiled.cpp#L69\r\n\r\nmaybe change the copyTo function?"}}