Skip to main content Skip to complementary content
Close announcements banner

toBytes

Converts a value to a bytes data type.

Arguments

Input element.

Examples

Expression Result
toBytes(123) 0x0000007B

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!