oops, less said the better
This commit is contained in:
parent
64a433fd15
commit
c6072c683b
@ -241,7 +241,7 @@ module Register
|
|||||||
end
|
end
|
||||||
|
|
||||||
def pad_to length
|
def pad_to length
|
||||||
length += length + 2 # for header, type and layout
|
length += 2 # for header, type and layout
|
||||||
pad = padded(length) - length
|
pad = padded(length) - length
|
||||||
pad.times do
|
pad.times do
|
||||||
@stream.write_uint32(0)
|
@stream.write_uint32(0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user