Skip to content

Commit

Permalink
Update docs/build/smart-contract/basic-concepts/functions-parameters.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: Modship <[email protected]>
  • Loading branch information
peterjah and modship authored Oct 10, 2024
1 parent c18775f commit 53690a5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Since raw bytes are used as both input and output, you can work with various dat

# Serialization and Deserialization

To use complex data types with your public callable functions, you'll need to convert (serialize) them to raw bytes before passing them as arguments. On the receiving end, the function will need to deserialize the bytes back into the original data type. This allows for versatile function inputs and outputs, even though the system natively supports only raw byte arrays.
To use complex data types in your public callable functions, you must first serialize them into raw bytes before passing them as arguments. On the receiving end, the function will need to deserialize the bytes back into the original data type. This allows for versatile function inputs and outputs, even though the system natively supports only raw byte arrays.

## Using Args for Serialization and Deserialization

Expand Down

0 comments on commit 53690a5

Please sign in to comment.