Re: Fastest way to convert an object to a string

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I can't tell you if it's faster, but you may want to check out
BitConverter.ToString()...

On Nov 29, 2:41 pm, "Buddy Home" <BuddyH...@xxxxxxxx> wrote:
Thanks for the reply,

First may I say that the object is converted to a byte array via
BinaryStream using serialization. I use the MemoryStream to store the data.

I'm already aware how StringBuilders works and know that using the String
object to manupulate the string is expensive.

My main question is that does anyone know a better way to do this.


.



Relevant Pages

  • Re: Storing a value for later use in vba or a Macro
    ... Dim strCurrentCustomer as String ... do you programmatically store a value from one record to use in ...
    (microsoft.public.access.gettingstarted)
  • Re: Storing wave files in database
    ... analyse them and store everything in some sort of database. ... You don't store the Wave files in the database. ... ByVal lpOperation As String, _ ... Dim lRet As Long, varTaskID As Variant ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Question about a data structure
    ... I'll store the ... string, it could just be a simgle 150 character string. ... , personally, I'd avoid 'stringing' together responses. ...
    (alt.php)
  • RE: adding data to a file before it gets regexed
    ... The reasion I am trying to add the string to the line, is so that I can use ... it is not a good idea to store entire files in memory and it is really ... the arrays are the contents of the files broken down by lines. ... Any opinion expressed in this e-mail is personal to the sender ...
    (perl.beginners)
  • Re: Java Applet saving results on home server
    ... I can also store the results to a string and write that to a ... that has some data structures to store all the things I need, ... This puts you right back into your original question. ... I've got a problem with the Jakarta ftp client. ...
    (comp.lang.java.help)