InputStream implemented on top of a byte array.  
 More...
#include <bytearrayinputstream.h>
InputStream implemented on top of a byte array. 
 
◆ ByteArrayInputStream()
      
        
          | log4cxx::helpers::ByteArrayInputStream::ByteArrayInputStream  | 
          ( | 
          const ByteList &  | 
          bytes | ) | 
           | 
        
      
 
 
◆ ~ByteArrayInputStream()
  
  
      
        
          | virtual log4cxx::helpers::ByteArrayInputStream::~ByteArrayInputStream  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
◆ close()
  
  
      
        
          | void log4cxx::helpers::ByteArrayInputStream::close  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ read()
  
  
      
        
          | int log4cxx::helpers::ByteArrayInputStream::read  | 
          ( | 
          ByteBuffer &  | 
          buf | ) | 
           | 
         
       
   | 
  
overridevirtual   | 
  
 
Reads a sequence of bytes into the given buffer. 
- Parameters
 - 
  
    | buf | The buffer into which bytes are to be transferred.  | 
  
   
- Returns
 - the total number of bytes read into the buffer, or -1 if there is no more data because the end of the stream has been reached. 
 
Implements log4cxx::helpers::InputStream.
 
 
The documentation for this class was generated from the following file: