func resetPayloadAt(_ at: Int, length: Int) {
        payload.resetBytes(in: at..<at+length)
    }