Parse Buffer contents.