ScpStreamParser.beginDataPhase

void beginDataPhase(ulong declaredSize)

Declares that exactly declaredSize data bytes follow an accepted header. A zero size skips the data phase entirely; the sender's terminator status record follows directly.

Parameters

declaredSizeData byte count from the accepted header.

Throws

ScpException when a partial record is buffered or a

data phase is already active.