#include <NiFile.h>
 | 
|   | ~NiFile () override | 
|   | 
| bool  | good () const override | 
|   | 
| void  | seek (std::int32_t a_numBytes) override | 
|   | 
| void  | get_info (BufferInfo &a_buf) override | 
|   | 
| void  | set_endian_swap (bool a_doSwap) override | 
|   | 
| virtual void  | seek (std::int32_t a_offset, std::int32_t a_from) | 
|   | 
| virtual std::uint32_t  | size () const | 
|   | 
|   | NiBinaryStream () | 
|   | 
| virtual  | ~NiBinaryStream () | 
|   | 
| virtual bool  | good () const =0 | 
|   | 
| virtual void  | seek (std::int32_t a_numBytes)=0 | 
|   | 
| virtual std::uint32_t  | tell () const | 
|   | 
| virtual void  | get_info (BufferInfo &a_buf) | 
|   | 
| virtual void  | set_endian_swap (bool a_doSwap)=0 | 
|   | 
| template<class CharT >  | 
| bool  | get (CharT &a_ch) | 
|   | 
| template<class CharT >  | 
| bool  | read (CharT *a_str, std::uint32_t a_count) | 
|   | 
| template<class CharT >  | 
| bool  | put (CharT a_ch) | 
|   | 
| template<class CharT >  | 
| bool  | write (const CharT *a_str, std::uint32_t a_count) | 
|   | 
 | 
| using  | ReadFn = std::uint32_t(NiBinaryStream *a_this, void *a_buffer, std::uint32_t a_bytes, std::uint32_t *a_componentSizes, std::uint32_t a_numComponents) | 
|   | 
| using  | WriteFn = std::uint32_t(NiBinaryStream *a_this, const void *a_buffer, std::uint32_t a_bytes, std::uint32_t *a_componentSizes, std::uint32_t a_numComponents) | 
|   | 
| std::uint32_t  | binary_read (void *a_buffer, std::uint32_t a_totalBytes, std::uint32_t *a_componentSizes, std::uint32_t a_numComponents=1) | 
|   | 
| std::uint32_t  | binary_write (const void *a_buffer, std::uint32_t a_totalBytes, std::uint32_t *a_componentSizes, std::uint32_t a_numComponents=1) | 
|   | 
| std::uint32_t  | _absoluteCurrentPos | 
|   | 
| std::uint32_t  | _pad0C | 
|   | 
| ReadFn *  | _readFn | 
|   | 
| WriteFn *  | _writeFn | 
|   | 
◆ OpenMode
| Enumerator | 
|---|
| kReadOnly  |  | 
| kWriteOnly  |  | 
| kAppendOnly  |  | 
 
 
◆ ~NiFile()
◆ get_info()
◆ good()
  
  
      
        
          | bool RE::NiFile::good  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ seek() [1/2]
  
  
      
        
          | void RE::NiFile::seek  | 
          ( | 
          std::int32_t  | 
          a_numBytes | ) | 
           | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ seek() [2/2]
  
  
      
        
          | virtual void RE::NiFile::seek  | 
          ( | 
          std::int32_t  | 
          a_offset,  | 
         
        
           | 
           | 
          std::int32_t  | 
          a_from  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
virtual   | 
  
 
 
◆ set_endian_swap()
  
  
      
        
          | void RE::NiFile::set_endian_swap  | 
          ( | 
          bool  | 
          a_doSwap | ) | 
           | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ size()
  
  
      
        
          | virtual std::uint32_t RE::NiFile::size  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
virtual   | 
  
 
 
◆ buffer
◆ bufferAllocSize
      
        
          | std::uint32_t RE::NiFile::bufferAllocSize | 
        
      
 
 
◆ bufferReadSize
      
        
          | std::uint32_t RE::NiFile::bufferReadSize | 
        
      
 
 
◆ file
      
        
          | std::FILE* RE::NiFile::file | 
        
      
 
 
◆ isGood
◆ mode
◆ pad2C
      
        
          | std::uint32_t RE::NiFile::pad2C | 
        
      
 
 
◆ pad45
      
        
          | std::uint8_t RE::NiFile::pad45 | 
        
      
 
 
◆ pad46
      
        
          | std::uint16_t RE::NiFile::pad46 | 
        
      
 
 
◆ pos
      
        
          | std::uint32_t RE::NiFile::pos | 
        
      
 
 
◆ RTTI
The documentation for this class was generated from the following file: