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 8974a0f commit 6e0aad3Copy full SHA for 6e0aad3
src/binary_parser.cr
@@ -15,14 +15,14 @@ class BinaryParser
15
16
def save(filename : String)
17
io = File.open(filename, "w")
18
- save(io)
+ write(io)
19
end
20
21
def to_s(io : IO)
22
23
24
25
- def save(io : IO)
+ def write(io : IO)
26
{% for method in @type.methods %}
27
{% if method.name.starts_with?("_write_") %}
28
{{method.name}}(io)
@@ -37,7 +37,7 @@ class BinaryParser
37
38
39
def to_io(io : IO, format : IO::ByteFormat)
40
41
42
43
macro uint32(name)
0 commit comments