Logo ROOT  
Reference Guide
No Matches
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 71 of file RRawFile.hxx.

Public Attributes

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

#include <ROOT/RRawFile.hxx>

Member Data Documentation

◆ fBuffer

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

The destination for reading.

Definition at line 73 of file RRawFile.hxx.

◆ fOffset

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

The file offset.

Definition at line 75 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 79 of file RRawFile.hxx.

◆ fSize

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

The number of desired bytes.

Definition at line 77 of file RRawFile.hxx.

Collaboration diagram for ROOT::Internal::RRawFile::RIOVec:

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