You've already forked json-iterator
mirror of
https://github.com/json-iterator/go.git
synced 2025-06-15 22:50:24 +02:00
write object
This commit is contained in:
@ -421,4 +421,12 @@ func (stream *Stream) writeUint64SlowPath(val uint64) {
|
||||
}
|
||||
}
|
||||
stream.Write(temp[charPos:])
|
||||
}
|
||||
|
||||
func (stream *Stream) WriteInt(val int) {
|
||||
stream.WriteInt64(int64(val))
|
||||
}
|
||||
|
||||
func (stream *Stream) WriteUint(val uint) {
|
||||
stream.WriteUint64(uint64(val))
|
||||
}
|
Reference in New Issue
Block a user