Converts a DepTypeLike value to its corresponding byte representation.
The dep type value to convert.
A Uint8Array containing the byte representation of the dep type.
const depTypeBytes = depTypeToBytes("code"); // Outputs Uint8Array [1] Copy
const depTypeBytes = depTypeToBytes("code"); // Outputs Uint8Array [1]
Converts a DepTypeLike value to its corresponding byte representation.