use public decode in lazy array

main
Matthew Butterick 6 years ago
parent 6e3c4b52b9
commit 6961d539fe

@ -28,7 +28,7 @@ https://github.com/mbutterick/restructure/blob/master/src/LazyArray.coffee
(define orig-pos (pos port))
(pos port (+ stream-starting-pos (* (send @type x:size #f new-parent) index)))
(begin0
(send @type x:decode port new-parent)
(send @type decode port new-parent)
(pos port orig-pos)))
(pos port (+ (pos port) (* len (send @type x:size #f new-parent))))))

Loading…
Cancel
Save