Added Writer::Number()
This commit is contained in:
parent
d2d5f6f919
commit
eeb13bdb4c
@ -171,6 +171,12 @@ public:
|
|||||||
*/
|
*/
|
||||||
bool Double(double d) { Prefix(kNumberType); return WriteDouble(d); }
|
bool Double(double d) { Prefix(kNumberType); return WriteDouble(d); }
|
||||||
|
|
||||||
|
bool Number(const Ch* str, SizeType length, bool copy = false) {
|
||||||
|
(void)copy;
|
||||||
|
Prefix(kNumberType);
|
||||||
|
return WriteString(str, length);
|
||||||
|
}
|
||||||
|
|
||||||
bool String(const Ch* str, SizeType length, bool copy = false) {
|
bool String(const Ch* str, SizeType length, bool copy = false) {
|
||||||
(void)copy;
|
(void)copy;
|
||||||
Prefix(kStringType);
|
Prefix(kStringType);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user