class CordInputStream

Defined at line 370 of file ../../third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.h

A ZeroCopyInputStream backed by a Cord. This stream implements ReadCord()

in a way that can share memory between the source and destination cords

rather than copying.

Public Methods

void CordInputStream (const absl::Cord * cord)

Creates an InputStream that reads from the given Cord. `cord` must

not be null and must outlive this CordInputStream instance. `cord` must

not be modified while this instance is actively being used: any change

to `cord` will lead to undefined behavior on any subsequent call into

this instance.

void CordInputStream (const CordInputStream & )

`CordInputStream` is neither copiable nor assignable

Defined at line 382 of file ../../third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.h

bool Next (const void ** data, int * size)

implements ZeroCopyInputStream ----------------------------------

void BackUp (int count)
bool Skip (int count)
int64_t ByteCount ()
bool ReadCord (absl::Cord * cord, int count)
CordInputStream & operator= (const CordInputStream & )

Defined at line 383 of file ../../third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.h