public static unsafe void AppendPrimitive(this StringBuilder stringBuilder, long value) { char *buffer = stackalloc char[20]; var count = CharConverter.LongToUnicode(value, buffer, 20, 0); stringBuilder.Append(buffer, count); }
public void WriteLong(long l) { this.Reserve(20); this.usagebound += CharConverter.LongToUnicode(l, this.buffer, this.usagebound); }