Skip to content

error in skipchars(BufferedInputStream) #57

@denius

Description

@denius

Hello!
I'm trying to parse a buffered file, but

skipchars(isspace, BufferedInputStream(IOBuffer(" test")))

yields ERROR: ArgumentError: n must be non-negative in skip(::BufferedInputStream, n) due to
https://github.com/BioJulia/BufferedStreams.jl/blob/b85ff82efcd95d3a4d72a4021f0833b579554bec/src/bufferedinputstream.jl#L126 which is different from Julia/base/iobuffer.jl

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions