Documentation
¶
Overview ¶
Package binary implements the binary (msgpack) codec of soft.go/ecore. Importing it registers the codec for the "bin" extension in the default codec registry.
Index ¶
Constants ¶
View Source
const ( OPTION_ID_ATTRIBUTE = "ID_ATTRIBUTE" // if true, save id attribute of the object OPTION_NAMESPACE_ATTRIBUTE = "NAMESPACE_ATTIBUTE" // if true, namespaces informations are encoded )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Decoder ¶
type Decoder struct {
// contains filtered or unexported fields
}
func NewDecoder ¶
func (*Decoder) DecodeResource ¶
func (d *Decoder) DecodeResource()
type Encoder ¶
type Encoder struct {
// contains filtered or unexported fields
}
func NewEncoder ¶
func NewEncoderWithVersion ¶
func (*Encoder) EncodeResource ¶
func (e *Encoder) EncodeResource()
Click to show internal directories.
Click to hide internal directories.