Indicates that all required data is now available to calculate and check the field. SaveOffset is guaranteed to have been called first. The implementation should read ReserveLength() bytes of data from the saved offset, and verify it based on the data between the saved offset and curOffset.
(curOffset int, buf []byte)
| 69 | // SaveOffset is guaranteed to have been called first. The implementation should read ReserveLength() bytes |
| 70 | // of data from the saved offset, and verify it based on the data between the saved offset and curOffset. |
| 71 | check(curOffset int, buf []byte) error |
| 72 | } |
| 73 | |
| 74 | // dynamicPushDecoder extends the interface of pushDecoder for uses cases where the length of the |