FromBytesReturnType
type FromBytesReturnType<TTo> = TTo extends "string" ? string : TTo extends "hex" : TTo extends "bigint" ? bigint : TTo extends "number" ? number : TTo extends "boolean" ? boolean : never;