Actions
Task #1291
closedException-safe methods to determine size of the TLV block and whether a buffer has enough data for the block
Start date:
02/25/2014
Due date:
% Done:
100%
Estimated time:
Description
Currently, in all input parsing procedures rely on Block's constructor to either fully construct the block or throw an exception when either there is not enough data in the supplied buffer or (in some constructor versions) if there are more data than necessary.
This task is to create exception-safe method to perform checks before creating actual block. An exception-free version of the Block's constructor can then be used to create actual block, directly supplying its type and length (no additional checks should be performed).
Updated by Alex Afanasyev over 11 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 100
Updated by Alex Afanasyev over 11 years ago
- Status changed from In Progress to Code review
Updated by Alex Afanasyev over 11 years ago
- Status changed from Code review to Closed
Actions