Impelementation of a resizable data buffer for large amounts of data.