Bitcoin Core 29.99.0
P2P Digital Currency
Classes | Namespaces | Functions
streams.h File Reference
#include <serialize.h>
#include <span.h>
#include <support/allocators/zeroafterfree.h>
#include <util/overflow.h>
#include <algorithm>
#include <assert.h>
#include <cstddef>
#include <cstdio>
#include <ios>
#include <limits>
#include <optional>
#include <stdint.h>
#include <string.h>
#include <string>
#include <utility>
#include <vector>
Include dependency graph for streams.h:

Go to the source code of this file.

Classes

class  VectorWriter
 
class  SpanReader
 Minimal stream for reading from an existing byte array by std::span. More...
 
class  DataStream
 Double ended buffer combining vector and stream-like interfaces. More...
 
class  BitStreamReader< IStream >
 
class  BitStreamWriter< OStream >
 
class  AutoFile
 Non-refcounted RAII wrapper for FILE*. More...
 
class  BufferedFile
 Wrapper around an AutoFile& that implements a ring buffer to deserialize from. More...
 

Namespaces

namespace  util
 

Functions

void util::Xor (std::span< std::byte > write, std::span< const std::byte > key, size_t key_offset=0)