Tag: bytes

18 How to pass arbitrary bytes to a function in Remix 2017-03-24T15:46:41.697

18 How to store IPFS hash using bytes? 2017-06-02T10:16:47.947

15 The Unicorn Mystery - Solidity fails to decode valid UTF-8 encoded bytes 2017-06-10T18:14:45.383

14 What is the difference between bytes and bytes32? 2017-01-30T04:12:13.213

12 How to convert a uint to bytes in Solidity? 2016-05-22T08:26:20.240

10 In solidity, how can you set a bytes variable to empty 2016-06-29T02:22:28.643

10 Convert struct to bytes in Solidity 2017-01-09T15:22:29.710

9 How to concatenate a bytes32[] array to a string? 2016-02-06T15:45:36.420

8 How to convert an address to bytes in Solidity? 2016-02-02T20:47:46.900

8 How to pass arbitrary bytes to a function (2016) 2016-04-03T16:54:42.183

8 Error when using string type as a mapping key 2016-12-13T16:11:39.263

6 How can I split a Bytes32 source into two halfs and store them in Bytes16? 2017-03-16T14:07:28.617

6 How to store and load an IPFS hash as bytes32 in contract written in Solidity 2017-08-17T10:42:44.617

6 Why is the returndata of a function returning bytes formatted in a weird way? 2018-10-14T12:28:17.180

5 How do you get a string value from msg.data in the fallback function? 2016-06-13T19:19:34.047

5 Storing hardcoded calldata in a Solidity contract 2017-01-13T11:50:21.967

4 In solidity, how can I hardcode bytes > 32 bytes 2016-02-29T23:57:20.443

4 Why can't we do bitwise operations on Bools? 2016-07-05T05:28:57.130

4 What does the bytes format “\xFF\xFF\xFF” mean and how it is interpreted? 2017-01-30T20:56:58.443

4 Convert bytes32 to ordered bytes2, bytes4, etc 2017-03-11T14:28:48.357

4 How does keccak256 concatenate values inside a Solidity smart contract? 2017-03-30T13:39:42.403

4 passing String object with "0x.." value as bytes32 to a solidity function 2017-07-05T18:44:30.097

3 Can you extract bytesn from bytes in Solidity? 2016-05-07T18:11:14.397

3 convert from bytes32 to bytes with format "\xFF\xFF\xFF" 2017-01-30T05:43:11.363

3 What is the best way to write into a byte variable at a predefined position? 2017-03-16T11:48:03.043

3 Problem using created array from assembly 2017-11-08T13:57:48.643

3 Concat two bytes arrays with Assembly 2017-11-29T15:38:07.147

3 Solidity convert hex string to bytes 2018-02-17T10:02:31.767

3 Representing biometric data with solidity variables -- bytes 32 perhaps? 2018-09-05T14:49:24.907

3 Bytes variables are connected 2018-11-15T01:20:25.743

2 Reading bytes from bytes32 returns zero value (except first one) 2017-03-16T15:46:01.387

2 Ethereum: invoking contract function with bytes32 array 2017-03-30T09:57:04.627

2 Checking if an address is encoded on the end of a bytes array 2017-06-08T19:16:37.873

2 How do I combine integers, to save gas on transaction data and storage? 2017-08-11T17:49:07.837

2 Converting 8x8 board game to bytes 2017-08-12T15:13:59.887

2 What is the best type to store a signature on chain? 2017-12-14T23:12:35.227

2 Encode raw transaction data for inner transaction data for transfer using erc223 2017-12-20T13:52:49.783

2 How do I check in solidity if interface is supported? 2018-02-26T19:37:54.293

2 Parse arbitrary bytes input 2018-03-13T20:18:43.350

2 How to input byte array to a function? 2018-05-02T08:17:41.430

2 How does solidity find positions within a bytes array? 2018-06-09T22:06:22.140

2 How to convert bytes to uint in Solidity 2018-06-14T14:09:43.523

2 How much data can be stored in a bytes type in a smart contract? 2018-06-19T09:33:46.897

2 Optional Multi-Parameter Call to External Contract 2018-08-01T08:18:15.817

2 Make character count, count emoji's as 2 2018-08-05T08:34:52.063

2 How to extract int128 from msg.data as first argument? 2018-08-18T21:49:47.847

1 How to return bytes array in Solidity Contract 2017-08-16T22:42:27.673

1 How can I split a 56 character input and store them in two Bytes32? 2017-08-21T19:06:53.017

1 Uint to Bytes32 conversion -- how does this make sense 2017-09-18T00:19:46.263

1 Solidity Bytes Comparison 2017-12-04T23:23:42.167

1 Any way to convert the characters that make up bytes into a string? 2018-01-05T02:58:48.537

1 Convert an hexadecimal string to bytes in pure Solidity 2018-01-05T05:08:43.357

1 Storing IPFS hash in solidity 2018-02-01T00:16:08.990

1 Help storing byte array 2018-03-03T12:05:51.443

1 Solidity assembly question - mstore 2018-05-15T17:20:46.877

1 When is it appropriate to use "bytes" (or bytes1 - bytes32) in Solidity? 2018-06-07T23:04:25.647

1 what is the size of the web3.eth.sign() result? 2018-06-20T12:38:00.737

1 How to declare a fix bytes type more than bytes32? 2018-06-20T14:16:27.313

1 Pushing bytes to EVM stack 2018-06-25T20:27:14.177

1 Assembly opcodes 2018-09-15T11:47:11.187

1 Is it safe to use abi.encodePacked in production solidity code? 2018-10-27T19:54:53.923

1 Bit manipulation (python vs solidity) 2018-11-27T01:06:17.147

1 Byte32 error, even after converting string to hex 2018-11-29T07:13:08.953

0 Storing sha3 hash in a useful way 2017-09-13T10:28:54.777

0 Convert 'bytes memory' to 'bytes8' 2018-01-30T13:16:27.627

0 Possible to do bitwise operator on byte array (bytes)? 2018-02-25T17:31:24.830

0 bytes seem to be limited to length 8 2018-03-15T21:23:31.993

0 Store literal bytes4 as string 2018-04-21T20:09:25.177

0 How to store hash of an Excel file in Blockchain? 2018-05-16T16:26:05.560

0 Dynamically-sized byte array is value type? 2018-05-24T01:43:03.580

0 Check bytes32 exists in bytes32[] 2018-05-31T13:35:45.013

0 Im using Oraclize to get a random number but the N of bytes confuses me 2018-06-01T15:26:19.650

0 Using of Fixed-size bytes arrays for saving gas 2018-06-02T06:09:09.637

0 Understanding Bytes16 Representation in Solidity 2018-06-07T10:49:25.660

0 Compare byte32 Keccak256 to the same Keccak256 stored in a byte32 array 2018-06-08T02:52:55.113

0 Why are elements in a byte array padded to 32 bytes? 2018-06-09T23:07:30.450

0 What is the purpose of the variable "maxlength" in this function? 2018-06-14T02:59:15.130

0 How to concat different parameters type in one parameter (bytes) and extract them? 2018-06-19T14:07:12.357

0 How to extract n bytes from a bytes data? 2018-06-20T10:39:45.843

0 How to save a number as bytes16 in a smart contract and retrieve the number in javascript? 2018-08-01T19:12:33.807

0 Solidity: msg.data vs bytes 2018-08-17T11:29:59.017

0 Deserialising bytes to a solidity struct 2018-09-27T11:49:34.730

0 Cant pass a byte into a function without an error 2018-10-10T11:00:40.210

0 How strings are stored in Solidity on a low level? 2018-11-06T17:30:59.177

0 Is there any way to return multiple structs (or the fields from them) in Solidity when one of the struct fields is of type `bytes`? 2018-11-23T20:38:32.917