Enums


Public Member Functions

  • IoStream ()
  • ~IoStream ()
  • void
    read (T *t)
  • void
    read (fs::path *p)
  • void
    readEndian (T *t, uint8_t endian)
  • void
    readBig (T *t)
  • void
    readLittle (T *t)
  • void
    readFixedString (char *t, size_t maxSize, bool nullTerminate)
  • void
    readFixedString (std::string *t, size_t size)
  • std::string
    readLine ()
  • void
    readData (void *dest, size_t size)
  • size_t
    readDataAvailable (void *dest, size_t maxSize)=0
  • off_t
    size () const =0
  • bool
    isEof () const =0
  • void
    write (T t)
  • void
    write (const Buffer &buffer)
  • void
    writeEndian (T t, uint8_t endian)
  • void
    writeBig (T t)
  • void
    writeLittle (T t)
  • void
    writeData (const void *src, size_t size)

Static Public Member Functions


Protected Member Functions

  • void
    IORead (void *t, size_t size)=0
  • void
    IOWrite (const void *t, size_t size)=0

Protected Attributes

  • const int
    MINIMUM_BUFFER_SIZE
  • fs::path
    mFileName
  • bool
    mDeleteOnDestroy