Callback modifications 

Changed the type of the first parameter of the callback function to match its C declaration. Modified it to call the user supplied callback function with a []byte rather than []int8.