Parses array of buffers into C memory structures