Skip to content

encoding/csv: add Reader.InputOffset method #43401

@ghost

Description

// InputOffset returns the input stream byte offset of the current reader
// position. The offset gives the location of the end of the most recently
// read row and the beginning of the next row. 
func (r *Reader) InputOffset() int64

encoding/json.Decoder already has a method like this:

https://golang.org/pkg/encoding/json/#Decoder.InputOffset

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions