Buffer: added offsetOf() and split() functions