Added constructor to build buffer from raw data