Login
Discover
Waves
Communities
Write
Login
Signup
Topics
#
byte2string
Explore topics
#byte2string
Global
Trending
Hot
New
Payout
Muted
Promoted
#byte2string
New
#byte2string
Follow to get notified about new posts with this tag
Get #byte2string by email
Follow
a186r
solidity
8y
Solidity中固定大小字节数组转string
string本身是一个特殊的动态字节数组,所以它只能和bytes之间进行转换,不能和固定大小字节数组进行直接转换,如果是固定字节大小数组,需要将其转换为动态字节大小数组才能进行转换。 `` pragma solidity ^0.4.4; contract C { function bytes32ToString(bytes32 x) constant returns (string) { bytes
$ 0.000
0
4
Discover communities
Explore communities
Create your community