Define a C stucture, then read buffers with data in them based on those definitions, return an workable object.