Versions in this module Expand all Collapse all v0 v0.0.1 Nov 8, 2022 Changes in this version + func ReleaseRuntimeContext(ctx *RuntimeContext) + type Decoder interface + Decode func(*RuntimeContext, int64, int64, unsafe.Pointer) (int64, error) + DecodeStream func(*Stream, int64, unsafe.Pointer) error + func CompileToGetDecoder(typ *runtime.Type) (Decoder, error) + type Option struct + Context context.Context + Flags OptionFlags + type OptionFlags uint8 + const ContextOption + const FirstWinOption + type RuntimeContext struct + Buf []byte + Option *Option + func TakeRuntimeContext() *RuntimeContext + type Stream struct + DisallowUnknownFields bool + Option *Option + UseNumber bool + func NewStream(r io.Reader) *Stream + func (s *Stream) Buffered() io.Reader + func (s *Stream) More() bool + func (s *Stream) PrepareForDecode() error + func (s *Stream) Reset() + func (s *Stream) Token() (interface{}, error) + func (s *Stream) TotalOffset() int64