public void WriteString(string str, bool skipEscaping = false) { using (var lazyStr = _context.GetLazyString(str)) { WriteString(lazyStr, skipEscaping); } }
public void WriteString(string str) { using (var lazyStr = _context.GetLazyString(str)) { WriteString(lazyStr); } }
public LazyStringValue CloneOnSameContext() { if (_size == 0) { return(_context.Empty); } return(_context.GetLazyString(_buffer, _size, longLived: false)); }
public LazyStringValue Clone(JsonOperationContext context) { if (_size == 0) { return(context.Empty); } return(context.GetLazyString(_buffer, _size, longLived: false)); }
public LazyStringValue Clone(JsonOperationContext context) { return(context.GetLazyString(_buffer, _size)); }