Documentation ¶
Overview ¶
Package cryptoutil provides the utilities abstract utilities that can be used in NeoFS cryptography.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Buffer ¶
Buffer gets buffer with length sz from sync.Pool or allocates new one via make.
Buffer can be returned to pool via ReleaseBuffer.
func ReleaseBuffer ¶
func ReleaseBuffer(buf []byte)
ReleaseBuffer returns the buffer to the sync.Pool.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.