jaulib v1.4.0-2-g788cf73
Jau Support Library (C++, Java, ..)
Loading...
Searching...
No Matches
byte_stream.cpp File Reference
#include <cstddef>
#include <cstring>
#include <limits>
#include <jau/cpuid.hpp>
#include <jau/debug.hpp>
#include <jau/io/byte_stream.hpp>
#include <jau/io/io_util.hpp>
#include <jau/io/bit_stream.hpp>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <thread>
#include <pthread.h>
Include dependency graph for byte_stream.cpp:

Go to the source code of this file.

Macros

#define __posix_lseek64   ::lseek64
 
#define __posix_openat64   ::openat64
 
#define O_BINARY   0
 
#define O_NONBLOCK   0
 

Functions

static bool _jau_file_size (const int fd, const jau::io::fs::file_stats &stats, const off64_t cur_pos, ByteStream::size_type &len) noexcept
 
static constexpr void copy_mem (void *out, const void *in, size_t n) noexcept
 

Macro Definition Documentation

◆ O_BINARY

#define O_BINARY   0

Definition at line 56 of file byte_stream.cpp.

◆ O_NONBLOCK

#define O_NONBLOCK   0

Definition at line 59 of file byte_stream.cpp.

◆ __posix_openat64

#define __posix_openat64   ::openat64

Definition at line 71 of file byte_stream.cpp.

◆ __posix_lseek64

#define __posix_lseek64   ::lseek64

Definition at line 72 of file byte_stream.cpp.

Function Documentation

◆ copy_mem()

static constexpr void copy_mem ( void * out,
const void * in,
size_t n )
inlinestaticconstexprnoexcept

Definition at line 81 of file byte_stream.cpp.

Here is the caller graph for this function:

◆ _jau_file_size()

static bool _jau_file_size ( const int fd,
const jau::io::fs::file_stats & stats,
const off64_t cur_pos,
ByteStream::size_type & len )
staticnoexcept

Definition at line 382 of file byte_stream.cpp.

Here is the caller graph for this function: