ethereum / solidity-examples

Loose collection of Solidity example code
MIT License
532 stars 161 forks source link

docs(Bytes): use padding instead of endianness #55

Closed zhangyuannie closed 3 years ago

zhangyuannie commented 3 years ago

While working to emulate a solidity function on another language, I have a vague memory that I have read somewhere that EVM uses a mix of big endian and little endian. A quick Google search brings me here. I think it would be nice to clarify this section.

Resolve #54.

zhangyuannie commented 3 years ago

Hey @chriseth, is it possible to review/merge this change? Thanks!

chriseth commented 3 years ago

Thanks a lot!