comparison OrthancFramework/Sources/HttpServer/MultipartStreamReader.cpp @ 4298:db3932f9660d

abi continued
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 05 Nov 2020 18:21:03 +0100
parents 785a2713323e
children 50b0c69b653a
comparison
equal deleted inserted replaced
4297:785a2713323e 4298:db3932f9660d
230 { 230 {
231 blockSize_ = size; 231 blockSize_ = size;
232 } 232 }
233 } 233 }
234 234
235 235 size_t MultipartStreamReader::GetBlockSize() const
236 {
237 return blockSize_;
238 }
239
240 void MultipartStreamReader::SetHandler(MultipartStreamReader::IHandler &handler)
241 {
242 handler_ = &handler;
243 }
244
245
236 void MultipartStreamReader::AddChunk(const void* chunk, 246 void MultipartStreamReader::AddChunk(const void* chunk,
237 size_t size) 247 size_t size)
238 { 248 {
239 if (state_ != State_Done && 249 if (state_ != State_Done &&
240 size != 0) 250 size != 0)