~josejuan-sanchez/esajpip/emptypackets

« back to all changes in this revision

Viewing changes to src/jpip/databin_writer.h

  • Committer: José Juan Sánchez Hernández
  • Date: 2012-07-18 11:40:37 UTC
  • Revision ID: josejuan.sanchez@gmail.com-20120718114037-mslgs1evd0gwjp2y
Modifications to control empty packets

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
#include "data/file_segment.h"
9
9
#include "jpeg2000/place_holder.h"
10
10
 
 
11
#include <vector>
 
12
 
11
13
 
12
14
namespace jpip
13
15
{
160
162
        const File& file, const FileSegment& segment,
161
163
        bool last_byte = false);
162
164
 
 
165
 
 
166
    // PRUEBA
 
167
    //****
 
168
    DataBinWriter& Write2(uint64_t bin_id, uint64_t bin_offset,
 
169
        const File& file, vector<FileSegment> segments,
 
170
        bool last_byte = false);
 
171
        // ****
 
172
 
 
173
 
163
174
    /**
164
175
     * Writes a place-holder segment into the buffer.
165
176
     * @param bin_id Data-bin identifier.