PC Review


Reply
Thread Tools Rate Thread

in C# fastest way to convert a string into a MemoryStream

 
 
Daniel
Guest
Posts: n/a
 
      3rd Aug 2005
in C# fastest way to convert a string into a MemoryStream



 
Reply With Quote
 
 
 
 
Daniel O'Connell [C# MVP]
Guest
Posts: n/a
 
      3rd Aug 2005

"Daniel" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> in C# fastest way to convert a string into a MemoryStream


Use the encoding you want to use for your written string, call GetBytes, and
create a new memory stream using the returned buffer.


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fastest way to convert an object to a string Buddy Home Microsoft C# .NET 15 1st Dec 2006 09:27 PM
How to convert a string to MemoryStream ad Microsoft C# .NET 4 14th Jul 2006 08:19 AM
in C# fastest way to convert a string into a MemoryStream Daniel Microsoft Dot NET 5 3rd Aug 2005 05:32 PM
in C# fastest way to convert a string into a MemoryStream Octavio Hernandez Microsoft C# .NET 2 3rd Aug 2005 07:38 AM
Convert memoryStream to unicode string =?Utf-8?B?RWRp?= Microsoft Dot NET Framework 1 25th Jul 2005 01:42 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:37 AM.