开发者

Reading a dat file in C# [closed]

It's difficult to tell what is being asked here. This question is ambiguous,开发者_运维百科 vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

I've tried several ways to open an OTB file (otb files is like dat files), but I can't find out how.. Here's what I tried latest: http://pastebin.com/vXFN1pmV

Question is: How do you open and read a .dat file in C#? It probably has ASCII characters. Thanks


If you want to read the whole file into a string, you can use File.ReadAllText(). If you want to read a binary file into a byte[], use File.ReadAllBytes().


OTB file seems (according to this link) Nokia Over The Air Bitmap Image.
Use apps described in that link to open it...

If you want to print out result, try this BitConverter.ToString(Bytes);

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜