Skip to content

libsodium.UnpadData

Andrew Lambert edited this page Nov 26, 2022 · 3 revisions

libsodium.UnpadData

Method Signature

 Protected Sub UnpadData(ByRef Data As MemoryBlock, BlockSize As UInt32)

Parameters

Name Type Comment
Data MemoryBlock The memory to be unpadded.
BlockSize UInt32 The size of the blocks (See remarks)

Remarks

This method removes the padding that was applied by the PadData method. If the Data is not padded then an exception will be raised.

Clone this wiki locally