objectGetDataRange returns the [begin, end) subslice of the object's data.
(begin, end int)
| 316 | |
| 317 | // objectGetDataRange returns the [begin, end) subslice of the object's data. |
| 318 | func (j *jsonEncoded) objectGetDataRange(begin, end int) []byte { |
| 319 | dataStart := containerHeaderLen + j.containerLen*jEntryLen*2 |
| 320 | return j.value[dataStart+begin : dataStart+end] |
| 321 | } |
| 322 | |
| 323 | // getNthEntryBounds returns the beginning, ending, and JEntry of the nth entry |
| 324 | // in the container. If the container is an object, the i-th entry is the i-th |
no outgoing calls
no test coverage detected