Click here to Skip to main content
15,894,017 members
Home / Discussions / C#
   

C#

 
GeneralRe: encoding and decoding in BASE 10 Pin
AspDotNetDev14-Sep-10 11:22
protectorAspDotNetDev14-Sep-10 11:22 
GeneralRe: encoding and decoding in BASE 10 Pin
stephen.darling14-Sep-10 12:11
stephen.darling14-Sep-10 12:11 
GeneralRe: encoding and decoding in BASE 10 Pin
T M Gray14-Sep-10 12:17
T M Gray14-Sep-10 12:17 
GeneralRe: encoding and decoding in BASE 10 Pin
Luc Pattyn14-Sep-10 12:28
sitebuilderLuc Pattyn14-Sep-10 12:28 
GeneralRe: encoding and decoding in BASE 10 Pin
stephen.darling14-Sep-10 12:50
stephen.darling14-Sep-10 12:50 
GeneralRe: encoding and decoding in BASE 10 [modified] Pin
Luc Pattyn14-Sep-10 13:27
sitebuilderLuc Pattyn14-Sep-10 13:27 
GeneralRe: encoding and decoding in BASE 10 Pin
stephen.darling14-Sep-10 13:36
stephen.darling14-Sep-10 13:36 
GeneralRe: encoding and decoding in BASE 10 Pin
Luc Pattyn14-Sep-10 13:43
sitebuilderLuc Pattyn14-Sep-10 13:43 
You lost me again. Do you have to implement what is in the text, or are you just looking for a working approach?

Anyway, they may actually have a 136-bit number in there, although I suspect they invented that to explain things more easily (i.e. I think they give a mathematical expose, not a code explanation).

What I proposed is, for 2N bytes, you have N 5-digit numbers; you never hold an overall number. You do have a string containing those N 5-digit numbers and some spaces, if that is the format you choose. It takes some string operations to aggregate that (and later split it again).

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.


GeneralRe: encoding and decoding in BASE 10 Pin
stephen.darling14-Sep-10 14:05
stephen.darling14-Sep-10 14:05 
GeneralRe: encoding and decoding in BASE 10 Pin
AspDotNetDev14-Sep-10 14:34
protectorAspDotNetDev14-Sep-10 14:34 
GeneralRe: encoding and decoding in BASE 10 Pin
stephen.darling14-Sep-10 14:57
stephen.darling14-Sep-10 14:57 
GeneralRe: encoding and decoding in BASE 10 Pin
federico.strati15-Sep-10 3:11
federico.strati15-Sep-10 3:11 
GeneralRe: encoding and decoding in BASE 10 Pin
harold aptroot15-Sep-10 4:46
harold aptroot15-Sep-10 4:46 
GeneralRe: encoding and decoding in BASE 10 Pin
Luc Pattyn15-Sep-10 5:04
sitebuilderLuc Pattyn15-Sep-10 5:04 
Questiondynamic jpg photo Pin
benams14-Sep-10 9:45
benams14-Sep-10 9:45 
AnswerRe: dynamic jpg photo Pin
Pete O'Hanlon14-Sep-10 10:04
mvePete O'Hanlon14-Sep-10 10:04 
AnswerRe: dynamic jpg photo Pin
Luc Pattyn14-Sep-10 10:22
sitebuilderLuc Pattyn14-Sep-10 10:22 
AnswerRe: dynamic jpg photo Pin
T M Gray14-Sep-10 10:36
T M Gray14-Sep-10 10:36 
AnswerRe: dynamic jpg photo Pin
AspDotNetDev14-Sep-10 11:12
protectorAspDotNetDev14-Sep-10 11:12 
GeneralRe: dynamic jpg photo Pin
Luc Pattyn14-Sep-10 11:27
sitebuilderLuc Pattyn14-Sep-10 11:27 
QuestionPhones validator. Pin
Evgeni5714-Sep-10 9:37
Evgeni5714-Sep-10 9:37 
AnswerRe: Phones validator. Pin
T M Gray14-Sep-10 10:06
T M Gray14-Sep-10 10:06 
QuestionLINQ to SQL - Design Pattern Pin
brunoseixas14-Sep-10 8:09
brunoseixas14-Sep-10 8:09 
AnswerRe: LINQ to SQL - Design Pattern Pin
Ennis Ray Lynch, Jr.14-Sep-10 8:23
Ennis Ray Lynch, Jr.14-Sep-10 8:23 
GeneralRe: LINQ to SQL - Design Pattern Pin
OriginalGriff14-Sep-10 8:35
mveOriginalGriff14-Sep-10 8:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.