MCPcopy Create free account
hub / github.com/datastax/cql-proxy / Position

Method Position

codecs/reader.go:23–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21}
22
23func (r *FrameBodyReader) Position() int64 {
24 pos, _ := r.Seek(0, io.SeekCurrent) // Doesn't fail
25 return pos
26}
27
28func (r *FrameBodyReader) BytesSince(pos int64) []byte {
29 return r.Body[pos:r.Position()]

Callers 3

BytesSinceMethod · 0.95
RemainingBytesMethod · 0.95
DecodeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected