VersionHandlingException.enforceInputLength

Used to enforce that input is large enough to store version bytes and some offset.

class VersionHandlingException
void
enforceInputLength
(
S
)
(,
istring file = __FILE__
,
int line = __LINE__
)

Parameters

input_length size_t

size of input buffer

file istring

inferred

line int

inferred

Template Params

S

struct type that was attempted to be loaded

Meta