|
-
May 25th, 2010, 06:04 PM
#7
Re: StreamReader.PeekLine
With the different character encodings out there (utf8, utf16, ascii) you cannot reliably seek forward and backward in the stream once you have surrogate characters. Bear that in mind before you try to implement a generic seeking solution. You've already gotten full solutions in your other thread so there's no point in explaining anything new here
www.monotorrent.com For all your .NET bittorrent needs
NOTE: My code snippets are just snippets. They demonstrate an idea which can be adapted by you to solve your problem. They are not 100% complete and fully functional solutions equipped with error handling.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|