Disruptor Beam interview question

C string split implementation