MCPcopy
hub / github.com/OpenNHP/opennhp / Get

Method Get

nhp/core/packet.go:118–120  ·  view source on GitHub ↗

must be called after Init()

()

Source from the content-addressed store, hash-verified

116
117// must be called after Init()
118func (bp *PacketBufferPool) Get() *PacketBuffer {
119 return bp.pool.Get().(*PacketBuffer)
120}
121
122// must be called after Init()
123func (bp *PacketBufferPool) Put(packet *PacketBuffer) {

Callers 4

AllocatePoolPacketMethod · 0.45
GetEvidenceWithCCUrlFunction · 0.45
verifyCertChainMethod · 0.45
unmarshalFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected