Source File
w_int.go
Belonging Package
github.com/go-faster/jx
package jx// Int encodes int.func ( *Writer) ( int) bool {return .Int64(int64())}// UInt encodes uint.func ( *Writer) ( uint) bool {return .UInt64(uint64())}// UInt8 encodes uint8.func ( *Writer) ( uint8) bool {// v is always smaller than digits size (1000)return writeFirstBuf(, digits[])}// Int8 encodes int8.func ( *Writer) ( int8) ( bool) {var uint8if < 0 {= uint8(-)= .byte('-')} else {= uint8()}return || .UInt8()}
![]() |
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. |