Skip to main content

Module io

Module io 

Source
Expand description

I/O utilities module

This module provides efficient file access utilities including memory-mapped file I/O for optimal performance.

Structs§

FileBuffer
A memory-mapped file buffer for efficient file access

Enums§

IoError
Errors that can occur during file I/O operations

Functions§

safe_read_byte
Safely reads a single byte from a buffer with bounds checking
safe_read_bytes
Safely reads bytes from a buffer with bounds checking
validate_buffer_access
Validates buffer access parameters without performing the actual read