MCPcopy Create free account
hub / github.com/cloudreve/cloudreve / InputOffset

Method InputOffset

pkg/webdav/internal/xml/xml.go:912–914  ·  view source on GitHub ↗

InputOffset returns the input stream byte offset of the current decoder position. The offset gives the location of the end of the most recently returned token and the beginning of the next token.

()

Source from the content-addressed store, hash-verified

910// The offset gives the location of the end of the most recently returned token
911// and the beginning of the next token.
912func (d *Decoder) InputOffset() int64 {
913 return d.offset
914}
915
916// Return saved offset.
917// If we did ungetc (nextByte >= 0), have to back up one.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected