objectGetDataRange returns the [begin, end) subslice of the object's data.
(begin, end int)
| 302 | |
| 303 | // objectGetDataRange returns the [begin, end) subslice of the object's data. |
| 304 | func (j *jsonEncoded) objectGetDataRange(begin, end int) []byte { |
| 305 | dataStart := containerHeaderLen + j.containerLen*jEntryLen*2 |
| 306 | return j.value[dataStart+begin : dataStart+end] |
| 307 | } |
| 308 | |
| 309 | // getNthEntryBounds returns the beginning, ending, and JEntry of the nth entry |
| 310 | // in the container. If the container is an object, the i-th entry is the i-th |
no outgoing calls
no test coverage detected