bytes.to_array

bytes.to_array

bytes.to_array

Function

Convert Bytes to a byte integer array.

Syntax

Parameters

No parameters.

Return value

TypeDescription
ArrayEach element is an Int from 0 to 255.

Code Example

Notes

  • to_array() will allocate arrays; the hot path will first transfer Bytes directly.