Conversione string to byte

E come faccio a passare una'array di char ad una funzione ?