MCPcopy Create free account
hub / github.com/pingcap/tidb / DecodeToBytesNoHandle

Method DecodeToBytesNoHandle

pkg/util/rowcodec/decoder.go:482–484  ·  view source on GitHub ↗

DecodeToBytesNoHandle decodes raw byte slice to row data without handle.

(outputOffset map[int64]int, value []byte)

Source from the content-addressed store, hash-verified

480
481// DecodeToBytesNoHandle decodes raw byte slice to row data without handle.
482func (decoder *BytesDecoder) DecodeToBytesNoHandle(outputOffset map[int64]int, value []byte) ([][]byte, error) {
483 return decoder.decodeToBytesInternal(outputOffset, nil, value, nil)
484}
485
486// DecodeToBytes decodes raw byte slice to row data.
487func (decoder *BytesDecoder) DecodeToBytes(outputOffset map[int64]int, handle kv.Handle, value []byte, cacheBytes []byte) ([][]byte, error) {

Callers 2

decodeRestoredValuesFunction · 0.80
decodeRestoredValuesV5Function · 0.80

Calls 1

decodeToBytesInternalMethod · 0.95

Tested by

no test coverage detected