native
v1.15.5
github.com/bytedance/sonic/internal/native
Documentation
pkg.go.dev ↗Constants
MaxFrameSize
const MaxFrameSize uintptr = 400
Variables
S_f64toa (5 declarations)
var ( S_f64toa uintptr S_f32toa uintptr S_i64toa uintptr S_u64toa uintptr S_lspace uintptr )
S_quote (2 declarations)
var ( S_quote uintptr S_unquote uintptr )
S_value (5 declarations)
var ( S_value uintptr S_vstring uintptr S_vnumber uintptr S_vsigned uintptr S_vunsigned uintptr )
S_skip_one (6 declarations)
var ( S_skip_one uintptr S_skip_one_fast uintptr S_get_by_path uintptr S_skip_array uintptr S_skip_object uintptr S_skip_number uintptr )
Functions
F32toa
func F32toa(out *byte, val float32) (ret int)
F64toa
func F64toa(out *byte, val float64) (ret int)
GetByPath
func GetByPath(s *string, p *int, path *[]interface{}, m *types.StateMachine) int
HTMLEscape
func HTMLEscape(s unsafe.Pointer, nb int, dp unsafe.Pointer, dn *int) int
I64toa
func I64toa(out *byte, val int64) (ret int)
ParseWithPadding
func ParseWithPadding(parser unsafe.Pointer) (ret int)
Quote
func Quote(s unsafe.Pointer, nb int, dp unsafe.Pointer, dn *int, flags uint64) int
SkipOne
func SkipOne(s *string, p *int, m *types.StateMachine, flags uint64) int
SkipOneFast
func SkipOneFast(s *string, p *int) int
U64toa
func U64toa(out *byte, val uint64) (ret int)
Unquote
func Unquote(s unsafe.Pointer, nb int, dp unsafe.Pointer, ep *int, flags uint64) int
ValidateOne
func ValidateOne(s *string, p *int, m *types.StateMachine, flags uint64) int
ValidateUTF8
func ValidateUTF8(s *string, p *int, m *types.StateMachine) (ret int)
ValidateUTF8Fast
func ValidateUTF8Fast(s *string) (ret int)
Value
func Value(s unsafe.Pointer, n int, p int, v *types.JsonState, flags uint64) int