comp • gb.data • trieprefix • remove

TriePrefix.Remove (gb.data)

Sub Remove ( [ Length As Integer ] )

Remove bytes from the end of the prefix.

There is no way this function can fail since it removes Min(Len(hTriePrefix.Prefix), Length) bytes and if the TriePrefix was valid, the weaker prefix will also be valid.