logic/parser/TableExcelExportBinary.cs
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Pipes;
using System.Linq;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text;
using System.Text.RegularExpressions;
namespace tablegen2.logic
{
public class TableExcelExportBinary
{
public static void appendFormatLine(StringBuilder sb, int indent, string fmtstr)
{
if (string.IsNullOrWhiteSpace(fmtstr.Trim()))
{
fmtstr = Regex.Replace(string.Empty, @"\s", "");
}
else
{
fmtstr = Regex.Replace(fmtstr, @"\s", "");
}
fmtstr = Regex.Replace(fmtstr, @"\t", "");
// sb.Append(new String('\t', indent));
//sb.Append(new String('\t', indent * 4));
sb.Append(fmtstr);
//sb.AppendLine();
}
public static void appendFormatLine(StringBuilder sb,string fmtstr)
{
if (string.IsNullOrWhiteSpace(fmtstr))
{
sb.Append(Regex.Replace(string.Empty, @"\s", ""));
}
else
{
sb.Append(Regex.Replace(fmtstr, @"\s", ""));
}
sb.Append("\t");
}
public static void appendLine(StringBuilder sb, bool line = true)
{
if (line)
后面还有 133 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。