Public Member Functions | Private Member Functions | Private Attributes | List of all members
google::protobuf::util::internal::ZeroCopyStreamByteSink Class Reference

#include <json_util.h>

Inheritance diagram for google::protobuf::util::internal::ZeroCopyStreamByteSink:
Inheritance graph
[legend]

Public Member Functions

void Append (const char *bytes, size_t len) override
 
 ZeroCopyStreamByteSink (io::ZeroCopyOutputStream *stream)
 
 ~ZeroCopyStreamByteSink ()
 
- Public Member Functions inherited from google::protobuf::strings::ByteSink
 ByteSink ()
 
virtual void Flush ()
 
virtual ~ByteSink ()
 

Private Member Functions

 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (ZeroCopyStreamByteSink)
 

Private Attributes

voidbuffer_
 
int buffer_size_
 
io::ZeroCopyOutputStreamstream_
 

Detailed Description

Definition at line 180 of file json_util.h.

Constructor & Destructor Documentation

◆ ZeroCopyStreamByteSink()

google::protobuf::util::internal::ZeroCopyStreamByteSink::ZeroCopyStreamByteSink ( io::ZeroCopyOutputStream stream)
inlineexplicit

Definition at line 182 of file json_util.h.

◆ ~ZeroCopyStreamByteSink()

google::protobuf::util::internal::ZeroCopyStreamByteSink::~ZeroCopyStreamByteSink ( )

Definition at line 57 of file json_util.cc.

Member Function Documentation

◆ Append()

void google::protobuf::util::internal::ZeroCopyStreamByteSink::Append ( const char *  bytes,
size_t  len 
)
overridevirtual

Implements google::protobuf::strings::ByteSink.

Definition at line 63 of file json_util.cc.

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS()

google::protobuf::util::internal::ZeroCopyStreamByteSink::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( ZeroCopyStreamByteSink  )
private

Member Data Documentation

◆ buffer_

void* google::protobuf::util::internal::ZeroCopyStreamByteSink::buffer_
private

Definition at line 190 of file json_util.h.

◆ buffer_size_

int google::protobuf::util::internal::ZeroCopyStreamByteSink::buffer_size_
private

Definition at line 191 of file json_util.h.

◆ stream_

io::ZeroCopyOutputStream* google::protobuf::util::internal::ZeroCopyStreamByteSink::stream_
private

Definition at line 189 of file json_util.h.


The documentation for this class was generated from the following files:


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:10