(index int)
| 271 | } |
| 272 | |
| 273 | func (list *BLL) GetByte(index int) (b byte) { |
| 274 | list.Range(func(item Buffer) bool { |
| 275 | l := item.Len() |
| 276 | if index < l { |
| 277 | b = item[index] |
| 278 | return false |
| 279 | } |
| 280 | index -= l |
| 281 | return true |
| 282 | }) |
| 283 | return |
| 284 | } |
| 285 | |
| 286 | func (list *BLL) GetUint24(index int) uint32 { |
| 287 | return list.GetUintN(index, 3) |
no test coverage detected