MCPcopy Create free account
hub / github.com/chronoxor/FastBinaryEncoding / ReadUInt8

Function ReadUInt8

projects/Go/proto/fbe/Buffer.go:222–224  ·  view source on GitHub ↗

Read unsigned 8-bits integer from the buffer

(buffer []byte, offset int)

Source from the content-addressed store, hash-verified

220
221// Read unsigned 8-bits integer from the buffer
222func ReadUInt8(buffer []byte, offset int) uint8 {
223 return uint8(buffer[offset])
224}
225
226// Read signed 16-bits integer from the buffer
227func ReadInt16(buffer []byte, offset int) int16 {

Callers 15

GetMethod · 0.85
GetMethod · 0.85
GetMethod · 0.85
GetMethod · 0.85
GetMethod · 0.85
GetMethod · 0.85
ReadCharMethod · 0.85
GetMethod · 0.85
VerifyMethod · 0.85
VerifyMethod · 0.85

Calls

no outgoing calls

Tested by 2

GetMethod · 0.68
GetMethod · 0.68