base64: inline the { 3 2 1 0 } [ -6 * ].
parent
568888c277
commit
3e7e47b9c0
|
@ -50,8 +50,8 @@ SYMBOL: column
|
||||||
|
|
||||||
: encode3 ( seq -- )
|
: encode3 ( seq -- )
|
||||||
column output-stream get '[
|
column output-stream get '[
|
||||||
swap be> { 3 2 1 0 } [
|
swap be> { -18 -12 -6 0 } [
|
||||||
-6 * shift 0x3f bitand ch>base64 _ write1-lines
|
shift 0x3f bitand ch>base64 _ write1-lines
|
||||||
] with each
|
] with each
|
||||||
] change ; inline
|
] change ; inline
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue