MCPcopy Create free account
hub / github.com/google/snappy / ByteArraySource

Method ByteArraySource

snappy-sinksource.h:148–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146class ByteArraySource : public Source {
147 public:
148 ByteArraySource(const char* p, size_t n) : ptr_(p), left_(n) { }
149 ~ByteArraySource() override;
150 size_t Available() const override;
151 const char* Peek(size_t* len) override;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected