Logo ROOT  
Reference Guide
ROOT::Internal::RRawFile::RBlockBuffer Struct Reference

Definition at line 67 of file RRawFile.hxx.

Public Member Functions

 RBlockBuffer ()
 
 RBlockBuffer (const RBlockBuffer &)=delete
 
 ~RBlockBuffer ()=default
 
size_t CopyTo (void *buffer, size_t nbytes, std::uint64_t offset)
 Tries to copy up to nbytes starting at offset from fBuffer into buffer. Returns number of bytes copied. More...
 
RBlockBufferoperator= (const RBlockBuffer &)=delete
 

Public Attributes

unsigned char * fBuffer
 Points into the I/O buffer with data from the file, not owned. More...
 
std::uint64_t fBufferOffset
 Where in the open file does fBuffer start. More...
 
size_t fBufferSize
 The number of currently buffered bytes in fBuffer. More...
 

Constructor & Destructor Documentation

◆ RBlockBuffer() [1/2]

ROOT::Internal::RRawFile::RBlockBuffer::RBlockBuffer ( )
inline

Definition at line 75 of file RRawFile.hxx.

◆ RBlockBuffer() [2/2]

ROOT::Internal::RRawFile::RBlockBuffer::RBlockBuffer ( const RBlockBuffer )
delete

◆ ~RBlockBuffer()

ROOT::Internal::RRawFile::RBlockBuffer::~RBlockBuffer ( )
default

Member Function Documentation

◆ CopyTo()

size_t ROOT::Internal::RRawFile::RBlockBuffer::CopyTo ( void buffer,
size_t  nbytes,
std::uint64_t  offset 
)

Tries to copy up to nbytes starting at offset from fBuffer into buffer. Returns number of bytes copied.

Definition at line 46 of file RRawFile.cxx.

◆ operator=()

RBlockBuffer & ROOT::Internal::RRawFile::RBlockBuffer::operator= ( const RBlockBuffer )
delete

Member Data Documentation

◆ fBuffer

unsigned char* ROOT::Internal::RRawFile::RBlockBuffer::fBuffer

Points into the I/O buffer with data from the file, not owned.

Definition at line 73 of file RRawFile.hxx.

◆ fBufferOffset

std::uint64_t ROOT::Internal::RRawFile::RBlockBuffer::fBufferOffset

Where in the open file does fBuffer start.

Definition at line 69 of file RRawFile.hxx.

◆ fBufferSize

size_t ROOT::Internal::RRawFile::RBlockBuffer::fBufferSize

The number of currently buffered bytes in fBuffer.

Definition at line 71 of file RRawFile.hxx.


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