byte[] rawSymbolStore = loadFile(path);
string x = "";
int ArraySize = new int();
ArraySize = rawSymbolStore.GetUpperBound(0);
System.Text.Encoding en = System.Text.Encoding.UTF8;
x = en.GetString(rawSymbolStore,0,ArraySize);
x = "";
}
回1楼,是打算每次就读一部分,我的一个90M的文档,解析后有200多万条数据,问题是没什么头绪
回2楼, Dim fs As New IO.FileStream(Me.Text, IO.FileMode.Open)
Dim bf As New IO.BinaryReader(fs)
是用FILESTREAM读,问题是我文件里每条数据的长度不固定,头9个字节固定,第九个字节的内容表示之后还需要多少个字节