Skip to content

Commit 61c9065

Browse files
committed
[FIX] Access modifiers fixed
1 parent 1b0787a commit 61c9065

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Sources/Crc.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import Foundation
99
import zlib
1010

11-
extension Data {
11+
public extension Data {
1212
var crc32: UInt32 {
1313
self.withUnsafeBytes { buffer in
1414
let crc = zlib.crc32(0, buffer.bindMemory(to: Bytef.self).baseAddress, uInt(buffer.count))

Sources/SeededRandomNumberGenerator.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77

88
import Foundation
99

10-
class SeededRandomNumberGenerator: RandomNumberGenerator {
11-
init(seed: Int) {
10+
public class SeededRandomNumberGenerator: RandomNumberGenerator {
11+
public init(seed: Int) {
1212
srand48(seed)
1313
}
1414

15-
func next() -> UInt64 {
15+
public func next() -> UInt64 {
1616
UInt64(drand48() * Double(UInt64.max))
1717
}
1818
}

0 commit comments

Comments
 (0)