MCPcopy Create free account
hub / github.com/apache/brpc / set_bad

Method set_bad

src/mcpack2pb/parser.h:210–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208private:
209 void init(InputStream* stream, size_t n);
210 void set_bad() {
211 set_end();
212 _stream->set_bad();
213 }
214 void set_end() { _current_field._type = FIELD_UNKNOWN; }
215 size_t left_size() const
216 { return _expected_popped_end - _expected_popped_bytes; }

Callers

nothing calls this directly

Calls 1

set_badMethod · 0.45

Tested by

no test coverage detected