|
constexpr uint32_t | number (const iostate rhs) noexcept |
|
constexpr bool | operator!= (const iostate lhs, const iostate rhs) noexcept |
|
constexpr iostate | operator& (const iostate lhs, const iostate rhs) noexcept |
|
constexpr iostate & | operator&= (iostate &lhs, const iostate rhs) noexcept |
|
constexpr bool | operator== (const iostate lhs, const iostate rhs) noexcept |
|
constexpr iostate | operator^ (const iostate lhs, const iostate rhs) noexcept |
|
constexpr iostate & | operator^= (iostate &lhs, const iostate rhs) noexcept |
|
constexpr iostate | operator| (const iostate lhs, const iostate rhs) noexcept |
|
constexpr iostate & | operator|= (iostate &lhs, const iostate rhs) noexcept |
|
constexpr iostate | operator~ (const iostate rhs) noexcept |
|
void | print_stats (const std::string &prefix, const uint64_t &out_bytes_total, const jau::fraction_i64 &td) noexcept |
|
uint64_t | read_file (const std::string &input_file, secure_vector< uint8_t > &buffer, const StreamConsumerFunc &consumer_fn) noexcept |
| Synchronous byte input stream reader from given file path using the given StreamConsumerFunc consumer_fn. More...
|
|
uint64_t | read_stream (ByteInStream &in, secure_vector< uint8_t > &buffer, const StreamConsumerFunc &consumer_fn) noexcept |
| Synchronous byte input stream reader using the given StreamConsumerFunc consumer_fn. More...
|
|
uint64_t | read_stream (ByteInStream &in, secure_vector< uint8_t > &buffer1, secure_vector< uint8_t > &buffer2, const StreamConsumerFunc &consumer_fn) noexcept |
| Synchronous double-buffered byte input stream reader using the given StreamConsumerFunc consumer_fn. More...
|
|
std::unique_ptr< std::thread > | read_url_stream (const std::string &url, ByteRingbuffer &buffer, jau::io::url_header_sync &header_sync, jau::relaxed_atomic_bool &has_content_length, jau::relaxed_atomic_uint64 &content_length, jau::relaxed_atomic_uint64 &total_read, relaxed_atomic_async_io_result_t &result) noexcept |
| Asynchronous URL read content using the given byte jau::ringbuffer, allowing parallel reading. More...
|
|
uint64_t | read_url_stream (const std::string &url, secure_vector< uint8_t > &buffer, const StreamConsumerFunc &consumer_fn) noexcept |
| Synchronous URL stream reader using the given StreamConsumerFunc consumer_fn. More...
|
|
std::unique_ptr< ByteInStream > | to_ByteInStream (const std::string &path_or_uri, jau::fraction_i64 timeout=20_s) noexcept |
| Parses the given path_or_uri, if it matches a supported protocol, see jau::io::uri::protocol_supported(), but is not a local file, see jau::io::uri::is_local_file_protocol(), ByteInStream_URL is being attempted. More...
|
|
std::string | to_string (const iostate mask) noexcept |
|