7#ifndef BYTESLICEWRITER_H
8#define BYTESLICEWRITER_H
33 void init(int32_t address);
38 void writeBytes(
const uint8_t* b, int32_t offset, int32_t length);
#define LUCENE_CLASS(Name)
Definition LuceneObject.h:24
Class to write byte streams into slices of shared byte[]. This is used by DocumentsWriter to hold the...
Definition ByteSliceWriter.h:16
void writeVInt(int32_t i)
ByteArray slice
Definition ByteSliceWriter.h:24
void init(int32_t address)
Set up the writer to write at address.
virtual ~ByteSliceWriter()
ByteSliceWriter(const ByteBlockPoolPtr &pool)
void writeBytes(const uint8_t *b, int32_t offset, int32_t length)
void writeByte(uint8_t b)
Write byte into byte slice stream.
int32_t offset0
Definition ByteSliceWriter.h:29
ByteBlockPoolPtr pool
Definition ByteSliceWriter.h:26
int32_t upto
Definition ByteSliceWriter.h:25
Base class for all Lucene classes.
Definition LuceneObject.h:31
Definition AbstractAllTermDocs.h:12
boost::shared_ptr< ByteBlockPool > ByteBlockPoolPtr
Definition LuceneTypes.h:89