MCPcopy Create free account
hub / github.com/OpenPrinting/goipp / Bytes

Method Bytes

formatter.go:58–60  ·  view source on GitHub ↗

Bytes returns formatted text as a byte slice.

()

Source from the content-addressed store, hash-verified

56
57// Bytes returns formatted text as a byte slice.
58func (f *Formatter) Bytes() []byte {
59 return f.buf.Bytes()
60}
61
62// String returns formatted text as a string.
63func (f *Formatter) String() string {

Callers 3

TestFmtBytesFunction · 0.95
EncodeBytesMethod · 0.80
onNLMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestFmtBytesFunction · 0.76