Versions in this module Expand all Collapse all v0 v0.1.0 Apr 12, 2018 Changes in this version + var ErrInvalidLength = errors.New("ucs2: length must be even") + func Decode(src []byte) ([]rune, error) + func Encode(src []rune) []byte + type ErrDanglingSurrogate uint16 + func (e ErrDanglingSurrogate) Error() string + func (e ErrDanglingSurrogate) Surrogate() uint16