Returns the buffer content as a bytes array.
The max length allowed to be stored in memory. If this is smaller than memoryThreshold, and the buffer is already in memory then None will still be returned.
None if the content is greater than maxLength, otherwise, the data as bytes.
Returns the buffer content as File.
If the content size is bigger than this limit, the content is stored as file.