Skip to content

Commit aaa9d75

Browse files
committed
Change ByteReader.ptr to let-property
1 parent 89993bd commit aaa9d75

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/ByteReader.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public class ByteReader {
2525
}
2626

2727
var _offset: Int
28-
var ptr: UnsafeBufferPointer<UInt8>
28+
let ptr: UnsafeBufferPointer<UInt8>
2929
private let dataStartIndex: Int // For efficient (without access to `data`) implementation of `offset`.
3030

3131
/**

0 commit comments

Comments
 (0)