(start, end int)
| 458 | } |
| 459 | |
| 460 | func (b *ByteBuffer) GetByteSlice(start, end int) []byte { |
| 461 | return b.data[start:end] |
| 462 | } |
| 463 | |
| 464 | func (b *ByteBuffer) Slice(start, length int) *ByteBuffer { |
| 465 | return NewByteBuffer(b.data[start : start+length]) |
no outgoing calls