MCPcopy Index your code
hub / github.com/microsoft/typescript-go / msgpackWriteBool

Function msgpackWriteBool

internal/api/encoder/encoder.go:795–800  ·  view source on GitHub ↗
(buf []byte, value bool)

Source from the content-addressed store, hash-verified

793}
794
795func msgpackWriteBool(buf []byte, value bool) []byte {
796 if value {
797 return append(buf, 0xc3)
798 }
799 return append(buf, 0xc2)
800}
801
802// Hand-written commonData encoding functions for nodes whose non-bool data
803// members cannot be automatically encoded by the generator. Each function

Callers 1

encodeFileReferencesFunction · 0.85

Calls 1

appendFunction · 0.50

Tested by

no test coverage detected