MCPcopy Create free account
hub / github.com/DHowett/go-plist / NewBinaryEncoder

Function NewBinaryEncoder

encode.go:75–77  ·  view source on GitHub ↗

NewBinaryEncoder returns an Encoder that writes a binary property list to w.

(w io.Writer)

Source from the content-addressed store, hash-verified

73
74// NewBinaryEncoder returns an Encoder that writes a binary property list to w.
75func NewBinaryEncoder(w io.Writer) *Encoder {
76 return NewEncoderForFormat(w, BinaryFormat)
77}
78
79// Marshal returns the property list encoding of v in the specified format.
80//

Callers 2

BenchmarkBplistEncodeFunction · 0.85
TestBplistLatin1ToUTF16Function · 0.85

Calls 1

NewEncoderForFormatFunction · 0.85

Tested by 2

BenchmarkBplistEncodeFunction · 0.68
TestBplistLatin1ToUTF16Function · 0.68