converting byte array to string

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Uzi

    #1

    converting byte array to string

    Hi!

    i have a memorystream object that has a byte array representing a sting.

    How do i tranform the byte array into a string.


    Thanks,
    Uzi


  • Jon Skeet

    #2
    Re: converting byte array to string

    Uzi <uzib@postil.co m> wrote:[color=blue]
    > i have a memorystream object that has a byte array representing a sting.
    >
    > How do i tranform the byte array into a string.[/color]

    Use an appropriate System.Text.Enc oding instance. See
    Pobox has been discontinued as a separate service, and all existing customers moved to the Fastmail platform.


    --
    Jon Skeet - <skeet@pobox.co m>
    Pobox has been discontinued as a separate service, and all existing customers moved to the Fastmail platform.

    If replying to the group, please do not mail me too

    Comment

    • Serdar YILMAZ

      #3
      Re: converting byte array to string

      new String(byte_arr ay);

      "Uzi" <uzib@postil.co m> wrote in message
      news:ea4k0G2VDH A.2544@tk2msftn gp13.phx.gbl...[color=blue]
      > Hi!
      >
      > i have a memorystream object that has a byte array representing a sting.
      >
      > How do i tranform the byte array into a string.
      >
      >
      > Thanks,
      > Uzi
      >
      >[/color]


      Comment

      Working...