Changeset 14248 in project


Ignore:
Timestamp:
04/14/09 19:02:47 (11 years ago)
Author:
Jim Ursetto
Message:

Changes applied for zbigniew (71.201.84.72) through svnwiki:

base64: update wiki

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/base64

    r12880 r14248  
    44== Description
    55
    6 Parsing and unparsing of base64 strings.
     6Encoding and decoding of base64 strings.
    77
    88== Documentation
    99
    10  '''procedure:''' (encode STRING)
     10 '''procedure:''' (base64-encode STRING)
    1111
    1212Returns {{STRING}} encoded as base64 text (a string).
    1313
    14  '''procedure:''' (decode STRING)
     14 '''procedure:''' (base64-decode STRING)
    1515
    1616Returns the decoded string from the base64 data {{STRING}}.
     
    2020<examples><example>
    2121<init>
    22 (require-library base64)
    23 (import (prefix base64 base64:))
     22(require-extension base64)
    2423</init>
    2524<expr>
    2625(define s "thequickbrownfoxjumpsoverthelazydog")
    27 (base64:encode s)
     26(base64-encode s)
    2827</expr>
    2928<result>
     
    3130</result>
    3231<expr>
    33 (base64:decode (base64:encode s))
     32(base64-decode (base64-encode s))
    3433</expr>
    3534<result>
     
    4241=== Author
    4342
    44 * James Bailey, ported to CHICKEN by felix
    45 * Converted to C by [[http://3e8.org/zb|Zbigniew]]
     43* Bigloo code by James Bailey
     44* Ported to CHICKEN by felix
     45* Optimized 3.0 implementation by Jim Ursetto
    4646
    4747=== Version history
    4848
     49; 3.0 : API change, reimplement in Scheme
    4950; 2.2 : Fix encoding problem with chars > 127 [zb]
    5051; 2.1 : Ported to hygienic Chicken [[[Peter Bex]]]
     
    5859
    5960 Copyright (c) 2004 James Bailey.
    60  Copyright (c) 2008 Jim Ursetto.
     61 Copyright (c) 2009 Jim Ursetto.
    6162 
    6263 Permission is hereby granted, free of charge, to any person obtaining a
Note: See TracChangeset for help on using the changeset viewer.