Snippets tagged conversion

  • hexdump (somewhat fast)

    Simple functions to display a hex dump of a byte array using sequence expressions, with ASCII. Rewrote naive version that used string concat, based on optimizations in http://fssnip.net/ht, and cleaned up ASCII formatting.

    2 people like this

    Posted: 11 years ago by Matthew H. Traylor

  • toBase26

    Function that converts a base 10 number into a base 26 (digits from the English alphabet) one. A=1, B=2, ..., Z=0

    1 people like this

    Posted: 10 years ago by Lars Wilhelmsen