mirror of
https://github.com/urbit/shrub.git
synced 2024-12-24 03:14:30 +03:00
Merge pull request #6834 from urbit/develop
Merge develop into next/kelvin/411
This commit is contained in:
commit
00a7ed05db
@ -4298,8 +4298,11 @@
|
|||||||
~&(%base-64-padding-err-two ~)
|
~&(%base-64-padding-err-two ~)
|
||||||
=/ len (sub (mul 3 (div (add lat dif) 4)) dif)
|
=/ len (sub (mul 3 (div (add lat dif) 4)) dif)
|
||||||
:+ ~ len
|
:+ ~ len
|
||||||
%+ swp 3
|
=/ res (rsh [1 dif] (rep [0 6] (flop dat)))
|
||||||
(rep [0 6] (flop (weld dat (reap dif 0))))
|
=/ amt (met 3 res)
|
||||||
|
:: left shift trailing zeroes in after byte swap
|
||||||
|
=/ trl ?: (lth len amt) 0 (sub len amt)
|
||||||
|
(lsh [3 trl] (swp 3 res))
|
||||||
--
|
--
|
||||||
--
|
--
|
||||||
::
|
::
|
||||||
|
Loading…
Reference in New Issue
Block a user