Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. The Back Room
  4. Wasted 1/2 a day reinventing the wheel

Wasted 1/2 a day reinventing the wheel

Scheduled Pinned Locked Moved The Back Room
csharp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    HJB417
    wrote on last edited by
    #1

    I spent most of the day today making a bese64 encoder/decoder in c# and I just finished it now. 5 min l8r, I found out that .NET has a builtin class to encode/decode base64 strings. So many wasted hours =(. But both of our encoders/decoders work =)

    T 1 Reply Last reply
    0
    • H HJB417

      I spent most of the day today making a bese64 encoder/decoder in c# and I just finished it now. 5 min l8r, I found out that .NET has a builtin class to encode/decode base64 strings. So many wasted hours =(. But both of our encoders/decoders work =)

      T Offline
      T Offline
      thowra
      wrote on last edited by
      #2

      Oooo hard luck! I've also seen implementations of this in Java for encoding domain/user:password for proxy servers when you can just use: encodedString = "Basic " + new sun.misc.BASE64Encoder().encode(strToEncode.getBytes()); "The folly of man is that he dreams of what he can never achieve rather than dream of what he can."

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups