Documentation
¶
Index ¶
Constants ¶
View Source
const ( StringUtf16 = ValueType(iota) Signed32 Float Double Unsigned32 Bool Unsigned64 Signed64 StringUtf8 )
Variables ¶
This section is empty.
Functions ¶
func MarshalText ¶
func MarshalTextLines ¶
Types ¶
type TextDecoder ¶
type TextDecoder struct {
// contains filtered or unexported fields
}
func NewTextDecoder ¶
func NewTextDecoder(r io.Reader) *TextDecoder
func (*TextDecoder) Decode ¶
func (decoder *TextDecoder) Decode(v any) error
func (*TextDecoder) Err ¶
func (decoder *TextDecoder) Err() error
func (*TextDecoder) Next ¶
func (decoder *TextDecoder) Next() bool
func (*TextDecoder) Token ¶
func (decoder *TextDecoder) Token() (Token, error)
type TextEncoder ¶
type TextEncoder struct {
// contains filtered or unexported fields
}
func NewTextEncoder ¶
func NewTextEncoder(w io.Writer, delim ...string) *TextEncoder
func (*TextEncoder) Encode ¶
func (encoder *TextEncoder) Encode(v any) error
type Token ¶
func (*Token) TrimmedValue ¶
type TokenError ¶
func (*TokenError) Error ¶
func (err *TokenError) Error() string
func (*TokenError) Unwrap ¶
func (err *TokenError) Unwrap() error
type Utf16String ¶
type Utf16String []uint16
func StringToUtf16 ¶
func StringToUtf16(s string) Utf16String
func (Utf16String) String ¶
func (s Utf16String) String() string
Click to show internal directories.
Click to hide internal directories.