Merge pull request #12326 from dallonasnes/encode-packed-api-details

Add fixed size type details to encodePacked doc
This commit is contained in:
chriseth 2021-11-30 00:09:31 +01:00 committed by GitHub
commit cb610b5021
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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