lib/src-generic/Base64.rb in wirispluginengine-3.62.0.1322 vs lib/src-generic/Base64.rb in wirispluginengine-7.14.0.1422
- old
+ new
@@ -1,15 +1,15 @@
-require 'base64'
-
-module Wiris
- class Base64
- def initialize()
- end
- def encodeBytes(b)
- #Using '::' to call Base64 module out of the Wiris module scope.
- return Bytes.ofString(::Base64::strict_encode64(b.toString()))
- end
-
- def decodeBytes(b)
- end
- end
+require 'base64'
+
+module Wiris
+ class Base64
+ def initialize()
+ end
+ def encodeBytes(b)
+ #Using '::' to call Base64 module out of the Wiris module scope.
+ return Bytes.ofString(::Base64::strict_encode64(b.toString()))
+ end
+
+ def decodeBytes(b)
+ end
+ end
end
\ No newline at end of file