Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Internal::RRawFile::RBlockBuffer Struct Reference

Definition at line 85 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.
 
RBlockBufferoperator= (const RBlockBuffer &)=delete
 

Public Attributes

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

Constructor & Destructor Documentation

◆ RBlockBuffer() [1/2]

◆ RBlockBuffer() [2/2]

◆ ~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 91 of file RRawFile.hxx.

◆ fBufferOffset

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

Where in the open file does fBuffer start.

Definition at line 87 of file RRawFile.hxx.

◆ fBufferSize

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

The number of currently buffered bytes in fBuffer.

Definition at line 89 of file RRawFile.hxx.

Collaboration diagram for ROOT::Internal::RRawFile::RBlockBuffer:
[legend]

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