MCPcopy Create free account
hub / github.com/bcndev/bytecoin / VectorInputStream

Method VectorInputStream

src/common/MemoryStreams.hpp:85–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83class VectorInputStream : public IInputStream, private common::Nocopy {
84public:
85 explicit VectorInputStream(const BinaryArray &in) : in(&in), in_position(0) {}
86
87 size_t read_some(void *data, size_t size) override;
88 size_t size() const { return in->size() - in_position; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected