/// <summary> /// Creates an ArrayBuffer and allocates a new buffer for usage. /// </summary> /// <param name="mgr">the <see cref="BufferManager" /> which allocated this array</param> internal ArrayBuffer(BufferManager mgr, int bufferSize) { m_mgr = mgr; // BufferSize = bufferSize; Array = new byte[bufferSize]; }