Completed parse() function on buffer