We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5095f01 + 67ec606 commit 8e7c270Copy full SHA for 8e7c270
src/reader.zig
@@ -7,11 +7,11 @@ const OutBuffer = types.OutBuffer;
7
const Error = @import("error.zig").Error;
8
9
pub const Reader = struct {
10
- memory: []u8,
+ memory: []const u8,
11
decompressor: Decompressor,
12
pos: usize = 0,
13
14
- pub fn init(memory: []u8) !@This() {
+ pub fn init(memory: []const u8) !@This() {
15
return .{
16
.memory = memory,
17
.decompressor = try Decompressor.init(.{}),
0 commit comments