MCPcopy Create free account
hub / github.com/francoispqt/gojay / writeTwoBytes

Method writeTwoBytes

encode_builder.go:22–24  ·  view source on GitHub ↗
(b1 byte, b2 byte)

Source from the content-addressed store, hash-verified

20}
21
22func (enc *Encoder) writeTwoBytes(b1 byte, b2 byte) {
23 enc.buf = append(enc.buf, b1, b2)
24}
25
26// WriteByte appends the byte c to b's Buffer.
27// The returned error is always nil.

Callers 8

writeStringEscapeMethod · 0.95
StringMethod · 0.95
StringOmitEmptyMethod · 0.95
StringNullEmptyMethod · 0.95
StringKeyMethod · 0.95
StringKeyOmitEmptyMethod · 0.95
StringKeyNullEmptyMethod · 0.95
TimeKeyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected