We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f0ffe6 commit 514455cCopy full SHA for 514455c
runtime/runtime-core/common/src/aws/smithy/kotlin/runtime/text/encoding/Base64.kt
@@ -99,7 +99,6 @@ public fun String.decodeBase64Bytes(): ByteArray = encodeToByteArray().decodeBas
99
* Decode [ByteArray] from base64 format
100
*/
101
public fun ByteArray.decodeBase64(): ByteArray {
102
-
103
// Calculate the padding needed to make the length a multiple of 4
104
val remainder = size % 4
105
val encoded: ByteArray = if (remainder == 0) {
0 commit comments