You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see. So the other question would then be, whether it wouldn't actually be cleaner to get rid of pos as a parameter of method unpack and to call it with the minimal slice necessary for its job like, e.g., eh.unpack(b[pos:pos + 4]) and x.unpack(b[pos + 4:pos + int(eh.Length)]). But maybe that's also something for a future iteration of this package.
I see. So the other question would then be, whether it wouldn't actually be cleaner to get rid of
pos
as a parameter of methodunpack
and to call it with the minimal slice necessary for its job like, e.g.,eh.unpack(b[pos:pos + 4])
andx.unpack(b[pos + 4:pos + int(eh.Length)])
. But maybe that's also something for a future iteration of this package.Originally posted by @marcfrei in #12 (comment)
The text was updated successfully, but these errors were encountered: