Converts a byte-like value to a DepType.
The byte-like value to convert.
The corresponding DepType.
Will throw an error if the input bytes do not correspond to a valid dep type.
const depType = depTypeFromBytes(new Uint8Array([1])); // Outputs "code" Copy
const depType = depTypeFromBytes(new Uint8Array([1])); // Outputs "code"
Converts a byte-like value to a DepType.