File tree 2 files changed +9
-1
lines changed
2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 632
632
REBINT x , loop ;
633
633
634
634
len = VAL_LEN (value );
635
- src = VAL_BIN (value );
635
+ src = VAL_BIN_DATA (value );
636
636
637
637
const REBYTE * table ;
638
638
if (urlSafe ) {
Original file line number Diff line number Diff line change @@ -27,6 +27,14 @@ Rebol [
27
27
--test-- "enbase-14" --assert "666F6F626172" = enbase /base "foobar" 16
28
28
===end-group===
29
29
30
+ ===start-group=== "enbase with position not at head"
31
+ ;@@ https://github.com/rebol/rebol-issues/issues/319
32
+ bin: #{ FF00FF00 }
33
+ --test-- "enbase-2" --assert #{ 00FF00 } = debase /base enbase /base next bin 2 2
34
+ --test-- "enbase-16" --assert #{ 00FF00 } = debase /base enbase /base next bin 16 16
35
+ --test-- "enbase-64" --assert #{ 00FF00 } = debase enbase next bin
36
+ ===end-group===
37
+
30
38
===start-group=== "debase 64"
31
39
32
40
--test-- "debase 64 1"
You can’t perform that action at this time.
0 commit comments