mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #12326 from dallonasnes/encode-packed-api-details
Add fixed size type details to encodePacked doc
This commit is contained in:
commit
cb610b5021
@ -749,7 +749,7 @@ Non-standard Packed Mode
|
||||
|
||||
Through ``abi.encodePacked()``, Solidity supports a non-standard packed mode where:
|
||||
|
||||
- types shorter than 32 bytes are neither zero padded nor sign extended and
|
||||
- types shorter than 32 bytes are concatenated directly, without padding or sign extension
|
||||
- dynamic types are encoded in-place and without the length.
|
||||
- array elements are padded, but still encoded in-place
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user