package stdlib
import (
"encoding"
"reflect"
)
func init() {
Symbols ["encoding/encoding" ] = map [string ]reflect .Value {
"BinaryMarshaler" : reflect .ValueOf ((*encoding .BinaryMarshaler )(nil )),
"BinaryUnmarshaler" : reflect .ValueOf ((*encoding .BinaryUnmarshaler )(nil )),
"TextMarshaler" : reflect .ValueOf ((*encoding .TextMarshaler )(nil )),
"TextUnmarshaler" : reflect .ValueOf ((*encoding .TextUnmarshaler )(nil )),
"_BinaryMarshaler" : reflect .ValueOf ((*_encoding_BinaryMarshaler )(nil )),
"_BinaryUnmarshaler" : reflect .ValueOf ((*_encoding_BinaryUnmarshaler )(nil )),
"_TextMarshaler" : reflect .ValueOf ((*_encoding_TextMarshaler )(nil )),
"_TextUnmarshaler" : reflect .ValueOf ((*_encoding_TextUnmarshaler )(nil )),
}
}
type _encoding_BinaryMarshaler struct {
IValue interface {}
WMarshalBinary func () (data []byte , err error )
}
func (W _encoding_BinaryMarshaler ) MarshalBinary () (data []byte , err error ) {
return W .WMarshalBinary ()
}
type _encoding_BinaryUnmarshaler struct {
IValue interface {}
WUnmarshalBinary func (data []byte ) error
}
func (W _encoding_BinaryUnmarshaler ) UnmarshalBinary (data []byte ) error {
return W .WUnmarshalBinary (data )
}
type _encoding_TextMarshaler struct {
IValue interface {}
WMarshalText func () (text []byte , err error )
}
func (W _encoding_TextMarshaler ) MarshalText () (text []byte , err error ) {
return W .WMarshalText ()
}
type _encoding_TextUnmarshaler struct {
IValue interface {}
WUnmarshalText func (text []byte ) error
}
func (W _encoding_TextUnmarshaler ) UnmarshalText (text []byte ) error {
return W .WUnmarshalText (text )
}
The pages are generated with Golds v0.8.4 . (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu .
PR and bug reports are welcome and can be submitted to the issue list .
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds .