@@ -491,17 +491,17 @@ extension Base64 {
491
491
let target = UnsafeMutableBufferPointer ( start: other, count: outputLength)
492
492
var length = outputLength
493
493
if options. contains ( . ignoreUnknownCharacters) {
494
- try Self . _decodeChromiumIgnoringErrors ( from: inBuffer, into: target, length: & length, options: options)
494
+ try Self . _decodeIgnoringErrors ( from: inBuffer, into: target, length: & length, options: options)
495
495
} else {
496
496
// for whatever reason I can see this being 10% faster for larger payloads. Maybe better
497
497
// branch prediction?
498
- try self . _decodeChromium ( from: inBuffer, into: target, length: & length, options: options)
498
+ try self . _decode ( from: inBuffer, into: target, length: & length, options: options)
499
499
}
500
500
501
501
return Data ( bytesNoCopy: pointer!, count: length, deallocator: . free)
502
502
}
503
503
504
- static func _decodeChromium (
504
+ static func _decode (
505
505
from inBuffer: UnsafeBufferPointer < UInt8 > ,
506
506
into outBuffer: UnsafeMutableBufferPointer < UInt8 > ,
507
507
length: inout Int ,
@@ -581,7 +581,7 @@ extension Base64 {
581
581
}
582
582
}
583
583
584
- static func _decodeChromiumIgnoringErrors (
584
+ static func _decodeIgnoringErrors (
585
585
from inBuffer: UnsafeBufferPointer < UInt8 > ,
586
586
into outBuffer: UnsafeMutableBufferPointer < UInt8 > ,
587
587
length: inout Int ,
0 commit comments