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

Method set_bad

src/mcpack2pb/parser.h:170–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168private:
169 void init(InputStream* stream, size_t n);
170 void set_bad() {
171 set_end();
172 _stream->set_bad();
173 }
174 void set_end() { _current_field.value._type = FIELD_UNKNOWN; }
175 size_t left_size() const
176 { return _expected_popped_end - _expected_popped_bytes; }

Callers

nothing calls this directly

Calls 1

set_badMethod · 0.45

Tested by

no test coverage detected