CCC Docs
    Preparing search index...

    Function depTypeToBytes

    • Converts a DepTypeLike value to its corresponding byte representation.

      Parameters

      Returns Bytes

      A Uint8Array containing the byte representation of the dep type.

      const depTypeBytes = depTypeToBytes("code"); // Outputs Uint8Array [1]