type github.com/go-faster/jx.Encoder
59 uses
github.com/go-faster/jx (current package)
enc.go#L8: type Encoder struct {
enc.go#L29: func (e *Encoder) Write(p []byte) (n int, err error) {
enc.go#L34: func (e *Encoder) WriteTo(w io.Writer) (n int64, err error) {
enc.go#L39: func (e *Encoder) SetIdent(n int) {
enc.go#L44: func (e Encoder) String() string {
enc.go#L51: func (e *Encoder) Reset() {
enc.go#L57: func (e *Encoder) ResetWriter(out io.Writer) {
enc.go#L63: func (e *Encoder) Grow(n int) {
enc.go#L68: func (e Encoder) Bytes() []byte { return e.w.Buf }
enc.go#L71: func (e *Encoder) SetBytes(buf []byte) { e.w.Buf = buf }
enc.go#L74: func (e *Encoder) byte(c byte) bool {
enc.go#L79: func (e *Encoder) RawStr(v string) bool {
enc.go#L85: func (e *Encoder) Raw(b []byte) bool {
enc.go#L91: func (e *Encoder) Null() bool {
enc.go#L97: func (e *Encoder) Bool(v bool) bool {
enc.go#L105: func (e *Encoder) ObjStart() (fail bool) {
enc.go#L116: func (e *Encoder) FieldStart(field string) (fail bool) {
enc.go#L130: func (e *Encoder) Field(name string, f func(e *Encoder)) (fail bool) {
enc.go#L140: func (e *Encoder) ObjEnd() bool {
enc.go#L146: func (e *Encoder) ObjEmpty() bool {
enc.go#L155: func (e *Encoder) Obj(f func(e *Encoder)) (fail bool) {
enc.go#L168: func (e *Encoder) ArrStart() (fail bool) {
enc.go#L175: func (e *Encoder) ArrEmpty() bool {
enc.go#L184: func (e *Encoder) ArrEnd() bool {
enc.go#L193: func (e *Encoder) Arr(f func(e *Encoder)) (fail bool) {
enc.go#L203: func (e *Encoder) writeIndent() (fail bool) {
enc_b64.go#L6: func (e *Encoder) Base64(data []byte) bool {
enc_comma.go#L4: func (e *Encoder) begin() {
enc_comma.go#L9: func (e *Encoder) end() {
enc_comma.go#L16: func (e *Encoder) current() int { return len(e.first) - 1 }
enc_comma.go#L19: func (e *Encoder) comma() bool {
enc_float.go#L6: func (e *Encoder) Float32(v float32) bool {
enc_float.go#L14: func (e *Encoder) Float64(v float64) bool {
enc_int.go#L4: func (e *Encoder) Int(v int) bool {
enc_int.go#L10: func (e *Encoder) UInt(v uint) bool {
enc_int.go#L16: func (e *Encoder) UInt8(v uint8) bool {
enc_int.go#L22: func (e *Encoder) Int8(v int8) bool {
enc_num.go#L4: func (e *Encoder) Num(v Num) bool {
enc_str.go#L7: func (e *Encoder) Str(v string) bool {
enc_str.go#L16: func (e *Encoder) ByteStr(v []byte) bool {
enc_str_escape.go#L4: func (e *Encoder) StrEscape(v string) bool {
enc_str_escape.go#L10: func (e *Encoder) ByteStrEscape(v []byte) bool {
enc_stream.go#L11: func NewStreamingEncoder(w io.Writer, bufSize int) *Encoder {
enc_stream.go#L18: return &Encoder{
enc_stream.go#L28: func (e *Encoder) Close() error {
jx.go#L19: return &Encoder{}
jx.go#L46: func GetEncoder() *Encoder {
jx.go#L47: return encPool.Get().(*Encoder)
jx.go#L51: func PutEncoder(e *Encoder) {
w_int.gen.go#L52: func (e *Encoder) UInt16(v uint16) bool {
w_int.gen.go#L69: func (e *Encoder) Int16(v int16) bool {
w_int.gen.go#L109: func (e *Encoder) UInt32(v uint32) bool {
w_int.gen.go#L126: func (e *Encoder) Int32(v int32) bool {
w_int.gen.go#L202: func (e *Encoder) UInt64(v uint64) bool {
w_int.gen.go#L219: func (e *Encoder) Int64(v int64) bool {
github.com/gotd/td/internal/crypto
key.go#L89: func (a AuthKey) EncodeJSON(e *jx.Encoder) error {
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |