Enums


Public Member Functions

  • ~IStreamFile ()
  • size_t
    readDataAvailable (void *dest, size_t maxSize)
  • off_t
    size () const
  • bool
    isEof () const
  • FILE *
    getFILE ()
  • read (T *t)
  • read (fs::path *p)
  • readEndian (T *t, uint8_t endian)
  • readBig (T *t)
  • readLittle (T *t)
  • readFixedString (char *t, size_t maxSize, bool nullTerminate)
  • readFixedString (std::string *t, size_t size)
  • readLine ()
  • readData (void *dest, size_t size)

Static Public Member Functions


Protected Member Functions

  • IStreamFile (FILE *aFile, bool aOwnsFile=true, int32_t aDefaultBufferSize=2048)
  • IORead (void *t, size_t size)
  • size_t
    readDataImpl (void *dest, size_t maxSize)

Protected Attributes

  • FILE *
    mFile
  • bool
    mOwnsFile
  • size_t
    mBufferSize
  • size_t
    mDefaultBufferSize
  • std::shared_ptr< uint8_t >
    mBuffer
  • off_t
    mBufferOffset
  • off_t
    mBufferFileOffset
  • off_t
    mSize
  • bool
    mSizeCached
  • fs::path
    mFileName
  • bool
    mDeleteOnDestroy
  • const int
    MINIMUM_BUFFER_SIZE