tesseract  v4.0.0-17-g361f3264
Open Source OCR Engine
tesseract::InputBuffer Class Reference

#include <fileio.h>

Public Member Functions

 InputBuffer (FILE *stream)
 
 InputBuffer (FILE *stream, size_t size)
 
 ~InputBuffer ()
 
bool Read (std::string *out)
 
bool CloseFile ()
 

Private Attributes

FILE * stream_
 
int filesize_
 

Constructor & Destructor Documentation

◆ InputBuffer() [1/2]

tesseract::InputBuffer::InputBuffer ( FILE *  stream)
explicit

◆ InputBuffer() [2/2]

tesseract::InputBuffer::InputBuffer ( FILE *  stream,
size_t  size 
)

◆ ~InputBuffer()

tesseract::InputBuffer::~InputBuffer ( )

Member Function Documentation

◆ CloseFile()

bool tesseract::InputBuffer::CloseFile ( )

◆ Read()

bool tesseract::InputBuffer::Read ( std::string *  out)

Member Data Documentation

◆ filesize_

int tesseract::InputBuffer::filesize_
private

◆ stream_

FILE* tesseract::InputBuffer::stream_
private

The documentation for this class was generated from the following files: