comparison OrthancServer/ParsedDicomFile.cpp @ 1521:3606278d305e

refactoring
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 11 Aug 2015 13:37:24 +0200
parents 4a503a8c7749
children c388502a066d
comparison
equal deleted inserted replaced
1520:4a503a8c7749 1521:3606278d305e
271 E_TransferSyntax transferSyntax) : 271 E_TransferSyntax transferSyntax) :
272 element_(element), 272 element_(element),
273 length_(element.getLength(transferSyntax)), 273 length_(element.getLength(transferSyntax)),
274 offset_(0) 274 offset_(0)
275 { 275 {
276 static const size_t CHUNK_SIZE = 64 * 1024; // Use a 64KB chunk 276 static const size_t CHUNK_SIZE = 64 * 1024; // Use chunks of max 64KB
277 chunk_.resize(CHUNK_SIZE); 277 chunk_.resize(CHUNK_SIZE);
278 } 278 }
279 279
280 virtual HttpCompression GetHttpCompression(bool /*gzipAllowed*/, 280 virtual HttpCompression GetHttpCompression(bool /*gzipAllowed*/,
281 bool /*deflateAllowed*/) 281 bool /*deflateAllowed*/)