MCPcopy Create free account
hub / github.com/ZeppelinMC/Zeppelin / writeString

Function writeString

properties/encode.go:86–90  ·  view source on GitHub ↗
(w io.Writer, str string)

Source from the content-addressed store, hash-verified

84}
85
86func writeString(w io.Writer, str string) error {
87 _, err := w.Write(unsafe.Slice(unsafe.StringData(str), len(str)))
88
89 return err
90}

Callers 1

encodePropsStructFunction · 0.85

Calls 1

WriteMethod · 0.45

Tested by

no test coverage detected