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

Used for vector reads from multiple offsets into multiple buffers.

This is unlike readv(), which scatters a single byte range from disk into multiple buffers.

Definition at line 66 of file RRawFile.hxx.

Public Attributes

voidfBuffer = nullptr
 The destination for reading. More...
 
std::uint64_t fOffset = 0
 The file offset. More...
 
std::size_t fOutBytes = 0
 The number of actually read bytes, set by ReadV() More...
 
std::size_t fSize = 0
 The number of desired bytes. More...
 

#include <ROOT/RRawFile.hxx>

Member Data Documentation

◆ fBuffer

void* ROOT::Internal::RRawFile::RIOVec::fBuffer = nullptr

The destination for reading.

Definition at line 68 of file RRawFile.hxx.

◆ fOffset

std::uint64_t ROOT::Internal::RRawFile::RIOVec::fOffset = 0

The file offset.

Definition at line 70 of file RRawFile.hxx.

◆ fOutBytes

std::size_t ROOT::Internal::RRawFile::RIOVec::fOutBytes = 0

The number of actually read bytes, set by ReadV()

Definition at line 74 of file RRawFile.hxx.

◆ fSize

std::size_t ROOT::Internal::RRawFile::RIOVec::fSize = 0

The number of desired bytes.

Definition at line 72 of file RRawFile.hxx.

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

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