MCPcopy Create free account
hub / github.com/Monibuca/engine / GetUintN

Method GetUintN

util/pool.go:290–295  ·  view source on GitHub ↗
(index int, n int)

Source from the content-addressed store, hash-verified

288}
289
290func (list *BLL) GetUintN(index int, n int) (result uint32) {
291 for i := 0; i < n; i++ {
292 result += uint32(list.GetByte(index+i)) << ((n - i - 1) << 3)
293 }
294 return
295}
296
297// func (b *Buffer) ToBuffers() (result net.Buffers) {
298// for p := b.Next; p != &b.ListItem; p = p.Next {

Callers 2

GetUint24Method · 0.95
WriteAVCCVideoMethod · 0.80

Calls 1

GetByteMethod · 0.95

Tested by

no test coverage detected