Mercurial Hosting > luan
diff src/luan/modules/Binary.luan @ 1472:60f6741f000a
base64_encode
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 17 Apr 2020 11:16:38 -0600 |
parents | 580ee513a4b7 |
children | 70a55f49b98e |
line wrap: on
line diff
--- a/src/luan/modules/Binary.luan Tue Apr 14 20:20:45 2020 -0600 +++ b/src/luan/modules/Binary.luan Fri Apr 17 11:16:38 2020 -0600 @@ -6,7 +6,7 @@ local Binary = {} Binary.base64_decode = Base64.getDecoder().decode -Binary.base64_encode = Base64.getEncoder().encode +Binary.base64_encode = Base64.getEncoder().encodeToString Binary.binary = BinaryLuan.binary Binary.byte = BinaryLuan.byte_ Binary.to_string = BinaryLuan.to_string