MCPcopy Create free account
hub / github.com/apache/fory / ReadInt32

Method ReadInt32

go/fory/buffer.go:385–387  ·  view source on GitHub ↗

ReadInt32 reads an int32 and sets error on bounds violation

(err *Error)

Source from the content-addressed store, hash-verified

383
384// ReadInt32 reads an int32 and sets error on bounds violation
385func (b *ByteBuffer) ReadInt32(err *Error) int32 {
386 return int32(b.ReadUint32(err))
387}
388
389// ReadInt64 reads an int64 and sets error on bounds violation
390func (b *ByteBuffer) ReadInt64(err *Error) int64 {

Callers 15

testBufferFunction · 0.95
ReadInt32SliceFunction · 0.45
ReadUint32SliceFunction · 0.45
ReadIntSliceFunction · 0.45
ReadUintSliceFunction · 0.45
ReadDataMethod · 0.45
readNumericValueByTypeIDFunction · 0.45
readI32ToI64ScalarFunction · 0.45
readDirectIntegerScalarFunction · 0.45
ReadDataMethod · 0.45

Calls 2

ReadUint32Method · 0.95
int32Function · 0.50

Tested by 2

ReadDataMethod · 0.36