check if the slice passed to Buffer() is > 0

otherwise we cant pass the ptr of the first element as there is none. im
not sure if this should indicate an error or not currently it doesnt...