solidity byte array example:
In this Tutorial, today learn solidity byte array example open your remix ide desktop or website
link remix ide. follow the solidity byte array example.
bytearray.sol:
//SPDX-License-Identifier: GPL-3.0
pragma solidity >= 0.5.0 < 0.9.0;
contract bytearray{
bytes3 public b3;
bytes2 public b2;
function setter() public{
b3='abc';
b2='ab';
}
}

No comments:
Post a Comment