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

Method unsafePutInt32

go/fory/buffer.go:1450–1452  ·  view source on GitHub ↗
(index int, v int32)

Source from the content-addressed store, hash-verified

1448}
1449
1450func (b *ByteBuffer) unsafePutInt32(index int, v int32) {
1451 binary.LittleEndian.PutUint32(b.data[index:], uint32(v))
1452}
1453
1454func (b *ByteBuffer) unsafePutInt64(index int, v uint64) {
1455 binary.LittleEndian.PutUint64(b.data[index:], v)

Callers 2

continuePutVarint36Method · 0.95

Calls 1

uint32Function · 0.50

Tested by

no test coverage detected