builds charbyte array